You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
283 B
12 lines
283 B
3 years ago
|
class RemoveDiscardedAtFromCaseLogs < ActiveRecord::Migration[7.0]
|
||
|
def up
|
||
|
remove_index :case_logs, :discarded_at
|
||
|
remove_column :case_logs, :discarded_at
|
||
|
end
|
||
|
|
||
|
def down
|
||
|
add_column :case_logs, :discarded_at, :datetime
|
||
|
add_index :case_logs, :discarded_at
|
||
|
end
|
||
|
end
|