Remove 'import_file_path' from bank_statements model

This commit is contained in:
Karl Erik Õunapuu 2020-09-08 16:26:32 +03:00
parent fbef572dfc
commit 04377d8997
No known key found for this signature in database
GPG key ID: C9DD647298A34764
3 changed files with 13 additions and 3 deletions

View file

@ -0,0 +1,9 @@
class RemoveImportFilePathFromBankStatements < ActiveRecord::Migration[6.0]
def up
remove_column :bank_statements, :import_file_path
end
def down
add_column :bank_statements, :import_file_path, :string
end
end