clarion/db/migrate/20140807103632_create_speaker_profiles.rb
Petko Bordjukov 02059ad2a8 Introduce SpeakerProfile
All the personal data of the user that is not used for system
tasks (such as login) is held here.
2014-08-07 14:05:13 +03:00

18 lines
475 B
Ruby

class CreateSpeakerProfiles < ActiveRecord::Migration
def change
create_table :speaker_profiles do |t|
t.string :first_name, null: false
t.string :last_name, null: false
t.string :organisation
t.string :public_email
t.string :photo_url, null: false
t.string :mobile_phone, null: false
t.text :biography, null: false
t.string :github, null: false
t.string :twitter, null: false
t.timestamps
end
end
end