增加系统评分
This commit is contained in:
parent
ac4d529ebc
commit
5d000ea431
|
@ -0,0 +1,9 @@
|
||||||
|
class AddSystemScoreToStudentWork < ActiveRecord::Migration
|
||||||
|
def up
|
||||||
|
add_column :student_works,:system_score,:integer
|
||||||
|
end
|
||||||
|
|
||||||
|
def down
|
||||||
|
remove_column :student_works,:system_score
|
||||||
|
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 => 20150814031258) do
|
ActiveRecord::Schema.define(:version => 20150815030833) 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
|
||||||
|
@ -1276,6 +1276,7 @@ ActiveRecord::Schema.define(:version => 20150814031258) do
|
||||||
t.datetime "updated_at", :null => false
|
t.datetime "updated_at", :null => false
|
||||||
t.integer "late_penalty", :default => 0
|
t.integer "late_penalty", :default => 0
|
||||||
t.integer "absence_penalty", :default => 0
|
t.integer "absence_penalty", :default => 0
|
||||||
|
t.integer "system_score"
|
||||||
end
|
end
|
||||||
|
|
||||||
create_table "student_works_evaluation_distributions", :force => true do |t|
|
create_table "student_works_evaluation_distributions", :force => true do |t|
|
||||||
|
|
Loading…
Reference in New Issue