02059ad2a8
All the personal data of the user that is not used for system tasks (such as login) is held here.
18 lines
475 B
Ruby
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
|