ref: master
plugins/evaluation/db/migrate/20120214110124_create_evaluation_plugin_evaluations.rb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
class CreateEvaluationPluginEvaluations < ActiveRecord::Migration def self.up create_table :evaluation_plugin_evaluations do |t| t.string :evaluation_type t.integer :evaluation_id t.decimal :score t.text :text t.integer :evaluator_id t.integer :evaluated_id t.timestamps end end def self.down drop_table :evaluation_plugin_evaluations end end |