11 lines
203 B
Ruby
11 lines
203 B
Ruby
class CreateSeats < ActiveRecord::Migration
|
|
def change
|
|
create_table :seats do |t|
|
|
t.references :table, index: true
|
|
t.references :user, index: true
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|