|
|
@ -11,7 +11,7 @@ class ModifyShixunInfoForShixuns < ActiveRecord::Migration[5.2]
|
|
|
|
evaluate_script: shixun[:evaluate_script], shixun_id: shixun.id)
|
|
|
|
evaluate_script: shixun[:evaluate_script], shixun_id: shixun.id)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
if shixun.description.present?
|
|
|
|
if Shixun.first.description.present?
|
|
|
|
remove_columns :shixuns, :description, :propaedeutics, :evaluate_script
|
|
|
|
remove_columns :shixuns, :description, :propaedeutics, :evaluate_script
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|