Implement Event Ratings
This commit is contained in:
parent
5be1ad52ee
commit
20f4853487
67 changed files with 1298 additions and 378 deletions
12
db/migrate/20170319144754_create_votable_fields.rb
Normal file
12
db/migrate/20170319144754_create_votable_fields.rb
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
class CreateVotableFields < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :votable_fields do |t|
|
||||
t.string :title
|
||||
t.string :votable_type
|
||||
t.boolean :enabled, default: true
|
||||
t.references :conference
|
||||
|
||||
t.timestamps null: false
|
||||
end
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue