ref: master
plugins/organization_ratings/db/migrate/20150830225546_create_organization_ratings.rb
1 2 3 4 5 6 7 8 9 10 11 12
class CreateOrganizationRatings < ActiveRecord::Migration def change create_table :organization_ratings do |t| t.belongs_to :organization t.belongs_to :person t.belongs_to :comment t.integer :value t.timestamps end end end