1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-05 16:24:21 +01:00
fab-manager/db/migrate/20140409153915_create_profiles.rb

18 lines
372 B
Ruby
Raw Normal View History

2015-05-05 03:10:25 +02:00
class CreateProfiles < ActiveRecord::Migration
def change
create_table :profiles do |t|
2016-03-23 18:39:41 +01:00
t.belongs_to :user, index: true
t.string :username
2015-05-05 03:10:25 +02:00
t.string :first_name
t.string :last_name
t.boolean :gender
t.date :birthday
t.string :phone
t.text :interest
t.text :software_mastered
2016-03-23 18:39:41 +01:00
2015-05-05 03:10:25 +02:00
t.timestamps
end
end
end