2018-05-07 16:47:29 -07:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
2014-07-31 18:49:46 +02:00
|
|
|
class CreateContacts < ActiveRecord::Migration
|
|
|
|
|
def change
|
|
|
|
|
create_table :contacts do |t|
|
|
|
|
|
t.string :social_tag
|
|
|
|
|
t.string :email
|
|
|
|
|
t.string :facebook
|
|
|
|
|
t.string :googleplus
|
|
|
|
|
t.string :twitter
|
|
|
|
|
t.string :instagram
|
|
|
|
|
|
|
|
|
|
t.boolean :public
|
|
|
|
|
t.integer :conference_id
|
|
|
|
|
|
|
|
|
|
t.timestamps
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
end
|