thirteen-tien-len/db/migrate/20151125092802_create_seats.rb
2019-10-29 06:12:08 -07:00

11 lines
208 B
Ruby

class CreateSeats < ActiveRecord::Migration[5.2]
def change
create_table :seats do |t|
t.references :table, index: true
t.references :user, index: true
t.timestamps
end
end
end