12 lines
291 B
Ruby
12 lines
291 B
Ruby
|
|
class CreateBoothRequests < ActiveRecord::Migration
|
||
|
|
def change
|
||
|
|
create_table :booth_requests do |t|
|
||
|
|
t.references :booth, index: true, foreign_key: true
|
||
|
|
t.references :user, index: true, foreign_key: true
|
||
|
|
t.string :role
|
||
|
|
|
||
|
|
t.timestamps null: false
|
||
|
|
end
|
||
|
|
end
|
||
|
|
end
|