2018-05-07 16:47:29 -07:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
2017-05-17 13:31:27 +03:00
|
|
|
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
|