From b663b862dcc689a7d0565a0a92efa7b5058b6f0a Mon Sep 17 00:00:00 2001 From: Bryce Covert Date: Sat, 14 Jul 2018 12:31:12 -0700 Subject: [PATCH] fixes account numbers --- migrator/migrations/1531595548-DOWN-fix-cbc-typos.sql | 1 + migrator/migrations/1531595548-UP-fix-cbc-typos.sql | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 migrator/migrations/1531595548-DOWN-fix-cbc-typos.sql create mode 100644 migrator/migrations/1531595548-UP-fix-cbc-typos.sql diff --git a/migrator/migrations/1531595548-DOWN-fix-cbc-typos.sql b/migrator/migrations/1531595548-DOWN-fix-cbc-typos.sql new file mode 100644 index 00000000..153e70e0 --- /dev/null +++ b/migrator/migrations/1531595548-DOWN-fix-cbc-typos.sql @@ -0,0 +1 @@ +-- 1531595548 DOWN fix-cbc-typos \ No newline at end of file diff --git a/migrator/migrations/1531595548-UP-fix-cbc-typos.sql b/migrator/migrations/1531595548-UP-fix-cbc-typos.sql new file mode 100644 index 00000000..ad6026d5 --- /dev/null +++ b/migrator/migrations/1531595548-UP-fix-cbc-typos.sql @@ -0,0 +1,4 @@ +-- 1531595548 UP fix-cbc-typos +update companies set data ='{:locations ["CB"] :bank-accounts [{:number "013103062" :id 1 :check-number 10000 :bank-name "United Security Bank" :bank-code "90-4149/1211" :routing "121141495" :name "A1123 USB Operating 3062" :yodlee-account-id 0} {:number "013103070" :id 2 :check-number 10000 :bank-name "United Security Bank" :bank-code "90-4149/1211" :routing "121141495" :name "A1125 USB Payroll 3070" :yodlee-account-id 0} {:number "930545652" :id 3 :check-number 10000 :bank-name "Chase Bank" :bank-code "90-3913/1222" :routing "322271627" :name "A1126 Rent Impound Chase Acct" :yodlee-account-id 0} {:number "1812" :id 4 :check-number 10000 :bank-name "Chase Credit Card" :bank-code "" :routing "" :name "A1127 Chase Card 1812" :yodlee-account-id 0}]}' where name = 'Campbell Brewing Co'; + +delete from transactions;