parent
41f92346db
commit
2243e89077
@ -1,8 +0,0 @@
|
|||||||
class SyncShixuninfo < ActiveRecord::Migration[5.2]
|
|
||||||
def change
|
|
||||||
Shixun.find_each do |shixun|
|
|
||||||
ShixunInfo.create!(propaedeutics: shixun.propaedeutics, description: shixun.description,
|
|
||||||
evaluate_script: shixun.evaluate_script, shixun_id: shixun.id)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
@ -1,5 +0,0 @@
|
|||||||
class RemoveColumnForShixun < ActiveRecord::Migration[5.2]
|
|
||||||
def change
|
|
||||||
remove_columns :shixuns, :description, :propaedeutics, :evaluate_script
|
|
||||||
end
|
|
||||||
end
|
|
Loading…
Reference in new issue