Make open source
This commit is contained in:
13
db/migrate/20180325135427_create_plus_ones.rb
Normal file
13
db/migrate/20180325135427_create_plus_ones.rb
Normal file
@ -0,0 +1,13 @@
|
||||
class CreatePlusOnes < ActiveRecord::Migration[5.1]
|
||||
def change
|
||||
create_table :plus_ones do |t|
|
||||
t.references :guest, foreign_key: true
|
||||
t.string :name
|
||||
t.integer :diet
|
||||
t.string :other_diet
|
||||
t.boolean :child
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user