parent
05cafcff8c
commit
db62c1d6c3
@ -0,0 +1,7 @@
|
|||||||
|
class RemoveShixunLongTextForShixuns < ActiveRecord::Migration[5.2]
|
||||||
|
def change
|
||||||
|
if Shixun.first.description.present?
|
||||||
|
remove_columns :shixuns, :description, :propaedeutics, :evaluate_script
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
Loading…
Reference in new issue