Merge pull request #1261 from shlok007/resources
Ability to track resources
This commit is contained in:
commit
f42e4adc45
17 changed files with 265 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