mirror of
https://github.com/internetee/registry.git
synced 2025-07-24 03:30:33 +02:00
Remove 'import_file_path' from bank_statements model
This commit is contained in:
parent
fbef572dfc
commit
04377d8997
3 changed files with 13 additions and 3 deletions
|
@ -27,7 +27,6 @@ smtp_authentication: 'plain' # 'plain', 'login', 'cram_md5'
|
|||
#
|
||||
app_name: '.EE Registry'
|
||||
zonefile_export_dir: 'export/zonefiles'
|
||||
bank_statement_import_dir: 'import/bank_statements'
|
||||
legal_documents_dir: 'import/legal_documents'
|
||||
time_zone: 'Tallinn' # more zones by rake time:zones:all
|
||||
|
||||
|
|
|
@ -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
|
|
@ -371,7 +371,6 @@ CREATE TABLE public.bank_statements (
|
|||
id integer NOT NULL,
|
||||
bank_code character varying,
|
||||
iban character varying,
|
||||
import_file_path character varying,
|
||||
queried_at timestamp without time zone,
|
||||
created_at timestamp without time zone,
|
||||
updated_at timestamp without time zone,
|
||||
|
@ -4850,4 +4849,7 @@ INSERT INTO "schema_migrations" (version) VALUES
|
|||
('20200807110611'),
|
||||
('20200811074839'),
|
||||
('20200812090409'),
|
||||
('20200812125810');
|
||||
('20200812125810'),
|
||||
('20200908131554');
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue