修改bug《测试版:课程列表--点击个别课程返回500错误》
Signed-off-by: alan <547533434@qq.com>
This commit is contained in:
parent
94a4c0037a
commit
bdc38014ac
|
@ -0,0 +1,10 @@
|
|||
#encoding=UTF-8
|
||||
class ChangeDataForCourses < ActiveRecord::Migration
|
||||
def up
|
||||
sql = "UPDATE courses set school_id = 117 where id =58"
|
||||
execute(sql)
|
||||
end
|
||||
|
||||
def down
|
||||
end
|
||||
end
|
|
@ -11,7 +11,7 @@
|
|||
#
|
||||
# It's strongly recommended to check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(:version => 20141030071656) do
|
||||
ActiveRecord::Schema.define(:version => 20141031065238) do
|
||||
|
||||
create_table "activities", :force => true do |t|
|
||||
t.integer "act_id", :null => false
|
||||
|
|
Loading…
Reference in New Issue