4602ded8a4
* start on access requests * set up access requests further * set default values for approved and answered
12 lines
321 B
Ruby
12 lines
321 B
Ruby
class CreateAccessRequests < ActiveRecord::Migration[5.0]
|
|
def change
|
|
create_table :access_requests do |t|
|
|
t.references :user, foreign_key: true
|
|
t.boolean :approved, default: false
|
|
t.boolean :answered, default: false
|
|
t.references :map, foreign_key: true
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|