ability to track resources used in conference
This commit is contained in:
parent
945b4aac60
commit
3065766da9
17 changed files with 281 additions and 2 deletions
11
db/migrate/20170129075434_create_resources_table.rb
Normal file
11
db/migrate/20170129075434_create_resources_table.rb
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
class CreateResourcesTable < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :resources do |t|
|
||||
t.string :name
|
||||
t.text :description
|
||||
t.integer :quantity
|
||||
t.integer :used, default: 0
|
||||
t.references :conference
|
||||
end
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue