|
|
@ -3,6 +3,8 @@ class ChangeRecentlyLetAsToEnum < ActiveRecord::Migration[6.1] |
|
|
|
change_table :case_logs, bulk: true do |t| |
|
|
|
change_table :case_logs, bulk: true do |t| |
|
|
|
t.remove :type_property_most_recently_let_as |
|
|
|
t.remove :type_property_most_recently_let_as |
|
|
|
t.column :unitletas, :int |
|
|
|
t.column :unitletas, :int |
|
|
|
|
|
|
|
t.remove :builtype |
|
|
|
|
|
|
|
t.column :builtype, :int |
|
|
|
end |
|
|
|
end |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
@ -10,6 +12,8 @@ class ChangeRecentlyLetAsToEnum < ActiveRecord::Migration[6.1] |
|
|
|
change_table :case_logs, bulk: true do |t| |
|
|
|
change_table :case_logs, bulk: true do |t| |
|
|
|
t.remove :unitletas |
|
|
|
t.remove :unitletas |
|
|
|
t.column :type_property_most_recently_let_as, :string |
|
|
|
t.column :type_property_most_recently_let_as, :string |
|
|
|
|
|
|
|
t.remove :builtype |
|
|
|
|
|
|
|
t.remove :builtype, :string |
|
|
|
end |
|
|
|
end |
|
|
|
end |
|
|
|
end |
|
|
|
end |
|
|
|
end |
|
|
|