增加判断评分是不是老师评分的列
This commit is contained in:
parent
afbcc3f8d3
commit
fa36e6d2b0
|
@ -0,0 +1,5 @@
|
||||||
|
class AddColumToSeemsRateableRates < ActiveRecord::Migration
|
||||||
|
def change
|
||||||
|
add_column :seems_rateable_rates, :is_teacher_score, :integer, default: 0
|
||||||
|
end
|
||||||
|
end
|
|
@ -11,7 +11,7 @@
|
||||||
#
|
#
|
||||||
# It's strongly recommended to check this file into your version control system.
|
# It's strongly recommended to check this file into your version control system.
|
||||||
|
|
||||||
ActiveRecord::Schema.define(:version => 20141210070327) do
|
ActiveRecord::Schema.define(:version => 20141229025519) do
|
||||||
|
|
||||||
create_table "activities", :force => true do |t|
|
create_table "activities", :force => true do |t|
|
||||||
t.integer "act_id", :null => false
|
t.integer "act_id", :null => false
|
||||||
|
@ -984,6 +984,7 @@ ActiveRecord::Schema.define(:version => 20141210070327) do
|
||||||
t.string "dimension"
|
t.string "dimension"
|
||||||
t.datetime "created_at", :null => false
|
t.datetime "created_at", :null => false
|
||||||
t.datetime "updated_at", :null => false
|
t.datetime "updated_at", :null => false
|
||||||
|
t.integer "is_teacher_score", :default => 0
|
||||||
end
|
end
|
||||||
|
|
||||||
create_table "settings", :force => true do |t|
|
create_table "settings", :force => true do |t|
|
||||||
|
|
Loading…
Reference in New Issue