From 0b1b2721c7c0ecd1ef8ca016e94ae8966f6eba17 Mon Sep 17 00:00:00 2001 From: Bryce Covert Date: Fri, 12 Apr 2019 17:51:57 -0700 Subject: [PATCH] more progress towards removing default expense accounts. --- migrator/.gitignore | 1 - migrator/Dockerfile | 5 - .../migrations/1513802821-DOWN-initial.sql | 3 - migrator/migrations/1513802821-UP-initial.sql | 4 - .../1513802974-DOWN-add-first-user.sql | 2 - .../1513802974-UP-add-first-user.sql | 2 - migrator/migrations/1522800061-DOWN.sql | 1 - migrator/migrations/1522800061-UP.sql | 8 - .../1522944238-DOWN-add-email-to-customer.sql | 3 - .../1522944238-UP-add-email-to-customer.sql | 2 - .../1522964310-DOWN-add-email-schedule.sql | 2 - .../1522964310-UP-add-email-schedule.sql | 2 - .../1522973754-DOWN-create-vendors.sql | 2 - .../1522973754-UP-create-vendors.sql | 12 -- .../1522981446-DOWN-add-vendor-code.sql | 2 - .../1522981446-UP-add-vendor-code.sql | 2 - .../1523022636-DOWN-change_company_to_id.sql | 6 - .../1523022636-UP-change_company_to_id.sql | 6 - .../1523064177-DOWN-add-reminders.sql | 2 - .../1523064177-UP-add-reminders.sql | 8 - ...1523250939-DOWN-add-more-vendor-fields.sql | 33 --- .../1523250939-UP-add-more-vendor-fields.sql | 37 ---- ...523368332-DOWN-link-invoices-to-vendor.sql | 5 - .../1523368332-UP-link-invoices-to-vendor.sql | 6 - .../1523595957-DOWN-switch-date-format.sql | 3 - .../1523595957-UP-switch-date-format.sql | 3 - ...882-DOWN-add-email-fields-to-reminders.sql | 1 - ...66882-UP-add-email-fields-to-reminders.sql | 4 - ...26-DOWN-add-vendor-client-relationship.sql | 2 - ...4426-UP-add-vendor-client-relationship.sql | 8 - .../1525382176-DOWN-more-customer-fields.sql | 4 - .../1525382176-UP-more-customer-fields.sql | 119 ---------- ...525464770-DOWN-change-amount-to-number.sql | 3 - .../1525464770-UP-change-amount-to-number.sql | 3 - .../migrations/1526142253-DOWN-add-checks.sql | 3 - .../migrations/1526142253-UP-add-checks.sql | 20 -- .../1526315524-DOWN-add-bank-accounts.sql | 2 - .../1526315524-UP-add-bank-accounts.sql | 2 - ...6400685-DOWN-store-outstanding-balance.sql | 2 - ...526400685-UP-store-outstanding-balance.sql | 3 - .../1526611275-DOWN-move-address-to-data.sql | 15 -- .../1526611275-UP-move-address-to-data.sql | 18 -- ...04-DOWN-create-default-expense-account.sql | 5 - ...4504-UP-create-default-expense-account.sql | 8 - .../1529005616-DOWN-add-yodleee-staging.sql | 2 - .../1529005616-UP-add-yodleee-staging.sql | 19 -- ...2-DOWN-add-location-to-expense-account.sql | 3 - ...932-UP-add-location-to-expense-account.sql | 2 - .../1529684190-DOWN-reset-database.sql | 1 - .../1529684190-UP-reset-database.sql | 192 ----------------- .../1529694212-DOWN-add-default-location.sql | 3 - .../1529694212-UP-add-default-location.sql | 2 - .../1530242355-DOWN-add-check-number.sql | 6 - .../1530242355-UP-add-check-number.sql | 5 - .../1530253647-DOWN-reset-database.sql | 1 - .../1530253647-UP-reset-database.sql | 193 ----------------- .../1530379134-DOWN-add-check-status.sql | 2 - .../1530379134-UP-add-check-status.sql | 2 - .../1530859118-DOWN-add-indexes.sql | 4 - .../migrations/1530859118-UP-add-indexes.sql | 3 - .../1531287349-DOWN-reset-database.sql | 1 - .../1531287349-UP-reset-database.sql | 203 ------------------ .../1531451476-DOWN-reset-vendors.sql | 1 - .../1531451476-UP-reset-vendors.sql | 203 ------------------ ...2173-DOWN-change-yodlee-transaction-id.sql | 2 - ...452173-UP-change-yodlee-transaction-id.sql | 3 - ...1464885-DOWN-add-campbell-bank-account.sql | 1 - ...531464885-UP-add-campbell-bank-account.sql | 2 - .../1531519712-DOWN-add-real-cbc-banks.sql | 1 - .../1531519712-UP-add-real-cbc-banks.sql | 6 - .../1531595548-DOWN-fix-cbc-typos.sql | 1 - .../1531595548-UP-fix-cbc-typos.sql | 4 - .../1531597616-DOWN-add-user-signatures.sql | 2 - .../1531597616-UP-add-user-signatures.sql | 6 - ...2360781-DOWN-add-iguanas-bank-accounts.sql | 1 - ...532360781-UP-add-iguanas-bank-accounts.sql | 2 - .../1532704782-DOWN-fix-iguanas-locations.sql | 1 - .../1532704782-UP-fix-iguanas-locations.sql | 4 - ...06413-DOWN-add-default-expense-account.sql | 2 - ...2706413-UP-add-default-expense-account.sql | 2 - .../1532733305-DOWN-add-check-type.sql | 2 - .../1532733305-UP-add-check-type.sql | 2 - .../1534475443-DOWN-update-companies.sql | 1 - .../1534475443-UP-update-companies.sql | 25 --- migrator/package-lock.json | 132 ------------ migrator/package.json | 18 -- migrator/scratch.clj_ | 63 ------ resources/sample-excel-small.tsv | 14 +- src/clj/auto_ap/routes/invoices.clj | 6 +- 89 files changed, 17 insertions(+), 1518 deletions(-) delete mode 100644 migrator/.gitignore delete mode 100644 migrator/Dockerfile delete mode 100644 migrator/migrations/1513802821-DOWN-initial.sql delete mode 100644 migrator/migrations/1513802821-UP-initial.sql delete mode 100644 migrator/migrations/1513802974-DOWN-add-first-user.sql delete mode 100644 migrator/migrations/1513802974-UP-add-first-user.sql delete mode 100644 migrator/migrations/1522800061-DOWN.sql delete mode 100644 migrator/migrations/1522800061-UP.sql delete mode 100644 migrator/migrations/1522944238-DOWN-add-email-to-customer.sql delete mode 100644 migrator/migrations/1522944238-UP-add-email-to-customer.sql delete mode 100644 migrator/migrations/1522964310-DOWN-add-email-schedule.sql delete mode 100644 migrator/migrations/1522964310-UP-add-email-schedule.sql delete mode 100644 migrator/migrations/1522973754-DOWN-create-vendors.sql delete mode 100644 migrator/migrations/1522973754-UP-create-vendors.sql delete mode 100644 migrator/migrations/1522981446-DOWN-add-vendor-code.sql delete mode 100644 migrator/migrations/1522981446-UP-add-vendor-code.sql delete mode 100644 migrator/migrations/1523022636-DOWN-change_company_to_id.sql delete mode 100644 migrator/migrations/1523022636-UP-change_company_to_id.sql delete mode 100644 migrator/migrations/1523064177-DOWN-add-reminders.sql delete mode 100644 migrator/migrations/1523064177-UP-add-reminders.sql delete mode 100644 migrator/migrations/1523250939-DOWN-add-more-vendor-fields.sql delete mode 100644 migrator/migrations/1523250939-UP-add-more-vendor-fields.sql delete mode 100644 migrator/migrations/1523368332-DOWN-link-invoices-to-vendor.sql delete mode 100644 migrator/migrations/1523368332-UP-link-invoices-to-vendor.sql delete mode 100644 migrator/migrations/1523595957-DOWN-switch-date-format.sql delete mode 100644 migrator/migrations/1523595957-UP-switch-date-format.sql delete mode 100644 migrator/migrations/1523666882-DOWN-add-email-fields-to-reminders.sql delete mode 100644 migrator/migrations/1523666882-UP-add-email-fields-to-reminders.sql delete mode 100644 migrator/migrations/1523724426-DOWN-add-vendor-client-relationship.sql delete mode 100644 migrator/migrations/1523724426-UP-add-vendor-client-relationship.sql delete mode 100644 migrator/migrations/1525382176-DOWN-more-customer-fields.sql delete mode 100644 migrator/migrations/1525382176-UP-more-customer-fields.sql delete mode 100644 migrator/migrations/1525464770-DOWN-change-amount-to-number.sql delete mode 100644 migrator/migrations/1525464770-UP-change-amount-to-number.sql delete mode 100644 migrator/migrations/1526142253-DOWN-add-checks.sql delete mode 100644 migrator/migrations/1526142253-UP-add-checks.sql delete mode 100644 migrator/migrations/1526315524-DOWN-add-bank-accounts.sql delete mode 100644 migrator/migrations/1526315524-UP-add-bank-accounts.sql delete mode 100644 migrator/migrations/1526400685-DOWN-store-outstanding-balance.sql delete mode 100644 migrator/migrations/1526400685-UP-store-outstanding-balance.sql delete mode 100644 migrator/migrations/1526611275-DOWN-move-address-to-data.sql delete mode 100644 migrator/migrations/1526611275-UP-move-address-to-data.sql delete mode 100644 migrator/migrations/1527534504-DOWN-create-default-expense-account.sql delete mode 100644 migrator/migrations/1527534504-UP-create-default-expense-account.sql delete mode 100644 migrator/migrations/1529005616-DOWN-add-yodleee-staging.sql delete mode 100644 migrator/migrations/1529005616-UP-add-yodleee-staging.sql delete mode 100644 migrator/migrations/1529091932-DOWN-add-location-to-expense-account.sql delete mode 100644 migrator/migrations/1529091932-UP-add-location-to-expense-account.sql delete mode 100644 migrator/migrations/1529684190-DOWN-reset-database.sql delete mode 100644 migrator/migrations/1529684190-UP-reset-database.sql delete mode 100644 migrator/migrations/1529694212-DOWN-add-default-location.sql delete mode 100644 migrator/migrations/1529694212-UP-add-default-location.sql delete mode 100644 migrator/migrations/1530242355-DOWN-add-check-number.sql delete mode 100644 migrator/migrations/1530242355-UP-add-check-number.sql delete mode 100644 migrator/migrations/1530253647-DOWN-reset-database.sql delete mode 100644 migrator/migrations/1530253647-UP-reset-database.sql delete mode 100644 migrator/migrations/1530379134-DOWN-add-check-status.sql delete mode 100644 migrator/migrations/1530379134-UP-add-check-status.sql delete mode 100644 migrator/migrations/1530859118-DOWN-add-indexes.sql delete mode 100644 migrator/migrations/1530859118-UP-add-indexes.sql delete mode 100644 migrator/migrations/1531287349-DOWN-reset-database.sql delete mode 100644 migrator/migrations/1531287349-UP-reset-database.sql delete mode 100644 migrator/migrations/1531451476-DOWN-reset-vendors.sql delete mode 100644 migrator/migrations/1531451476-UP-reset-vendors.sql delete mode 100644 migrator/migrations/1531452173-DOWN-change-yodlee-transaction-id.sql delete mode 100644 migrator/migrations/1531452173-UP-change-yodlee-transaction-id.sql delete mode 100644 migrator/migrations/1531464885-DOWN-add-campbell-bank-account.sql delete mode 100644 migrator/migrations/1531464885-UP-add-campbell-bank-account.sql delete mode 100644 migrator/migrations/1531519712-DOWN-add-real-cbc-banks.sql delete mode 100644 migrator/migrations/1531519712-UP-add-real-cbc-banks.sql delete mode 100644 migrator/migrations/1531595548-DOWN-fix-cbc-typos.sql delete mode 100644 migrator/migrations/1531595548-UP-fix-cbc-typos.sql delete mode 100644 migrator/migrations/1531597616-DOWN-add-user-signatures.sql delete mode 100644 migrator/migrations/1531597616-UP-add-user-signatures.sql delete mode 100644 migrator/migrations/1532360781-DOWN-add-iguanas-bank-accounts.sql delete mode 100644 migrator/migrations/1532360781-UP-add-iguanas-bank-accounts.sql delete mode 100644 migrator/migrations/1532704782-DOWN-fix-iguanas-locations.sql delete mode 100644 migrator/migrations/1532704782-UP-fix-iguanas-locations.sql delete mode 100644 migrator/migrations/1532706413-DOWN-add-default-expense-account.sql delete mode 100644 migrator/migrations/1532706413-UP-add-default-expense-account.sql delete mode 100644 migrator/migrations/1532733305-DOWN-add-check-type.sql delete mode 100644 migrator/migrations/1532733305-UP-add-check-type.sql delete mode 100644 migrator/migrations/1534475443-DOWN-update-companies.sql delete mode 100644 migrator/migrations/1534475443-UP-update-companies.sql delete mode 100644 migrator/package-lock.json delete mode 100644 migrator/package.json delete mode 100644 migrator/scratch.clj_ diff --git a/migrator/.gitignore b/migrator/.gitignore deleted file mode 100644 index 3c3629e6..00000000 --- a/migrator/.gitignore +++ /dev/null @@ -1 +0,0 @@ -node_modules diff --git a/migrator/Dockerfile b/migrator/Dockerfile deleted file mode 100644 index 3c49524c..00000000 --- a/migrator/Dockerfile +++ /dev/null @@ -1,5 +0,0 @@ -FROM node:9.3-alpine -COPY . /usr/local -WORKDIR /usr/local -CMD npm run db-migrate - diff --git a/migrator/migrations/1513802821-DOWN-initial.sql b/migrator/migrations/1513802821-DOWN-initial.sql deleted file mode 100644 index 439bc11b..00000000 --- a/migrator/migrations/1513802821-DOWN-initial.sql +++ /dev/null @@ -1,3 +0,0 @@ --- 1513802821 DOWN initial -drop TABLE invoices ; -drop TABLE users ; diff --git a/migrator/migrations/1513802821-UP-initial.sql b/migrator/migrations/1513802821-UP-initial.sql deleted file mode 100644 index d2a72443..00000000 --- a/migrator/migrations/1513802821-UP-initial.sql +++ /dev/null @@ -1,4 +0,0 @@ --- 1513802821 UP initial -CREATE TABLE invoices (id serial primary key, invoice_number varchar(255), date varchar(255), total varchar(255), customer_identifier varchar(255), imported boolean, status varchar(255), vendor varchar(255), potential_duplicate boolean, company varchar(255)); - -CREATE TABLE users (id serial primary key, provider varchar(255), provider_id varchar(255), data text); diff --git a/migrator/migrations/1513802974-DOWN-add-first-user.sql b/migrator/migrations/1513802974-DOWN-add-first-user.sql deleted file mode 100644 index 117ecabb..00000000 --- a/migrator/migrations/1513802974-DOWN-add-first-user.sql +++ /dev/null @@ -1,2 +0,0 @@ --- 1513802974 DOWN add-first-user -delete from users; diff --git a/migrator/migrations/1513802974-UP-add-first-user.sql b/migrator/migrations/1513802974-UP-add-first-user.sql deleted file mode 100644 index 98783a56..00000000 --- a/migrator/migrations/1513802974-UP-add-first-user.sql +++ /dev/null @@ -1,2 +0,0 @@ --- 1513802974 UP add-first-user -insert into users (provider, provider_id, data) values('google', '104596437663417983775', '{:companies ["Brown Chicken Brown Cow" "Campbell Brewing Company"]}'); diff --git a/migrator/migrations/1522800061-DOWN.sql b/migrator/migrations/1522800061-DOWN.sql deleted file mode 100644 index 05e47eb9..00000000 --- a/migrator/migrations/1522800061-DOWN.sql +++ /dev/null @@ -1 +0,0 @@ -DROP TABLE companies (id serial primary key, name varchar(255), data text); diff --git a/migrator/migrations/1522800061-UP.sql b/migrator/migrations/1522800061-UP.sql deleted file mode 100644 index 05048b76..00000000 --- a/migrator/migrations/1522800061-UP.sql +++ /dev/null @@ -1,8 +0,0 @@ --- 1522800061 UP -CREATE TABLE companies (id serial primary key, name varchar(255), data text); - -insert into companies (name, data) values ('Campbell Brewing Company', '{:matches ["campbell brewing company" "campbell brewery company" "campbell brewing"]}'); - -insert into companies (name, data) values ('Brown Chicken Brown Cow', '{:matches ["brown chicken brown cow"]}'); - -insert into companies (name, data) values ('Naschmarkt Restaurant', '{:matches ["naschmarkt" "naschmarkt restaurant"]}'); diff --git a/migrator/migrations/1522944238-DOWN-add-email-to-customer.sql b/migrator/migrations/1522944238-DOWN-add-email-to-customer.sql deleted file mode 100644 index 073a6704..00000000 --- a/migrator/migrations/1522944238-DOWN-add-email-to-customer.sql +++ /dev/null @@ -1,3 +0,0 @@ --- 1522944238 DOWN add-email-to-customer - -ALTER table companies drop column email; diff --git a/migrator/migrations/1522944238-UP-add-email-to-customer.sql b/migrator/migrations/1522944238-UP-add-email-to-customer.sql deleted file mode 100644 index bb7d301d..00000000 --- a/migrator/migrations/1522944238-UP-add-email-to-customer.sql +++ /dev/null @@ -1,2 +0,0 @@ --- 1522944238 UP add-email-to-customer -ALTER table companies add column email varchar(255); diff --git a/migrator/migrations/1522964310-DOWN-add-email-schedule.sql b/migrator/migrations/1522964310-DOWN-add-email-schedule.sql deleted file mode 100644 index c1bbd455..00000000 --- a/migrator/migrations/1522964310-DOWN-add-email-schedule.sql +++ /dev/null @@ -1,2 +0,0 @@ --- 1522964310 DOWN add-email-schedule -ALTER TABLE companies DROP COLUMN invoice_reminder_schedule; diff --git a/migrator/migrations/1522964310-UP-add-email-schedule.sql b/migrator/migrations/1522964310-UP-add-email-schedule.sql deleted file mode 100644 index cbd61caa..00000000 --- a/migrator/migrations/1522964310-UP-add-email-schedule.sql +++ /dev/null @@ -1,2 +0,0 @@ --- 1522964310 UP add-email-schedule -ALTER TABLE companies ADD COLUMN invoice_reminder_schedule varchar(255); diff --git a/migrator/migrations/1522973754-DOWN-create-vendors.sql b/migrator/migrations/1522973754-DOWN-create-vendors.sql deleted file mode 100644 index dc20d2d3..00000000 --- a/migrator/migrations/1522973754-DOWN-create-vendors.sql +++ /dev/null @@ -1,2 +0,0 @@ --- 1522973754 DOWN create-vendors -drop table vendors; diff --git a/migrator/migrations/1522973754-UP-create-vendors.sql b/migrator/migrations/1522973754-UP-create-vendors.sql deleted file mode 100644 index 1994c2df..00000000 --- a/migrator/migrations/1522973754-UP-create-vendors.sql +++ /dev/null @@ -1,12 +0,0 @@ --- 1522973754 UP create-vendors - -CREATE TABLE public.vendors ( - id serial PRIMARY KEY, - name character varying(255), - data text, - email character varying(255), - invoice_reminder_schedule character varying(255) -); - - -INSERT into vendors (name, data, email, invoice_reminder_schedule) values ('CINTAS', '{}', 'ses@brycecovertoperations.com', 'Weekly'); diff --git a/migrator/migrations/1522981446-DOWN-add-vendor-code.sql b/migrator/migrations/1522981446-DOWN-add-vendor-code.sql deleted file mode 100644 index 5335ccc1..00000000 --- a/migrator/migrations/1522981446-DOWN-add-vendor-code.sql +++ /dev/null @@ -1,2 +0,0 @@ --- 1522981446 DOWN add-vendor-code -ALTER TABLE vendors drop column code; diff --git a/migrator/migrations/1522981446-UP-add-vendor-code.sql b/migrator/migrations/1522981446-UP-add-vendor-code.sql deleted file mode 100644 index 0dd339cd..00000000 --- a/migrator/migrations/1522981446-UP-add-vendor-code.sql +++ /dev/null @@ -1,2 +0,0 @@ --- 1522981446 UP add-vendor-code -ALTER TABLE vendors add column code varchar(255) unique; diff --git a/migrator/migrations/1523022636-DOWN-change_company_to_id.sql b/migrator/migrations/1523022636-DOWN-change_company_to_id.sql deleted file mode 100644 index 9c5da794..00000000 --- a/migrator/migrations/1523022636-DOWN-change_company_to_id.sql +++ /dev/null @@ -1,6 +0,0 @@ --- 1523022636 DOWN change_company_to_id - -delete from invoices; - -alter table invoices drop column company_id; -alter table invoices add column company varchar(255); diff --git a/migrator/migrations/1523022636-UP-change_company_to_id.sql b/migrator/migrations/1523022636-UP-change_company_to_id.sql deleted file mode 100644 index 4b816aa5..00000000 --- a/migrator/migrations/1523022636-UP-change_company_to_id.sql +++ /dev/null @@ -1,6 +0,0 @@ --- 1523022636 UP change_company_to_id -delete from invoices; - -alter table invoices drop column company; -alter table invoices add column company_id integer; -alter table invoices add constraint fk_invoices__company_id foreign key (company_id) references companies(id); diff --git a/migrator/migrations/1523064177-DOWN-add-reminders.sql b/migrator/migrations/1523064177-DOWN-add-reminders.sql deleted file mode 100644 index 9bc6c87e..00000000 --- a/migrator/migrations/1523064177-DOWN-add-reminders.sql +++ /dev/null @@ -1,2 +0,0 @@ --- 1523064177 DOWN add-reminders -drop table reminders; diff --git a/migrator/migrations/1523064177-UP-add-reminders.sql b/migrator/migrations/1523064177-UP-add-reminders.sql deleted file mode 100644 index 2a15a85f..00000000 --- a/migrator/migrations/1523064177-UP-add-reminders.sql +++ /dev/null @@ -1,8 +0,0 @@ --- 1523064177 UP add-reminders -CREATE TABLE reminders - ( - id serial primary key, - vendor_id integer, - scheduled timestamp with time zone, - sent timestamp with time zone - ); diff --git a/migrator/migrations/1523250939-DOWN-add-more-vendor-fields.sql b/migrator/migrations/1523250939-DOWN-add-more-vendor-fields.sql deleted file mode 100644 index b5a27b95..00000000 --- a/migrator/migrations/1523250939-DOWN-add-more-vendor-fields.sql +++ /dev/null @@ -1,33 +0,0 @@ --- 1523250939 DOWN add-more-vendor-fields -alter table vendors -drop column address1; - -alter table vendors -drop column address2; - -alter table vendors -drop column city; - -alter table vendors -drop column state; - -alter table vendors -drop column zip; - -alter table vendors -drop column primary_contact; - -alter table vendors -drop column primary_email; - -alter table vendors -drop column primary_phone; - -alter table vendors -drop column secondary_contact; - -alter table vendors -drop column secondary_email; - -alter table vendors -drop column secondary_phone; diff --git a/migrator/migrations/1523250939-UP-add-more-vendor-fields.sql b/migrator/migrations/1523250939-UP-add-more-vendor-fields.sql deleted file mode 100644 index 402fa2c9..00000000 --- a/migrator/migrations/1523250939-UP-add-more-vendor-fields.sql +++ /dev/null @@ -1,37 +0,0 @@ --- 1523250939 UP add-more-vendor-fields -alter table vendors -add column address1 varchar (255); - -alter table vendors -add column address2 varchar (255); - -alter table vendors -add column city varchar (255); - -alter table vendors -add column state varchar (255); - -alter table vendors -add column zip varchar (255); - -alter table vendors -add column primary_contact varchar (255); - -alter table vendors -add column primary_email varchar (255); - -alter table vendors -add column primary_phone varchar (255); - - -alter table vendors -add column secondary_contact varchar (255); - -alter table vendors -add column secondary_email varchar (255); - -alter table vendors -add column secondary_phone varchar (255); - - -update vendors set primary_email=email; diff --git a/migrator/migrations/1523368332-DOWN-link-invoices-to-vendor.sql b/migrator/migrations/1523368332-DOWN-link-invoices-to-vendor.sql deleted file mode 100644 index 4c069e0a..00000000 --- a/migrator/migrations/1523368332-DOWN-link-invoices-to-vendor.sql +++ /dev/null @@ -1,5 +0,0 @@ --- 1523368332 DOWN link-invoices-to-vendor -delete from invoices; - -alter table invoices drop column vendor_id; -alter table invoices add column vendor varchar(255); diff --git a/migrator/migrations/1523368332-UP-link-invoices-to-vendor.sql b/migrator/migrations/1523368332-UP-link-invoices-to-vendor.sql deleted file mode 100644 index 935dc71b..00000000 --- a/migrator/migrations/1523368332-UP-link-invoices-to-vendor.sql +++ /dev/null @@ -1,6 +0,0 @@ --- 1523368332 UP link-invoices-to-vendor -delete from invoices; - -alter table invoices drop column vendor; -alter table invoices add column vendor_id integer; -alter table invoices add constraint fk_invoices__vendor_id foreign key (vendor_id) references vendors(id); diff --git a/migrator/migrations/1523595957-DOWN-switch-date-format.sql b/migrator/migrations/1523595957-DOWN-switch-date-format.sql deleted file mode 100644 index c19f06b6..00000000 --- a/migrator/migrations/1523595957-DOWN-switch-date-format.sql +++ /dev/null @@ -1,3 +0,0 @@ --- 1523595957 DOWN switch-date-format -alter table invoices drop column date; -alter table invoices add column date varchar(255); diff --git a/migrator/migrations/1523595957-UP-switch-date-format.sql b/migrator/migrations/1523595957-UP-switch-date-format.sql deleted file mode 100644 index e173c4a4..00000000 --- a/migrator/migrations/1523595957-UP-switch-date-format.sql +++ /dev/null @@ -1,3 +0,0 @@ --- 1523595957 UP switch-date-format -alter table invoices drop column date; -alter table invoices add column date timestamp with time zone; diff --git a/migrator/migrations/1523666882-DOWN-add-email-fields-to-reminders.sql b/migrator/migrations/1523666882-DOWN-add-email-fields-to-reminders.sql deleted file mode 100644 index 0a4a8dc1..00000000 --- a/migrator/migrations/1523666882-DOWN-add-email-fields-to-reminders.sql +++ /dev/null @@ -1 +0,0 @@ --- 1523666882 DOWN add-email-fields-to-reminders \ No newline at end of file diff --git a/migrator/migrations/1523666882-UP-add-email-fields-to-reminders.sql b/migrator/migrations/1523666882-UP-add-email-fields-to-reminders.sql deleted file mode 100644 index 303069da..00000000 --- a/migrator/migrations/1523666882-UP-add-email-fields-to-reminders.sql +++ /dev/null @@ -1,4 +0,0 @@ --- 1523666882 UP add-email-fields-to-reminders -ALTER table reminders add column email varchar(255); -ALTER table reminders add column subject varchar(255); -ALTER table reminders add column body text; diff --git a/migrator/migrations/1523724426-DOWN-add-vendor-client-relationship.sql b/migrator/migrations/1523724426-DOWN-add-vendor-client-relationship.sql deleted file mode 100644 index 7ccc91ab..00000000 --- a/migrator/migrations/1523724426-DOWN-add-vendor-client-relationship.sql +++ /dev/null @@ -1,2 +0,0 @@ --- 1523724426 DOWN add-vendor-client-relationship -drop table vendors_companies; diff --git a/migrator/migrations/1523724426-UP-add-vendor-client-relationship.sql b/migrator/migrations/1523724426-UP-add-vendor-client-relationship.sql deleted file mode 100644 index af97c9bb..00000000 --- a/migrator/migrations/1523724426-UP-add-vendor-client-relationship.sql +++ /dev/null @@ -1,8 +0,0 @@ --- 1523724426 UP add-vendor-client-relationship -CREATE TABLE vendors_companies ( - id serial primary key, - vendor_id int references vendors(id), - company_id int references companies(id), - account_id varchar(255), - data text -); diff --git a/migrator/migrations/1525382176-DOWN-more-customer-fields.sql b/migrator/migrations/1525382176-DOWN-more-customer-fields.sql deleted file mode 100644 index dc053f00..00000000 --- a/migrator/migrations/1525382176-DOWN-more-customer-fields.sql +++ /dev/null @@ -1,4 +0,0 @@ --- 1525382176 DOWN more-customer-fields -ALTER TABLE companies drop column code; -delete from invoices; -delete from companies; diff --git a/migrator/migrations/1525382176-UP-more-customer-fields.sql b/migrator/migrations/1525382176-UP-more-customer-fields.sql deleted file mode 100644 index 4dcdb371..00000000 --- a/migrator/migrations/1525382176-UP-more-customer-fields.sql +++ /dev/null @@ -1,119 +0,0 @@ --- 1525382176 UP more-customer-fields -ALTER TABLE companies ADD code varchar(255); -delete from invoices; -delete from companies; -delete from vendors; - -INSERT INTO companies (code, name, data) -VALUES -('BCBC', 'Brown Chicken Brown Cow', '{}'), -('BSG', 'Bella Saratoga', '{}'), -('CBC', 'Campbell Brewing Co', '{}'), -('IBC', 'Iguanas Burritozilla', '{}'), -('IBCBC', 'Shared CBC-IBC Expenses', '{}'), -('KOG', 'Knock Out Grill & Bar', '{}'), -('LFT', 'Lefty''s East Coast Pizzeria', '{}'), -('MAM', 'Mama Mia''s', '{}'), -('MLF', 'Mama Lu''s Foods', '{}'), -('MPI', 'Moscini Pizza Inc', '{}'), -('NBST', 'Nasch Bistro', '{}'), -('NMKT', 'Naschmarkt', '{}'), -('RCI', 'Roberto''s Cantina Inc', '{}'), -('SIB', 'Sorelle Italian Bistro', '{}'), -('TSL', 'The Socialight', '{}'); - - -INSERT INTO vendors (name, address1, primary_contact, primary_email, primary_phone, secondary_email) -VALUES -('Acme Bread', '', '', '', '', ''), -('Alfredo''s Produce', '55 Sunol St', 'Oscar', 'candelas_oscar@yahoo.com', '408-806-4150', 'oscar.candelas1@gmail.com'), -('Aloha Paid Out', '', '', '', '', ''), -('Alsco', '2275 Junction Ave', 'Suki', 'spham@alsco.com', '408-279-2345', ''), -('American Wine & Spirits', '', 'Nicholas Stagnaro', 'American Wine & Spirits', '408-838-1005', ''), -('Aramark', '', '', '', '', ''), -('Auto-Chlor', '3400 Thomas Rd', '', '', '', ''), -('Bassian Farms Inc', '', 'Flora Hernandez', 'fhernandez@bassianfarms.com', 'Mike Maltese, Sales: 408-691-8487', ''), -('Better Brands', '', 'Fred', 'fredmontalvo@hotmail.com', '', ''), -('Bigoli Fresh Pasta', '', '', 'info@bigolifreshpasta.com', '', ''), -('BiRite', '123 South Hill Drive', 'Justin', '', '', ''), -('BSG Craftbrewing', '', 'Amanda Steele', 'asteele@bsgcraft.com', '952-465-0596', ''), -('Carbonic Service Inc', '', 'Cynthia', 'cynthia@carbonicservice.com', '408-727-8835', ''), -('Chavez Distributors', '', 'Chavez', 'chavezdist@gmail.com', '510-352-8431', 'Alejandra'), -('Chef''s Choice Produce Co', '2170 Martin Avenue', 'Anna', 'Accounting ', '', ''), -('Chef''s Warehouse', '1250 Whipple Rd.', 'Deborah', 'dvalle@chefswarehouse.com', '510.627.0093', ''), -('Chesbro', '', 'Robin Voss', 'risingstarwinegroup@hotmail.com', '831-392-7984', ''), -('Chrissa Imports Ltd', '', 'Segev', 'orders@chrissaimports.com', '', ''), -('Cintas', '', '', 'Loc00W01@cintas.com', '916.576.4104 ', 'Ruth Moya- prev the contact'), -('Cintas - Towels', '', '', 'Loc00W01@cintas.com', '916.576.4104 ', 'Ruth Moya- prev the contact'), -('Classic Mix - Galloway Company', 'PO Box 617', 'Linda', 'lfournier@gallowaycompany.com', '', ''), -('Classic Wines', '', 'AR', 'bronco.ar@broncowine.com', '800-692-5780', 'Laura, AR person I talked to'), -('Daylight Foods', '', '', '', '', ''), -('DBI Beverage', '', 'Grace Miller', 'grace.miller@dbibeverage.com', '408-380-5235', ''), -('Del Monte Meat Co', 'PO Box #101831', 'Vicki', 'vickic@delmontemeat.com', '', ''), -('Digital Dining Paid Out', '', '', '', '', ''), -('DVW Commercial', '38507 Cherry St., Suite I', 'Lily', 'dvwcommercial@hotmail.com', '', ''), -('Eddie''s Produce', '', 'Eddie', 'eddiesfreshproduce.sj@gmail.com', '', ''), -('Epic Wines & Spirits', 'P.O. Box 8366', '', '', '888-565-4352', ''), -('Frank Family Vineyards', 'PO Box 1012', '', 'ar@vintagewinemarketing.com', '', ''), -('Fresh and Best Produce', '', 'Abraham', 'freshbestarap@gmail.com', '', 'Abraham - Sales Rep'), -('GE Mobile Water, Inc', 'PO Box 742132', '', '', '', ''), -('Golden Gate Meat Company, Inc', '803 Wright Ave', 'Greg', 'GregM@ggmeatco.com', '', ''), -('Half Moon Bay Brewing Co, Inc', 'PO Box 879', 'Emily', 'emily@hmbbrewingco.com', '650-728-2739', ''), -('Il Pastaio Foods', '', '', '', '', ''), -('International Food Distributing', '822 American Street', 'Dan', 'dan@inter-national-foods.com', '650-593-7183', ''), -('ISP Productions', '2468 Karen Dr, Unit 1', 'Greg', 'super851@gmail.com', '(408) 891-8122', ''), -('ItalFoods Inc', 'PO BOX 7511', 'Paris', 'Paris Glass ', '650 877 0724, ext 326', ''), -('ItalFoods Inc', 'PO BOX 2563', 'Jennifer', 'jenniferc@lusamerica.com', '408 778 7200', ''), -('Julius Meinl', '4115 N. Ravenswood Ave', 'Tiffany', 'tiffany.marchan@meinl.com', '773-954-7571', ''), -('JVS Wine Imports', '360 Swift Ave Side B Ste 9', '', '', '', ''), -('Laird Family Wine', '', 'Robin Voss', 'risingstarwinegroup@hotmail.com', '831-392-7984', ''), -('Le Boulanger', '', 'Anna Lisa Daniel', 'adaniel@leboulanger.com', '408-774-9000 ext 278', ''), -('Lettieri & Co', '120 Park Lane', 'Selo', 'selo@lettieri.com', '', ''), -('Lusamerica Foods, Inc', '', 'Jennifer', 'jenniferc@lusamerica.com', '', ''), -('Mama Lu''s Foods', '', 'Sam Orozco', 'Sam Orozco ; robert.guzman@mamalusfoods.com', '', ''), -('Mama Lu''s Invoices', '', 'Sam Orozco', 'Sam Orozco ; robert.guzman@mamalusfoods.com', '', ''), -('Marianne''s Ice Cream', '2100 B Delaware Ave', 'Alice', 'kd@mariannesicecream.com', '', ''), -('Mission Linen Supply', '601 Swift St', '', '', '831-423-1630', ''), -('Mt Eden Winery', '22020 Mount Eden Rd', '', '', '', ''), -('New York Style Sausage Co.', '1228 Reamwood Ave', 'Kay', 'nysdon@aol.com', '', ''), -('Newport Fish Co', '', 'Christina Brooks', 'newportfish@earthlink.net', '650-877-7200', ''), -('Original Roasters', '', 'Joaquin Gomez ', 'jgomez@originalroasters.com', '', ''), -('Pacific Edge Wine & Spirits', '5155 Clareton Drive, #100', '', '', '', ''), -('Palo Alto Foods', '6691 Clark Ave', 'Evelyn', 'evelyn@paloaltofoods.com', '', ''), -('Pelerin Wines', '', 'Robin Voss', 'risingstarwinegroup@hotmail.com', '831-392-7984', ''), -('Performance Food Group', '', 'Cristin Garden', 'Cristin.Garden@pfgc.com', '831-465-3212', ''), -('Performance Food Group - Joan', '', 'Joant Yount', 'Joan Yount ', '831-465-3212', ''), -('Performance Food Group - KOG', '', 'Greg Sosebee', 'greg.sosebee@pfgc.com', '408-499-9863', ''), -('Performance Food Group - LFT', 'PO Box 951080', 'Michael Forman', 'michael.forman@pfgc.com', '408-799-3772', ''), -('Performance Food Group - RCI', '', 'Carlos Gonzalez', 'carlos.gonzalez@pfgc.com', '831-465-3212', ''), -('Performance Food Group - ROMA', '', '', '', '', ''), -('Performance Food Group - SIB', '', 'Joant Yount', 'Joan Yount ', '831-465-3212', ''), -('Pride Mountain Vineyards', '', 'Robin Voss', 'risingstarwinegroup@hotmail.com', '831-392-7984', ''), -('Prudential Overall Supply', 'PO Box 11210', '', '', '', ''), -('Ralph Martinez', '1071 Topaz Ave Apt. C', 'Ralph', '', '', ''), -('Regal Wine Co', 'PO Box 2160', '', '', '', ''), -('Rhodes-To-Wine com', '', 'Rebecca Rhodes ', 'rebecca@rhodes-to-wine.com', '', ''), -('Royal Hawaiian', '213 E. Harris Ave ', '', '', '', ''), -('S. Ramirez Distribution', '', 'Lupe', 'Guadalupe.Ramirez@unionbank.com', '650-365-2110 (W) 650-568-5883 (Direct)', ''), -('Saportio Foods Inc', '', '', '', '', ''), -('Scanned Invoices', '', 'Ron', 'rjb.jr62@gmail.com', '', ''), -('Southern Glazers', 'P.O. Box 742313', 'Mark', '', '', 'For Online Modules'), -('Suprema Meat Company', '', 'Berta Gonzalez', 'Berta Gonzalez ', '', ''), -('Sysco', '', '', '', '', ''), -('System Services of America', '', '', '', '', ''), -('Testarossa Winery', 'PO Box 969', 'Jessica Morocco', 'jmorocco@testarossa.com', '408-354-6150 xt 49', ''), -('The Alarm Company', 'PO Box 178', '', '', '', ''), -('Top Hat Provisions, LLC', '1 South Park St., Unit 205', 'Auto-email', 'Orders@TopHatProvisions.com', '415-902-7821', ''), -('Treat Ice Cream', '11 South 19th Street', 'Bob', 'bob@treaticecream.com', '', ''), -('United Hop Farm', '', 'Ro Nayyar ', 'ro@unitedhops.com', '(916) 899-9578', ''), -('US Foods', '', 'Erol', '', '', ''), -('Vance Wine Selections', '2060-D East Avenida de Los Arboles 306', 'Sami', 'notic+invoices@vinosmith.com', '805 368 0707', ''), -('Vigneron Imports', '6 Barner Place', '', '', '', ''), -('Vince''s Shellfish Co Inc', '', '', '', '', ''), -('Vino Favoloso LLC', '', '', '', '', ''), -('Vintage Wine Marketing', 'PO Box 5149', '', '', '', ''), -('Wine Bridge Imports', 'PO Box 2272', '', '', '', ''), -('Wine Warehouse', 'PO Box 45616', 'Robert Favela', 'r.favela@winewarehouse.com', '', ''), -('Wine Wise', '', 'Devo Price', '', '', 'Brian Greenwood'), -('Youngs Market', '', 'Hello,', 'fileclerk@youngsmarket.com', '', ''), -('PG&E', '', '', '', '', '') diff --git a/migrator/migrations/1525464770-DOWN-change-amount-to-number.sql b/migrator/migrations/1525464770-DOWN-change-amount-to-number.sql deleted file mode 100644 index 26f01708..00000000 --- a/migrator/migrations/1525464770-DOWN-change-amount-to-number.sql +++ /dev/null @@ -1,3 +0,0 @@ --- 1525464770 DOWN change-amount-to-number -alter table invoices drop column total; -alter table invoices add column total varchar(255); diff --git a/migrator/migrations/1525464770-UP-change-amount-to-number.sql b/migrator/migrations/1525464770-UP-change-amount-to-number.sql deleted file mode 100644 index bae6d51f..00000000 --- a/migrator/migrations/1525464770-UP-change-amount-to-number.sql +++ /dev/null @@ -1,3 +0,0 @@ --- 1525464770 UP change-amount-to-number -alter table invoices drop column total; -alter table invoices add column total decimal; diff --git a/migrator/migrations/1526142253-DOWN-add-checks.sql b/migrator/migrations/1526142253-DOWN-add-checks.sql deleted file mode 100644 index a57538a8..00000000 --- a/migrator/migrations/1526142253-DOWN-add-checks.sql +++ /dev/null @@ -1,3 +0,0 @@ --- 1526142253 DOWN add-checks -DROP TABLE checks; -DROP TABLE invoices_checks; diff --git a/migrator/migrations/1526142253-UP-add-checks.sql b/migrator/migrations/1526142253-UP-add-checks.sql deleted file mode 100644 index ce328dcb..00000000 --- a/migrator/migrations/1526142253-UP-add-checks.sql +++ /dev/null @@ -1,20 +0,0 @@ --- 1526142253 UP add-checks -CREATE TABLE checks (id serial primary key, -s3_uuid varchar(255), -s3_key varchar(255), -s3_url varchar(255), -vendor_id int references vendors(id), -company_id int references companies(id), -check_number int, -memo varchar(512), -date timestamp with time zone, -amount decimal, -paid_to varchar(255), -data text); - -CREATE TABLE invoices_checks ( -id serial primary key, -check_id int references checks(id), -invoice_id int references invoices(id), -amount decimal -); diff --git a/migrator/migrations/1526315524-DOWN-add-bank-accounts.sql b/migrator/migrations/1526315524-DOWN-add-bank-accounts.sql deleted file mode 100644 index 5b756998..00000000 --- a/migrator/migrations/1526315524-DOWN-add-bank-accounts.sql +++ /dev/null @@ -1,2 +0,0 @@ --- 1526315524 DOWN add-bank-accounts -update companies set data = ''; diff --git a/migrator/migrations/1526315524-UP-add-bank-accounts.sql b/migrator/migrations/1526315524-UP-add-bank-accounts.sql deleted file mode 100644 index 7e302947..00000000 --- a/migrator/migrations/1526315524-UP-add-bank-accounts.sql +++ /dev/null @@ -1,2 +0,0 @@ --- 1526315524 UP add-bank-accounts -update companies set data = '{:bank-accounts [{:number "123456789" :id 1 :check-number 6789 :bank-name "Bank of America" :bank-code "90-4149/1211" :routing "12345678" :name "BOA-6789"} {:number "987654321" :id 2 :check-number 1234 :bank-name "Bank of America" :bank-code "90-4149/1211" :routing "123456" :name "BOA-4321"}]}'; diff --git a/migrator/migrations/1526400685-DOWN-store-outstanding-balance.sql b/migrator/migrations/1526400685-DOWN-store-outstanding-balance.sql deleted file mode 100644 index 5202df6f..00000000 --- a/migrator/migrations/1526400685-DOWN-store-outstanding-balance.sql +++ /dev/null @@ -1,2 +0,0 @@ --- 1526400685 DOWN store-outstanding-balance -ALTER TABLE invoices drop column outstanding_balance; diff --git a/migrator/migrations/1526400685-UP-store-outstanding-balance.sql b/migrator/migrations/1526400685-UP-store-outstanding-balance.sql deleted file mode 100644 index f48fab6b..00000000 --- a/migrator/migrations/1526400685-UP-store-outstanding-balance.sql +++ /dev/null @@ -1,3 +0,0 @@ --- 1526400685 UP store-outstanding-balance -ALTER TABLE invoices add column outstanding_balance DECIMAL; -UPDATE invoices set outstanding_balance = total; diff --git a/migrator/migrations/1526611275-DOWN-move-address-to-data.sql b/migrator/migrations/1526611275-DOWN-move-address-to-data.sql deleted file mode 100644 index c645ccd6..00000000 --- a/migrator/migrations/1526611275-DOWN-move-address-to-data.sql +++ /dev/null @@ -1,15 +0,0 @@ --- 1526611275 DOWN move-address-to-data -alter table vendors -add column address1 varchar (255); - -alter table vendors -add column address2 varchar (255); - -alter table vendors -add column city varchar (255); - -alter table vendors -add column state varchar (255); - -alter table vendors -add column zip varchar (255); diff --git a/migrator/migrations/1526611275-UP-move-address-to-data.sql b/migrator/migrations/1526611275-UP-move-address-to-data.sql deleted file mode 100644 index 30a52c1a..00000000 --- a/migrator/migrations/1526611275-UP-move-address-to-data.sql +++ /dev/null @@ -1,18 +0,0 @@ --- 1526611275 UP move-address-to-data -UPDATE vendors v -set data = CONCAT('{ ' -, ' :address { ' -, ' :street1 "' , v.address1 , '" ' -, ' :street2 "' , v.address2 , '" ' -, ' :city "' , v.city , '" ' -, ' :state "' , v.state , '" ' -, ' :zip "' , v.zip , '" ' -, ' }' -, ' }'); - - -alter table vendors drop column address1; -alter table vendors drop column address2; -alter table vendors drop column city; -alter table vendors drop column state; -alter table vendors drop column zip; diff --git a/migrator/migrations/1527534504-DOWN-create-default-expense-account.sql b/migrator/migrations/1527534504-DOWN-create-default-expense-account.sql deleted file mode 100644 index 1ee59910..00000000 --- a/migrator/migrations/1527534504-DOWN-create-default-expense-account.sql +++ /dev/null @@ -1,5 +0,0 @@ --- 1527534504 DOWN create-default-expense-account - -alter table vendors drop column default_expense_account; - -drop table invoices_expense_accounts; diff --git a/migrator/migrations/1527534504-UP-create-default-expense-account.sql b/migrator/migrations/1527534504-UP-create-default-expense-account.sql deleted file mode 100644 index 0b77b688..00000000 --- a/migrator/migrations/1527534504-UP-create-default-expense-account.sql +++ /dev/null @@ -1,8 +0,0 @@ --- 1527534504 UP create-default-expense-account - -alter table vendors add column default_expense_account INT; - -create table invoices_expense_accounts (id serial primary key, invoice_id int references invoices(id), expense_account_id int not null, amount decimal not null); - - -update vendors set default_expense_account = 0; diff --git a/migrator/migrations/1529005616-DOWN-add-yodleee-staging.sql b/migrator/migrations/1529005616-DOWN-add-yodleee-staging.sql deleted file mode 100644 index a7c284c6..00000000 --- a/migrator/migrations/1529005616-DOWN-add-yodleee-staging.sql +++ /dev/null @@ -1,2 +0,0 @@ --- 1529005616 DOWN add-yodleee-staging -drop table transactions; diff --git a/migrator/migrations/1529005616-UP-add-yodleee-staging.sql b/migrator/migrations/1529005616-UP-add-yodleee-staging.sql deleted file mode 100644 index a01409e1..00000000 --- a/migrator/migrations/1529005616-UP-add-yodleee-staging.sql +++ /dev/null @@ -1,19 +0,0 @@ --- 1529005616 UP add-yodleee-staging -create table transactions ( -amount decimal, -description_original varchar(255), -description_simple varchar (255), -merchant_id varchar(255), -merchant_name varchar(255), -id int primary key, -date timestamp, -post_date timestamp, -type varchar(255), -account_id int, -status varchar(255), -vendor_id int references vendors(id), -company_id int references companies(id), -check_id int references checks(id) -); - - diff --git a/migrator/migrations/1529091932-DOWN-add-location-to-expense-account.sql b/migrator/migrations/1529091932-DOWN-add-location-to-expense-account.sql deleted file mode 100644 index e21d74e3..00000000 --- a/migrator/migrations/1529091932-DOWN-add-location-to-expense-account.sql +++ /dev/null @@ -1,3 +0,0 @@ --- 1529091932 DOWN add-location-to-expense-account - -ALTER TABLE invoices_expense_accounts drop COLUMN location ; diff --git a/migrator/migrations/1529091932-UP-add-location-to-expense-account.sql b/migrator/migrations/1529091932-UP-add-location-to-expense-account.sql deleted file mode 100644 index 4d3bdda1..00000000 --- a/migrator/migrations/1529091932-UP-add-location-to-expense-account.sql +++ /dev/null @@ -1,2 +0,0 @@ --- 1529091932 UP add-location-to-expense-account -ALTER TABLE invoices_expense_accounts ADD COLUMN location varchar(255); diff --git a/migrator/migrations/1529684190-DOWN-reset-database.sql b/migrator/migrations/1529684190-DOWN-reset-database.sql deleted file mode 100644 index 5f3ecb9b..00000000 --- a/migrator/migrations/1529684190-DOWN-reset-database.sql +++ /dev/null @@ -1 +0,0 @@ --- 1529684190 DOWN reset-database \ No newline at end of file diff --git a/migrator/migrations/1529684190-UP-reset-database.sql b/migrator/migrations/1529684190-UP-reset-database.sql deleted file mode 100644 index 6ecfc642..00000000 --- a/migrator/migrations/1529684190-UP-reset-database.sql +++ /dev/null @@ -1,192 +0,0 @@ --- 1529684190 UP reset-database -delete from invoices_expense_accounts; -delete from invoices_checks; -delete from checks; -delete from invoices; -delete from vendors; -delete from companies; - - -INSERT INTO companies (code, name, data) -VALUES -('BCBC', 'Brown Chicken Brown Cow', '{:locations ["CB"] }'), -('BSG', 'Bella Saratoga', '{:locations ["SG"] }'), -('CBC', 'Campbell Brewing Co', '{:locations ["CB"]}'), -('IBC', 'Iguanas Burritozilla', '{:locations ["DT" "EG" "SC" "EG" "SG" "CB" "BH"] :bank-accounts [{:number "123456789" :id 1 :check-number 6789 :bank-name "Bank of America" :bank-code "90-4149/1211" :routing "12345678" :name "BOA-6789" :yodlee-account-id 11703936} {:number "987654321" :id 2 :check-number 1234 :bank-name "Bank of America" :bank-code "90-4149/1211" :routing "123456" :name "BOA-4321"}]}'), -('IBCBC', 'Shared CBC-IBC Expenses', '{:locations ["CB"]}'), -('KOG', 'Knock Out Grill & Bar', '{:locations ["SV"]}'), -('LFT', 'Lefty''s East Coast Pizzeria', '{:locations ["SB"]}'), -('MVSG', 'Mio Saratoga', '{:locations ["SG"]}'), -('MAM', 'Mama Mia''s', '{:locations ["SB"]}'), -('MLF', 'Mama Lu''s Foods', '{:locations ["SJ"]}'), -('MPI', 'Moscini Pizza Inc', '{:locations ["CB" "BM" "SC"]}'), -('NBST', 'Nasch Bistro', '{:locations ["LG"]}'), -('NMKT', 'Naschmarkt', '{:locations ["CB"]}'), -('RCI', 'Roberto''s Cantina Inc', '{:locations ["SV"]}'), -('SIB', 'Sorelle Italian Bistro', '{:locations ["ST"]}'), -('WGC', 'Willow Glen Creamery', '{:locations ["WG" "CB" "GS"]}'), -('TSL', 'The Socialight', '{:locations ["CB"]}'); - -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (111, 'Acme Bread', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5140); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (112, 'Alfredo''s Produce', '{:address {:street1 "55 Sunol St", :street2 "", :city "San Jose", :state "CA", :zip "95126"}}', NULL, NULL, NULL, 'Oscar', 'candelas_oscar@yahoo.com', '408-806-4150', 'oscar.candelas1@gmail.com', 'oscar.candelas@gmail.com', '', 5120); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (113, 'Aloha Paid Out', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (114, 'Alsco', '{:address {:street1 "2275 Junction Ave", :street2 "", :city "San Jose", :state "CA", :zip "95131"}}', NULL, NULL, NULL, 'Suki', 'spham@alsco.com', '408-279-2345', '', '', '', 7435); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (115, 'American Wine & Spirits', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Nicholas Stagnaro', NULL, '408-838-1005', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (116, 'Aramark', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (117, 'Auto-Chlor', '{:address {:street1 "3400 Thomas Rd", :street2 "", :city "Santa Clara", :state "CA", :zip "95054"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7410); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (118, 'Bassian Farms Inc', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Flora Hernandez', 'fhernandez@bassianfarms.com', 'Mike Maltese, Sales: 408-691-8487', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (119, 'Better Brands', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Fred', 'fredmontalvo@hotmail.com', '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (120, 'Bigoli Fresh Pasta', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', 'info@bigolifreshpasta.com', '', '', '', '', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (121, 'BiRite', '{:address {:street1 "123 South Hill Drive", :street2 "", :city "Brisbane", :state "CA", :zip "94005"}}', NULL, NULL, NULL, 'Justin', NULL, '', '', '', '', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (122, 'BSG Craftbrewing', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Amanda Steele', 'asteele@bsgcraft.com', '952-465-0596', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (123, 'Carbonic Service Inc', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Cynthia', 'cynthia@carbonicservice.com', '408-727-8835', '', 'info@carbonicservices.com', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (124, 'Chavez Distributors', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Chavez', 'chavezdist@gmail.com', '510-352-8431', 'Alejandra', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (125, 'Chef''s Choice Produce Co', '{:address {:street1 "2170 Martin Avenue", :street2 "", :city "Santa Clara", :state "CA", :zip "95050"}}', NULL, NULL, NULL, 'Anna', 'Accounting@chefschoiceproduce.com', '', '', '', '', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (126, 'Chef''s Warehouse', '{:address {:street1 "1250 Whipple Rd.", :street2 "", :city "Union City", :state "CA", :zip "94587"}}', NULL, NULL, NULL, 'Deborah', 'dvalle@chefswarehouse.com', '510.627.0093', '', '', '', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (127, 'Chesbro', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Robin Voss', 'risingstarwinegroup@hotmail.com', '831-392-7984', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (128, 'Chrissa Imports Ltd', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Segev', 'orders@chrissaimports.com', '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (129, 'Cintas', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', 'Loc00W01@cintas.com', '916.576.4104 ', 'Ruth Moya- prev the contact', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (130, 'Cintas - Towels', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', 'Loc00W01@cintas.com', '916.576.4104 ', 'Ruth Moya- prev the contact', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (131, 'Classic Mix - Galloway Company', '{:address {:street1 "PO Box 617", :street2 "", :city "Neenah", :state "CA", :zip "54957"}}', NULL, NULL, NULL, 'Linda', 'lfournier@gallowaycompany.com', '', '', '', '', 5130); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (132, 'Classic Wines', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'AR', 'bronco.ar@broncowine.com', '800-692-5780', 'Laura, AR person I talked to', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (133, 'Daylight Foods', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (134, 'DBI Beverage', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Grace Miller', 'grace.miller@dbibeverage.com', '408-380-5235', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (135, 'Del Monte Meat Co', '{:address {:street1 "PO Box 101831", :street2 "", :city "Pasadena", :state "CA", :zip "91189"}}', NULL, NULL, NULL, 'Vicki', 'vickic@delmontemeat.com', '', '', '', '', 5111); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (136, 'Digital Dining Paid Out', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (137, 'DVW Commercial', '{:address {:street1 "38507 Cherry St., Suite I", :street2 "", :city "Newark", :state "CA", :zip "94560"}}', NULL, NULL, NULL, 'Lily', 'dvwcommercial@hotmail.com', '', '', '', '', 5910); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (138, 'Eddie''s Produce', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Eddie', 'eddiesfreshproduce.sj@gmail.com', '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (139, 'Epic Wines & Spirits', '{:address {:street1 "P.O. Box 8366", :street2 "", :city "Pasadena", :state "CA", :zip "91109"}}', NULL, NULL, NULL, '', NULL, '888-565-4352', '', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (140, 'Frank Family Vineyards', '{:address {:street1 "PO Box 1012", :street2 "", :city "St Helena", :state "CA", :zip "94574"}}', NULL, NULL, NULL, '', 'ar@vintagewinemarketing.com', '', '', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (141, 'Fresh and Best Produce', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Abraham', 'freshbestarap@gmail.com', '', 'Abraham - Sales Rep', '', 'Cell 510-375-4518', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (142, 'GE Mobile Water, Inc', '{:address {:street1 "PO Box 742132", :street2 "", :city "Los Angeles", :state "CA", :zip "90074"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (143, 'Golden Gate Meat Company, Inc', '{:address {:street1 "803 Wright Ave", :street2 "", :city "Richmond", :state "CA", :zip "94804"}}', NULL, NULL, NULL, 'Greg', 'GregM@ggmeatco.com', '', '', '', '', 5111); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (144, 'Half Moon Bay Brewing Co, Inc', '{:address {:street1 "PO Box 879", :street2 "", :city "El Granada", :state "CA", :zip "94018"}}', NULL, NULL, NULL, 'Emily', 'emily@hmbbrewingco.com', '650-728-2739', '', '', '', 5410); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (145, 'Il Pastaio Foods', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (146, 'International Food Distributing', '{:address {:street1 "822 American Street", :street2 "", :city "San Carlos", :state "CA", :zip "94070"}}', NULL, NULL, NULL, 'Dan', 'dan@inter-national-foods.com', '650-593-7183', '', '', '', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (147, 'ISP Productions', '{:address {:street1 "2468 Karen Dr, Unit 1", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Greg', 'super851@gmail.com', '(408) 891-8122', '', '', '', 7244); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (148, 'ItalFoods Inc', '{:address {:street1 "PO BOX 7511", :street2 "", :city "San Francisco", :state "CA", :zip "94120"}}', NULL, NULL, NULL, 'Paris', 'pglass@italfoodsinc.com', '650 877 0724, ext 326', '', '', '', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (149, 'ItalFoods Inc', '{:address {:street1 "PO BOX 2563", :street2 "", :city "Morgan Hill", :state "CA", :zip "95038"}}', NULL, NULL, NULL, 'Jennifer', 'jenniferc@lusamerica.com', '408 778 7200', '', '', '', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (150, 'Julius Meinl', '{:address {:street1 "4115 N. Ravenswood Ave", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Tiffany', 'tiffany.marchan@meinl.com', '773-954-7571', '', '', '', 5220); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (151, 'JVS Wine Imports', '{:address {:street1 "360 Swift Ave Side B Ste 9", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (152, 'Laird Family Wine', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Robin Voss', 'risingstarwinegroup@hotmail.com', '831-392-7984', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (153, 'Le Boulanger', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Anna Lisa Daniel', 'adaniel@leboulanger.com', '408-774-9000 ext 278', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (154, 'Lettieri & Co', '{:address {:street1 "120 Park Lane", :street2 "", :city "Brisbane", :state "CA", :zip "94005"}}', NULL, NULL, NULL, 'Selo', 'selo@lettieri.com', '', '', '', '', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (155, 'Lusamerica Foods, Inc', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Jennifer', 'jenniferc@lusamerica.com', '', '', '', '', 5114); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (156, 'Mama Lu''s Foods', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Sam Orozco', 'bigsam@mamalusfoods.com', '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (157, 'Mama Lu''s Invoices', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Sam Orozco', 'bigsam@mamalusfoods.com', '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (158, 'Marianne''s Ice Cream', '{:address {:street1 "2100 B Delaware Ave", :street2 "", :city "Santa Cruz", :state "CA", :zip "95060"}}', NULL, NULL, NULL, 'Alice', 'kd@mariannesicecream.com', '', '', '', '', 5130); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (159, 'Mission Linen Supply', '{:address {:street1 "601 Swift St", :street2 "", :city "Santa Cruz", :state "CA", :zip "95060"}}', NULL, NULL, NULL, '', NULL, '831-423-1630', '', '', '', 7435); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (160, 'Mt Eden Winery', '{:address {:street1 "22020 Mount Eden Rd", :street2 "", :city "Saratoga", :state "CA", :zip "95070"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (161, 'New York Style Sausage Co.', '{:address {:street1 "1228 Reamwood Ave", :street2 "", :city "Sunnyvale", :state "CA", :zip "94089"}}', NULL, NULL, NULL, 'Kay', 'nysdon@aol.com', '', '', '', '', 5111); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (162, 'Newport Fish Co', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Christina Brooks', 'newportfish@earthlink.net', '650-877-7200', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (163, 'Original Roasters', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Joaquin Gomez ', 'jgomez@originalroasters.com', '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (164, 'Pacific Edge Wine & Spirits', '{:address {:street1 "5155 Clareton Drive, 100", :street2 "", :city "Agoura Hills", :state "CA", :zip "91301"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (165, 'Palo Alto Foods', '{:address {:street1 "6691 Clark Ave", :street2 "", :city "Newark", :state "CA", :zip "94560"}}', NULL, NULL, NULL, 'Evelyn', 'evelyn@paloaltofoods.com', '', '', '', '', 5130); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (166, 'Pelerin Wines', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Robin Voss', 'risingstarwinegroup@hotmail.com', '831-392-7984', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (167, 'Performance Food Group', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Cristin Garden', 'Cristin.Garden@pfgc.com', '831-465-3212', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (168, 'Performance Food Group - Joan', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Joant Yount', 'Joan.Yount@pfgc.com', '831-465-3212', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (169, 'Performance Food Group - KOG', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Greg Sosebee', 'greg.sosebee@pfgc.com', '408-499-9863', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (170, 'Performance Food Group - LFT', '{:address {:street1 "PO Box 951080", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Michael Forman', 'michael.forman@pfgc.com', '408-799-3772', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (171, 'Performance Food Group - RCI', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Carlos Gonzalez', 'carlos.gonzalez@pfgc.com', '831-465-3212', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (172, 'Performance Food Group - ROMA', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (173, 'Performance Food Group - SIB', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Joant Yount', 'Joan.Yount@pfgc.com', '831-465-3212', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (174, 'Pride Mountain Vineyards', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Robin Voss', 'risingstarwinegroup@hotmail.com', '831-392-7984', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (175, 'Prudential Overall Supply', '{:address {:street1 "PO Box 11210", :street2 "", :city "Santa Ana", :state "CA", :zip "92711"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7435); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (176, 'Ralph Martinez', '{:address {:street1 "1071 Topaz Ave Apt. C", :street2 "", :city "San Jose", :state "CA", :zip "95117"}}', NULL, NULL, NULL, 'Ralph', NULL, '', '', '', '', 7440); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (177, 'Regal Wine Co', '{:address {:street1 "PO Box 2160", :street2 "", :city "Windsor", :state "CA", :zip "95492"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (178, 'Rhodes-To-Wine com', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Rebecca Rhodes ', 'rebecca@rhodes-to-wine.com', '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (179, 'Royal Hawaiian', '{:address {:street1 "213 E. Harris Ave ", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5114); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (180, 'S. Ramirez Distribution', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Lupe', 'Guadalupe.Ramirez@unionbank.com', '650-365-2110 (W) 650-568-5883 (Direct)', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (181, 'Saportio Foods Inc', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (182, 'Scanned Invoices', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Ron', 'rjb.jr62@gmail.com', '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (183, 'Southern Glazers', '{:address {:street1 "P.O. Box 742313", :street2 "", :city "Los Angeles", :state "CA", :zip "90074"}}', NULL, NULL, NULL, 'Mark', NULL, '', 'For Online Modules', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (184, 'Suprema Meat Company', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Berta Gonzalez', 'supremini@sbcglobal.net', '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (185, 'Sysco', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (186, 'System Services of America', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (187, 'Testarossa Winery', '{:address {:street1 "PO Box 969", :street2 "", :city "Los Gatos", :state "CA", :zip "95031"}}', NULL, NULL, NULL, 'Jessica Morocco', 'jmorocco@testarossa.com', '408-354-6150 xt 49', '', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (188, 'The Alarm Company', '{:address {:street1 "PO Box 178", :street2 "", :city "Los Gatos", :state "CA", :zip "95031"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7450); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (189, 'Top Hat Provisions, LLC', '{:address {:street1 "1 South Park St., Unit 205", :street2 "", :city "San Francisco", :state "CA", :zip "94107"}}', NULL, NULL, NULL, 'Auto-email', 'Orders@TopHatProvisions.com', '415-902-7821', '', '', '', 5610); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (190, 'Treat Ice Cream', '{:address {:street1 "11 South 19th Street", :street2 "", :city "San Jose", :state "CA", :zip "95116"}}', NULL, NULL, NULL, 'Bob', 'bob@treaticecream.com', '', '', '', '', 5130); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (191, 'United Hop Farm', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Ro Nayyar ', 'ro@unitedhops.com', '(916) 899-9578', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (192, 'US Foods', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Erol', NULL, '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (193, 'Vance Wine Selections', '{:address {:street1 "2060-D East Avenida de Los Arboles 306", :street2 "", :city "Thousand Oaks", :state "CA", :zip "91362"}}', NULL, NULL, NULL, 'Sami', 'notic+invoices@vinosmith.com', '805 368 0707', '', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (194, 'Vigneron Imports', '{:address {:street1 "6 Barner Place", :street2 "", :city "Oakland", :state "CA", :zip "94602"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (195, 'Vince''s Shellfish Co Inc', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (196, 'Vino Favoloso LLC', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (197, 'Vintage Wine Marketing', '{:address {:street1 "PO Box 5149", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (198, 'Wine Bridge Imports', '{:address {:street1 "PO Box 2272", :street2 "", :city "Davis", :state "CA", :zip "95617"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (199, 'Wine Warehouse', '{:address {:street1 "PO Box 45616", :street2 "", :city "San Francisco", :state "CA", :zip "94145"}}', NULL, NULL, NULL, 'Robert Favela', 'r.favela@winewarehouse.com', '', '', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (200, 'Wine Wise', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Devo Price', NULL, '', 'Brian Greenwood', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (201, 'Youngs Market', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Hello,', 'fileclerk@youngsmarket.com', '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (202, 'PG&E', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 8310); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (203, 'Able Septic Tank Service', '{:address {:street1 "1020 Ruff Drive", :street2 "", :city "San Jose", :state "CA", :zip "95110"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7460); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (204, 'Altamont Beer Works', '{:address {:street1 "2402 Research Dr", :street2 "", :city "Livermore", :state "CA", :zip "94550"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5410); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (205, 'American Beverage Equipment', '{:address {:street1 "PO Box 28646", :street2 "", :city "San Jose", :state "CA", :zip "95159"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7320); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (206, 'America''s Best Coffee Roasting Co', '{:address {:street1 "600 50th Ave", :street2 "", :city "Oakland", :state "CA", :zip "94601"}}', NULL, NULL, NULL, '', 'office@ambestcoffee.com', '415-285-5556', '', '', '', 5220); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (207, 'Anheiser Busch', '{:address {:street1 "15420 Cobalt St, Box: Bay Area", :street2 "", :city "Los Angeles", :state "CA", :zip "91342"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5410); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (208, 'Bay City Boiler & Engineering', '{:address {:street1 "23312 Cabot Blvd", :street2 "", :city "Hayward", :state "CA", :zip "94545"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7460); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (209, 'Bigoli Fresh Pasta', '{:address {:street1 "1010 Cass St., Suite B4", :street2 "", :city "Monterey", :state "CA", :zip "93940"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (210, 'Bordenave''s', '{:address {:street1 "1512 4th Street", :street2 "", :city "San Rafael", :state "CA", :zip "94901"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5140); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (211, 'California Print Services', '{:address {:street1 "1442 S. Winchester Blvd.", :street2 "", :city "San Jose", :state "CA", :zip "95128"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7120); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (212, 'ChemMark of Santa Clara County Inc', '{:address {:street1 "899 Leong Dr", :street2 "", :city "Mountain View", :state "CA", :zip "94043"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7410); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (213, 'De Anza Water Conditioning, Inc', '{:address {:street1 "200 E. Hamilton Ave", :street2 "", :city "Campbell", :state "CA", :zip "95008"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7410); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (214, 'Donald M Hughes', '{:address {:street1 "2185 Old Middlefield Way", :street2 "", :city "Mountain View", :state "CA", :zip "94043"}}', NULL, NULL, NULL, '', NULL, '650-967-8258', '', '', '', 7120); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (215, 'Fort Point Beer Company', '{:address {:street1 "644 Old Mason St", :street2 "", :city "San Francisco", :state "CA", :zip "94129"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5410); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (216, 'Good News Restaurant Supply', '{:address {:street1 "1211 Water Street", :street2 "", :city "Santa Cruz", :state "CA", :zip "95062"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7140); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (217, 'Grainger', '{:address {:street1 "2261 Ringwood Ave", :street2 "", :city "San Jose", :state "CA", :zip "95131"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7460); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (218, 'Guillermo Alvarez', '{:address {:street1 "2927 Magliocco Drive, 4", :street2 "", :city "San Jose", :state "CA", :zip "95128"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7450); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (219, 'Hermitage Brewing Co', '{:address {:street1 "1627 S 7th Street", :street2 "", :city "San Jose", :state "CA", :zip "95112"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5410); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (220, 'Home Depot Credit Card', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 9890); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (221, 'Horizon Beverage Company', '{:address {:street1 "8380 Pardee Dr", :street2 "", :city "Oakland", :state "CA", :zip "94621"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5410); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (222, 'Jerry McDougal - Reimbursement', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (223, 'Ken Toyama', '{:address {:street1 "171 Bellerose", :street2 "", :city "San Jose", :state "CA", :zip "95128"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 9120); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (224, 'Liberty Mutual Insurance', '{:address {:street1 "PO Box 85834", :street2 "", :city "San Diego", :state "CA", :zip "92186"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 8510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (225, 'Marianne''s Ice Cream', '{:address {:street1 "2100 B Delaware Avenue", :street2 "", :city "Santa Cruz", :state "CA", :zip "95060"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5130); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (226, 'Michael Paine - Reimbursement', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (227, 'NA', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (228, 'New Bohemia Brewing Co', '{:address {:street1 "1030 41st Ave", :street2 "", :city "Santa Cruz", :state "CA", :zip "95062"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5410); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (229, 'Peerless Coffee and Tea', '{:address {:street1 "260 Oak Street", :street2 "", :city "Oakland", :state "CA", :zip "94607"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5220); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (230, 'PG&E', '{:address {:street1 "10900 N Blaney Ave", :street2 "", :city "Cupertino", :state "CA", :zip "95014"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 8310); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (231, 'Polaris Pest Elimination', '{:address {:street1 "4435 First St 276", :street2 "", :city "Livermore", :state "CA", :zip "94551"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7455); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (232, 'Primizie Foods Inc', '{:address {:street1 "23840 Foley Street", :street2 "", :city "Hayward", :state "CA", :zip "94545"}}', NULL, NULL, NULL, '', 'Billing@primiziefoods.com', '510-441-0603', '', '', '', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (233, 'Rainbow Chamber of Commerce Silicon Valley', '{:address {:street1 "1070 Stewart Dr, Suite 1", :street2 "", :city "Sunnyvale", :state "CA", :zip "94085"}}', NULL, NULL, NULL, '', 'members@rainbowchamber.org', '408-998-9600', '', '', '', 9110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (234, 'Restaurant Tea Service of Norcal', '{:address {:street1 "PO Box 1667", :street2 "", :city "Oakdale", :state "CA", :zip "95361"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5220); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (235, 'Rosenson''s Wine Creations', '{:address {:street1 "PO Box 5149", :street2 "", :city "Napa", :state "CA", :zip "94581"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (236, 'Roto Rooter Plumbers', '{:address {:street1 "356 Matthew Street", :street2 "", :city "Santa Clara", :state "CA", :zip "95050"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7440); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (237, 'San Jose Water Co', '{:address {:street1 "110 W. Taylor St.", :street2 "", :city "San Jose", :state "CA", :zip "95110"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 8340); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (238, 'Universal Restaurant Services Inc', '{:address {:street1 "PO Box 59742", :street2 "", :city "San Jose", :state "CA", :zip "95159"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7460); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (239, 'Viking Alarm Systems', '{:address {:street1 "690 Lenfest Rd", :street2 "", :city "San Jose", :state "CA", :zip "95133"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 9370); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (240, 'White Labs', '{:address {:street1 "9495 Candida Street", :street2 "", :city "San Diego", :state "CA", :zip "92126"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5410); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (241, 'Juans Appliance Service', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '408-439-3263', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (242, 'BMI', '{:address {:street1 "", :street2 "", :city "Cincinatti", :state "CA", :zip "45263"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (243, 'Amazon', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (244, 'AFS IBEX', '{:address {:street1 "PO Box 100045", :street2 "", :city "Pasadena", :state "CA", :zip "91189"}}', NULL, NULL, NULL, '', NULL, '877 237 4239', '', '', '', 8510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (245, 'Broadcast Music Inc', '{:address {:street1 "10 Music Square East", :street2 "", :city "Nashville", :state "CA", :zip "37203"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7242); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (246, 'Home Depot', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7120); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (247, 'Republic Indemnity', '{:address {:street1 "1045 N. Fourth Street", :street2 "", :city "San Jose", :state "CA", :zip "95112"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 8510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (248, 'Hop Dogma Brewing Co', '{:address {:street1 "PO Box 1375", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5410); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (249, 'Juan''s Appliance Service', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7460); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (250, 'Balbuena Carpet Cleaning', '{:address {:street1 "158 Bosque St", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7450); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (251, 'Primizie Foods, Inc', '{:address {:street1 "23840 Foley Street", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (252, 'Best Version Media/Transworld Systems Inc', '{:address {:street1 "PO BOX 15520", :street2 "", :city "Wilmington", :state "CA", :zip "198505520"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7230); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (253, 'Ace Fire Equipment', '{:address {:street1 "PO Box 1142", :street2 "", :city "Palo Alto", :state "CA", :zip "94302"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7450); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (254, 'Campbell Chamber of Commerce', '{:address {:street1 "267 E Campbell Ave. - C", :street2 "", :city "Campbell", :state "CA", :zip "95008"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 8130); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (255, 'County of Santa Clara - Evironmental Health', '{:address {:street1 "1555 Berger Dr, Ste 300", :street2 "", :city "San Jose", :state "CA", :zip "95112"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 8620); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (256, 'County of Santa Clara - Dept of Tax and Collections', '{:address {:street1 "70 West Hedding Street, East Wing, 6th Floor", :street2 "", :city "San Jose", :state "CA", :zip "95110"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 8710); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (257, 'Draft Pros', '{:address {:street1 "1177 Branham Ln 361", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7320); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (258, 'Dorman Electric', '{:address {:street1 "2261 Fairvalley Ct", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '408-898-0132', '', '', '', 7440); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (259, 'Ascap', '{:address {:street1 "PO BOX 331608", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7246); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (260, 'Santa Clara County Fire Department ', '{:address {:street1 "14700 Winchester Blvd. ", :street2 "", :city "Los Gatos", :state "CA", :zip "95032"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7450); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (261, 'P&R Paper Supply Company Inc. ', '{:address {:street1 "2000 University Ave. ", :street2 "", :city "Berkley", :state "CA", :zip "92373"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5910); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (262, 'San Francisco Brewing Co.', '{:address {:street1 "100 Broderick St Suite 401", :street2 "", :city "San Francisco", :state "CA", :zip "94117"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5410); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (263, 'Franchise Tax Board', '{:address {:street1 "PO Box 942857", :street2 "", :city "Sacramento", :state "CA", :zip "94257"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 9720); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (264, 'Discretion Brewing ', '{:address {:street1 "2703 41st Street Suite A", :street2 "", :city "Soquel", :state "CA", :zip "95073"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5410); - - --- --- Name: vendors_id_seq; Type: SEQUENCE SET; Schema: public; Owner: ap --- - -SELECT pg_catalog.setval('public.vendors_id_seq', 264, true); - - diff --git a/migrator/migrations/1529694212-DOWN-add-default-location.sql b/migrator/migrations/1529694212-DOWN-add-default-location.sql deleted file mode 100644 index a7fcd409..00000000 --- a/migrator/migrations/1529694212-DOWN-add-default-location.sql +++ /dev/null @@ -1,3 +0,0 @@ --- 1529694212 DOWN add-default-location - -ALTER table invoices drop column default_location; diff --git a/migrator/migrations/1529694212-UP-add-default-location.sql b/migrator/migrations/1529694212-UP-add-default-location.sql deleted file mode 100644 index 90fa1dd8..00000000 --- a/migrator/migrations/1529694212-UP-add-default-location.sql +++ /dev/null @@ -1,2 +0,0 @@ --- 1529694212 UP add-default-location -ALTER table invoices add column default_location varchar (255); diff --git a/migrator/migrations/1530242355-DOWN-add-check-number.sql b/migrator/migrations/1530242355-DOWN-add-check-number.sql deleted file mode 100644 index 250cd905..00000000 --- a/migrator/migrations/1530242355-DOWN-add-check-number.sql +++ /dev/null @@ -1,6 +0,0 @@ --- 1530242355 DOWN add-check-number -alter table transactions drop column check_number; -alter table transactions drop column bank_account_id; - - -alter table checks drop column bank_account_id; diff --git a/migrator/migrations/1530242355-UP-add-check-number.sql b/migrator/migrations/1530242355-UP-add-check-number.sql deleted file mode 100644 index ae2443d3..00000000 --- a/migrator/migrations/1530242355-UP-add-check-number.sql +++ /dev/null @@ -1,5 +0,0 @@ --- 1530242355 UP add-check-number -alter table transactions add column check_number INT; -alter table transactions add column bank_account_id int; - -alter table checks add column bank_account_id int; diff --git a/migrator/migrations/1530253647-DOWN-reset-database.sql b/migrator/migrations/1530253647-DOWN-reset-database.sql deleted file mode 100644 index 68880ecb..00000000 --- a/migrator/migrations/1530253647-DOWN-reset-database.sql +++ /dev/null @@ -1 +0,0 @@ --- 1530253647 DOWN reset-database \ No newline at end of file diff --git a/migrator/migrations/1530253647-UP-reset-database.sql b/migrator/migrations/1530253647-UP-reset-database.sql deleted file mode 100644 index 813cb022..00000000 --- a/migrator/migrations/1530253647-UP-reset-database.sql +++ /dev/null @@ -1,193 +0,0 @@ --- 1530253647 UP reset-database --- 1529684190 UP reset-database -delete from invoices_expense_accounts; -delete from invoices_checks; -delete from transactions; -delete from checks; -delete from invoices; -delete from vendors; -delete from companies; - - -INSERT INTO companies (code, name, data) -VALUES -('BCBC', 'Brown Chicken Brown Cow', '{:locations ["CB"] }'), -('BSG', 'Bella Saratoga', '{:locations ["SG"] }'), -('CBC', 'Campbell Brewing Co', '{:locations ["CB"]}'), -('IBC', 'Iguanas Burritozilla', '{:locations ["DT" "EG" "SC" "EG" "SG" "CB" "BH"] :bank-accounts [{:number "123456789" :id 1 :check-number 6789 :bank-name "Bank of America" :bank-code "90-4149/1211" :routing "12345678" :name "BOA-6789" :yodlee-account-id 11703936} {:number "987654321" :id 2 :check-number 1234 :bank-name "Bank of America" :bank-code "90-4149/1211" :routing "123456" :name "BOA-4321"}]}'), -('IBCBC', 'Shared CBC-IBC Expenses', '{:locations ["CB"]}'), -('KOG', 'Knock Out Grill & Bar', '{:locations ["SV"]}'), -('LFT', 'Lefty''s East Coast Pizzeria', '{:locations ["SB"]}'), -('MVSG', 'Mio Saratoga', '{:locations ["SG"]}'), -('MAM', 'Mama Mia''s', '{:locations ["SB"]}'), -('MLF', 'Mama Lu''s Foods', '{:locations ["SJ"]}'), -('MPI', 'Moscini Pizza Inc', '{:locations ["CB" "BM" "SC"]}'), -('NBST', 'Nasch Bistro', '{:locations ["LG"]}'), -('NMKT', 'Naschmarkt', '{:locations ["CB"]}'), -('RCI', 'Roberto''s Cantina Inc', '{:locations ["SV"]}'), -('SIB', 'Sorelle Italian Bistro', '{:locations ["ST"]}'), -('WGC', 'Willow Glen Creamery', '{:locations ["WG" "CB" "GS"]}'), -('TSL', 'The Socialight', '{:locations ["CB"]}'); - -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (111, 'Acme Bread', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5140); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (112, 'Alfredo''s Produce', '{:address {:street1 "55 Sunol St", :street2 "", :city "San Jose", :state "CA", :zip "95126"}}', NULL, NULL, NULL, 'Oscar', 'candelas_oscar@yahoo.com', '408-806-4150', 'oscar.candelas1@gmail.com', 'oscar.candelas@gmail.com', '', 5120); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (113, 'Aloha Paid Out', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (114, 'Alsco', '{:address {:street1 "2275 Junction Ave", :street2 "", :city "San Jose", :state "CA", :zip "95131"}}', NULL, NULL, NULL, 'Suki', 'spham@alsco.com', '408-279-2345', '', '', '', 7435); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (115, 'American Wine & Spirits', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Nicholas Stagnaro', NULL, '408-838-1005', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (116, 'Aramark', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (117, 'Auto-Chlor', '{:address {:street1 "3400 Thomas Rd", :street2 "", :city "Santa Clara", :state "CA", :zip "95054"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7410); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (118, 'Bassian Farms Inc', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Flora Hernandez', 'fhernandez@bassianfarms.com', 'Mike Maltese, Sales: 408-691-8487', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (119, 'Better Brands', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Fred', 'fredmontalvo@hotmail.com', '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (120, 'Bigoli Fresh Pasta', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', 'info@bigolifreshpasta.com', '', '', '', '', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (121, 'BiRite', '{:address {:street1 "123 South Hill Drive", :street2 "", :city "Brisbane", :state "CA", :zip "94005"}}', NULL, NULL, NULL, 'Justin', NULL, '', '', '', '', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (122, 'BSG Craftbrewing', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Amanda Steele', 'asteele@bsgcraft.com', '952-465-0596', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (123, 'Carbonic Service Inc', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Cynthia', 'cynthia@carbonicservice.com', '408-727-8835', '', 'info@carbonicservices.com', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (124, 'Chavez Distributors', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Chavez', 'chavezdist@gmail.com', '510-352-8431', 'Alejandra', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (125, 'Chef''s Choice Produce Co', '{:address {:street1 "2170 Martin Avenue", :street2 "", :city "Santa Clara", :state "CA", :zip "95050"}}', NULL, NULL, NULL, 'Anna', 'Accounting@chefschoiceproduce.com', '', '', '', '', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (126, 'Chef''s Warehouse', '{:address {:street1 "1250 Whipple Rd.", :street2 "", :city "Union City", :state "CA", :zip "94587"}}', NULL, NULL, NULL, 'Deborah', 'dvalle@chefswarehouse.com', '510.627.0093', '', '', '', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (127, 'Chesbro', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Robin Voss', 'risingstarwinegroup@hotmail.com', '831-392-7984', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (128, 'Chrissa Imports Ltd', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Segev', 'orders@chrissaimports.com', '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (129, 'Cintas', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', 'Loc00W01@cintas.com', '916.576.4104 ', 'Ruth Moya- prev the contact', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (130, 'Cintas - Towels', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', 'Loc00W01@cintas.com', '916.576.4104 ', 'Ruth Moya- prev the contact', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (131, 'Classic Mix - Galloway Company', '{:address {:street1 "PO Box 617", :street2 "", :city "Neenah", :state "CA", :zip "54957"}}', NULL, NULL, NULL, 'Linda', 'lfournier@gallowaycompany.com', '', '', '', '', 5130); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (132, 'Classic Wines', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'AR', 'bronco.ar@broncowine.com', '800-692-5780', 'Laura, AR person I talked to', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (133, 'Daylight Foods', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (134, 'DBI Beverage', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Grace Miller', 'grace.miller@dbibeverage.com', '408-380-5235', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (135, 'Del Monte Meat Co', '{:address {:street1 "PO Box 101831", :street2 "", :city "Pasadena", :state "CA", :zip "91189"}}', NULL, NULL, NULL, 'Vicki', 'vickic@delmontemeat.com', '', '', '', '', 5111); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (136, 'Digital Dining Paid Out', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (137, 'DVW Commercial', '{:address {:street1 "38507 Cherry St., Suite I", :street2 "", :city "Newark", :state "CA", :zip "94560"}}', NULL, NULL, NULL, 'Lily', 'dvwcommercial@hotmail.com', '', '', '', '', 5910); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (138, 'Eddie''s Produce', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Eddie', 'eddiesfreshproduce.sj@gmail.com', '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (139, 'Epic Wines & Spirits', '{:address {:street1 "P.O. Box 8366", :street2 "", :city "Pasadena", :state "CA", :zip "91109"}}', NULL, NULL, NULL, '', NULL, '888-565-4352', '', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (140, 'Frank Family Vineyards', '{:address {:street1 "PO Box 1012", :street2 "", :city "St Helena", :state "CA", :zip "94574"}}', NULL, NULL, NULL, '', 'ar@vintagewinemarketing.com', '', '', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (141, 'Fresh and Best Produce', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Abraham', 'freshbestarap@gmail.com', '', 'Abraham - Sales Rep', '', 'Cell 510-375-4518', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (142, 'GE Mobile Water, Inc', '{:address {:street1 "PO Box 742132", :street2 "", :city "Los Angeles", :state "CA", :zip "90074"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (143, 'Golden Gate Meat Company, Inc', '{:address {:street1 "803 Wright Ave", :street2 "", :city "Richmond", :state "CA", :zip "94804"}}', NULL, NULL, NULL, 'Greg', 'GregM@ggmeatco.com', '', '', '', '', 5111); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (144, 'Half Moon Bay Brewing Co, Inc', '{:address {:street1 "PO Box 879", :street2 "", :city "El Granada", :state "CA", :zip "94018"}}', NULL, NULL, NULL, 'Emily', 'emily@hmbbrewingco.com', '650-728-2739', '', '', '', 5410); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (145, 'Il Pastaio Foods', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (146, 'International Food Distributing', '{:address {:street1 "822 American Street", :street2 "", :city "San Carlos", :state "CA", :zip "94070"}}', NULL, NULL, NULL, 'Dan', 'dan@inter-national-foods.com', '650-593-7183', '', '', '', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (147, 'ISP Productions', '{:address {:street1 "2468 Karen Dr, Unit 1", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Greg', 'super851@gmail.com', '(408) 891-8122', '', '', '', 7244); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (148, 'ItalFoods Inc', '{:address {:street1 "PO BOX 7511", :street2 "", :city "San Francisco", :state "CA", :zip "94120"}}', NULL, NULL, NULL, 'Paris', 'pglass@italfoodsinc.com', '650 877 0724, ext 326', '', '', '', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (149, 'ItalFoods Inc', '{:address {:street1 "PO BOX 2563", :street2 "", :city "Morgan Hill", :state "CA", :zip "95038"}}', NULL, NULL, NULL, 'Jennifer', 'jenniferc@lusamerica.com', '408 778 7200', '', '', '', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (150, 'Julius Meinl', '{:address {:street1 "4115 N. Ravenswood Ave", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Tiffany', 'tiffany.marchan@meinl.com', '773-954-7571', '', '', '', 5220); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (151, 'JVS Wine Imports', '{:address {:street1 "360 Swift Ave Side B Ste 9", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (152, 'Laird Family Wine', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Robin Voss', 'risingstarwinegroup@hotmail.com', '831-392-7984', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (153, 'Le Boulanger', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Anna Lisa Daniel', 'adaniel@leboulanger.com', '408-774-9000 ext 278', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (154, 'Lettieri & Co', '{:address {:street1 "120 Park Lane", :street2 "", :city "Brisbane", :state "CA", :zip "94005"}}', NULL, NULL, NULL, 'Selo', 'selo@lettieri.com', '', '', '', '', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (155, 'Lusamerica Foods, Inc', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Jennifer', 'jenniferc@lusamerica.com', '', '', '', '', 5114); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (156, 'Mama Lu''s Foods', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Sam Orozco', 'bigsam@mamalusfoods.com', '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (157, 'Mama Lu''s Invoices', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Sam Orozco', 'bigsam@mamalusfoods.com', '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (158, 'Marianne''s Ice Cream', '{:address {:street1 "2100 B Delaware Ave", :street2 "", :city "Santa Cruz", :state "CA", :zip "95060"}}', NULL, NULL, NULL, 'Alice', 'kd@mariannesicecream.com', '', '', '', '', 5130); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (159, 'Mission Linen Supply', '{:address {:street1 "601 Swift St", :street2 "", :city "Santa Cruz", :state "CA", :zip "95060"}}', NULL, NULL, NULL, '', NULL, '831-423-1630', '', '', '', 7435); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (160, 'Mt Eden Winery', '{:address {:street1 "22020 Mount Eden Rd", :street2 "", :city "Saratoga", :state "CA", :zip "95070"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (161, 'New York Style Sausage Co.', '{:address {:street1 "1228 Reamwood Ave", :street2 "", :city "Sunnyvale", :state "CA", :zip "94089"}}', NULL, NULL, NULL, 'Kay', 'nysdon@aol.com', '', '', '', '', 5111); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (162, 'Newport Fish Co', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Christina Brooks', 'newportfish@earthlink.net', '650-877-7200', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (163, 'Original Roasters', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Joaquin Gomez ', 'jgomez@originalroasters.com', '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (164, 'Pacific Edge Wine & Spirits', '{:address {:street1 "5155 Clareton Drive, 100", :street2 "", :city "Agoura Hills", :state "CA", :zip "91301"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (165, 'Palo Alto Foods', '{:address {:street1 "6691 Clark Ave", :street2 "", :city "Newark", :state "CA", :zip "94560"}}', NULL, NULL, NULL, 'Evelyn', 'evelyn@paloaltofoods.com', '', '', '', '', 5130); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (166, 'Pelerin Wines', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Robin Voss', 'risingstarwinegroup@hotmail.com', '831-392-7984', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (167, 'Performance Food Group', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Cristin Garden', 'Cristin.Garden@pfgc.com', '831-465-3212', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (168, 'Performance Food Group - Joan', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Joant Yount', 'Joan.Yount@pfgc.com', '831-465-3212', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (169, 'Performance Food Group - KOG', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Greg Sosebee', 'greg.sosebee@pfgc.com', '408-499-9863', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (170, 'Performance Food Group - LFT', '{:address {:street1 "PO Box 951080", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Michael Forman', 'michael.forman@pfgc.com', '408-799-3772', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (171, 'Performance Food Group - RCI', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Carlos Gonzalez', 'carlos.gonzalez@pfgc.com', '831-465-3212', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (172, 'Performance Food Group - ROMA', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (173, 'Performance Food Group - SIB', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Joant Yount', 'Joan.Yount@pfgc.com', '831-465-3212', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (174, 'Pride Mountain Vineyards', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Robin Voss', 'risingstarwinegroup@hotmail.com', '831-392-7984', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (175, 'Prudential Overall Supply', '{:address {:street1 "PO Box 11210", :street2 "", :city "Santa Ana", :state "CA", :zip "92711"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7435); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (176, 'Ralph Martinez', '{:address {:street1 "1071 Topaz Ave Apt. C", :street2 "", :city "San Jose", :state "CA", :zip "95117"}}', NULL, NULL, NULL, 'Ralph', NULL, '', '', '', '', 7440); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (177, 'Regal Wine Co', '{:address {:street1 "PO Box 2160", :street2 "", :city "Windsor", :state "CA", :zip "95492"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (178, 'Rhodes-To-Wine com', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Rebecca Rhodes ', 'rebecca@rhodes-to-wine.com', '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (179, 'Royal Hawaiian', '{:address {:street1 "213 E. Harris Ave ", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5114); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (180, 'S. Ramirez Distribution', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Lupe', 'Guadalupe.Ramirez@unionbank.com', '650-365-2110 (W) 650-568-5883 (Direct)', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (181, 'Saportio Foods Inc', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (182, 'Scanned Invoices', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Ron', 'rjb.jr62@gmail.com', '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (183, 'Southern Glazers', '{:address {:street1 "P.O. Box 742313", :street2 "", :city "Los Angeles", :state "CA", :zip "90074"}}', NULL, NULL, NULL, 'Mark', NULL, '', 'For Online Modules', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (184, 'Suprema Meat Company', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Berta Gonzalez', 'supremini@sbcglobal.net', '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (185, 'Sysco', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (186, 'System Services of America', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (187, 'Testarossa Winery', '{:address {:street1 "PO Box 969", :street2 "", :city "Los Gatos", :state "CA", :zip "95031"}}', NULL, NULL, NULL, 'Jessica Morocco', 'jmorocco@testarossa.com', '408-354-6150 xt 49', '', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (188, 'The Alarm Company', '{:address {:street1 "PO Box 178", :street2 "", :city "Los Gatos", :state "CA", :zip "95031"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7450); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (189, 'Top Hat Provisions, LLC', '{:address {:street1 "1 South Park St., Unit 205", :street2 "", :city "San Francisco", :state "CA", :zip "94107"}}', NULL, NULL, NULL, 'Auto-email', 'Orders@TopHatProvisions.com', '415-902-7821', '', '', '', 5610); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (190, 'Treat Ice Cream', '{:address {:street1 "11 South 19th Street", :street2 "", :city "San Jose", :state "CA", :zip "95116"}}', NULL, NULL, NULL, 'Bob', 'bob@treaticecream.com', '', '', '', '', 5130); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (191, 'United Hop Farm', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Ro Nayyar ', 'ro@unitedhops.com', '(916) 899-9578', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (192, 'US Foods', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Erol', NULL, '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (193, 'Vance Wine Selections', '{:address {:street1 "2060-D East Avenida de Los Arboles 306", :street2 "", :city "Thousand Oaks", :state "CA", :zip "91362"}}', NULL, NULL, NULL, 'Sami', 'notic+invoices@vinosmith.com', '805 368 0707', '', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (194, 'Vigneron Imports', '{:address {:street1 "6 Barner Place", :street2 "", :city "Oakland", :state "CA", :zip "94602"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (195, 'Vince''s Shellfish Co Inc', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (196, 'Vino Favoloso LLC', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (197, 'Vintage Wine Marketing', '{:address {:street1 "PO Box 5149", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (198, 'Wine Bridge Imports', '{:address {:street1 "PO Box 2272", :street2 "", :city "Davis", :state "CA", :zip "95617"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (199, 'Wine Warehouse', '{:address {:street1 "PO Box 45616", :street2 "", :city "San Francisco", :state "CA", :zip "94145"}}', NULL, NULL, NULL, 'Robert Favela', 'r.favela@winewarehouse.com', '', '', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (200, 'Wine Wise', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Devo Price', NULL, '', 'Brian Greenwood', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (201, 'Youngs Market', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Hello,', 'fileclerk@youngsmarket.com', '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (202, 'PG&E', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 8310); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (203, 'Able Septic Tank Service', '{:address {:street1 "1020 Ruff Drive", :street2 "", :city "San Jose", :state "CA", :zip "95110"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7460); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (204, 'Altamont Beer Works', '{:address {:street1 "2402 Research Dr", :street2 "", :city "Livermore", :state "CA", :zip "94550"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5410); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (205, 'American Beverage Equipment', '{:address {:street1 "PO Box 28646", :street2 "", :city "San Jose", :state "CA", :zip "95159"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7320); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (206, 'America''s Best Coffee Roasting Co', '{:address {:street1 "600 50th Ave", :street2 "", :city "Oakland", :state "CA", :zip "94601"}}', NULL, NULL, NULL, '', 'office@ambestcoffee.com', '415-285-5556', '', '', '', 5220); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (207, 'Anheiser Busch', '{:address {:street1 "15420 Cobalt St, Box: Bay Area", :street2 "", :city "Los Angeles", :state "CA", :zip "91342"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5410); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (208, 'Bay City Boiler & Engineering', '{:address {:street1 "23312 Cabot Blvd", :street2 "", :city "Hayward", :state "CA", :zip "94545"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7460); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (209, 'Bigoli Fresh Pasta', '{:address {:street1 "1010 Cass St., Suite B4", :street2 "", :city "Monterey", :state "CA", :zip "93940"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (210, 'Bordenave''s', '{:address {:street1 "1512 4th Street", :street2 "", :city "San Rafael", :state "CA", :zip "94901"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5140); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (211, 'California Print Services', '{:address {:street1 "1442 S. Winchester Blvd.", :street2 "", :city "San Jose", :state "CA", :zip "95128"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7120); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (212, 'ChemMark of Santa Clara County Inc', '{:address {:street1 "899 Leong Dr", :street2 "", :city "Mountain View", :state "CA", :zip "94043"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7410); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (213, 'De Anza Water Conditioning, Inc', '{:address {:street1 "200 E. Hamilton Ave", :street2 "", :city "Campbell", :state "CA", :zip "95008"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7410); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (214, 'Donald M Hughes', '{:address {:street1 "2185 Old Middlefield Way", :street2 "", :city "Mountain View", :state "CA", :zip "94043"}}', NULL, NULL, NULL, '', NULL, '650-967-8258', '', '', '', 7120); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (215, 'Fort Point Beer Company', '{:address {:street1 "644 Old Mason St", :street2 "", :city "San Francisco", :state "CA", :zip "94129"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5410); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (216, 'Good News Restaurant Supply', '{:address {:street1 "1211 Water Street", :street2 "", :city "Santa Cruz", :state "CA", :zip "95062"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7140); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (217, 'Grainger', '{:address {:street1 "2261 Ringwood Ave", :street2 "", :city "San Jose", :state "CA", :zip "95131"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7460); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (218, 'Guillermo Alvarez', '{:address {:street1 "2927 Magliocco Drive, 4", :street2 "", :city "San Jose", :state "CA", :zip "95128"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7450); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (219, 'Hermitage Brewing Co', '{:address {:street1 "1627 S 7th Street", :street2 "", :city "San Jose", :state "CA", :zip "95112"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5410); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (220, 'Home Depot Credit Card', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 9890); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (221, 'Horizon Beverage Company', '{:address {:street1 "8380 Pardee Dr", :street2 "", :city "Oakland", :state "CA", :zip "94621"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5410); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (222, 'Jerry McDougal - Reimbursement', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (223, 'Ken Toyama', '{:address {:street1 "171 Bellerose", :street2 "", :city "San Jose", :state "CA", :zip "95128"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 9120); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (224, 'Liberty Mutual Insurance', '{:address {:street1 "PO Box 85834", :street2 "", :city "San Diego", :state "CA", :zip "92186"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 8510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (225, 'Marianne''s Ice Cream', '{:address {:street1 "2100 B Delaware Avenue", :street2 "", :city "Santa Cruz", :state "CA", :zip "95060"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5130); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (226, 'Michael Paine - Reimbursement', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (227, 'NA', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (228, 'New Bohemia Brewing Co', '{:address {:street1 "1030 41st Ave", :street2 "", :city "Santa Cruz", :state "CA", :zip "95062"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5410); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (229, 'Peerless Coffee and Tea', '{:address {:street1 "260 Oak Street", :street2 "", :city "Oakland", :state "CA", :zip "94607"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5220); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (230, 'PG&E', '{:address {:street1 "10900 N Blaney Ave", :street2 "", :city "Cupertino", :state "CA", :zip "95014"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 8310); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (231, 'Polaris Pest Elimination', '{:address {:street1 "4435 First St 276", :street2 "", :city "Livermore", :state "CA", :zip "94551"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7455); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (232, 'Primizie Foods Inc', '{:address {:street1 "23840 Foley Street", :street2 "", :city "Hayward", :state "CA", :zip "94545"}}', NULL, NULL, NULL, '', 'Billing@primiziefoods.com', '510-441-0603', '', '', '', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (233, 'Rainbow Chamber of Commerce Silicon Valley', '{:address {:street1 "1070 Stewart Dr, Suite 1", :street2 "", :city "Sunnyvale", :state "CA", :zip "94085"}}', NULL, NULL, NULL, '', 'members@rainbowchamber.org', '408-998-9600', '', '', '', 9110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (234, 'Restaurant Tea Service of Norcal', '{:address {:street1 "PO Box 1667", :street2 "", :city "Oakdale", :state "CA", :zip "95361"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5220); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (235, 'Rosenson''s Wine Creations', '{:address {:street1 "PO Box 5149", :street2 "", :city "Napa", :state "CA", :zip "94581"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (236, 'Roto Rooter Plumbers', '{:address {:street1 "356 Matthew Street", :street2 "", :city "Santa Clara", :state "CA", :zip "95050"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7440); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (237, 'San Jose Water Co', '{:address {:street1 "110 W. Taylor St.", :street2 "", :city "San Jose", :state "CA", :zip "95110"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 8340); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (238, 'Universal Restaurant Services Inc', '{:address {:street1 "PO Box 59742", :street2 "", :city "San Jose", :state "CA", :zip "95159"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7460); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (239, 'Viking Alarm Systems', '{:address {:street1 "690 Lenfest Rd", :street2 "", :city "San Jose", :state "CA", :zip "95133"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 9370); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (240, 'White Labs', '{:address {:street1 "9495 Candida Street", :street2 "", :city "San Diego", :state "CA", :zip "92126"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5410); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (241, 'Juans Appliance Service', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '408-439-3263', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (242, 'BMI', '{:address {:street1 "", :street2 "", :city "Cincinatti", :state "CA", :zip "45263"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (243, 'Amazon', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (244, 'AFS IBEX', '{:address {:street1 "PO Box 100045", :street2 "", :city "Pasadena", :state "CA", :zip "91189"}}', NULL, NULL, NULL, '', NULL, '877 237 4239', '', '', '', 8510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (245, 'Broadcast Music Inc', '{:address {:street1 "10 Music Square East", :street2 "", :city "Nashville", :state "CA", :zip "37203"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7242); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (246, 'Home Depot', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7120); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (247, 'Republic Indemnity', '{:address {:street1 "1045 N. Fourth Street", :street2 "", :city "San Jose", :state "CA", :zip "95112"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 8510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (248, 'Hop Dogma Brewing Co', '{:address {:street1 "PO Box 1375", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5410); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (249, 'Juan''s Appliance Service', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7460); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (250, 'Balbuena Carpet Cleaning', '{:address {:street1 "158 Bosque St", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7450); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (251, 'Primizie Foods, Inc', '{:address {:street1 "23840 Foley Street", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (252, 'Best Version Media/Transworld Systems Inc', '{:address {:street1 "PO BOX 15520", :street2 "", :city "Wilmington", :state "CA", :zip "198505520"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7230); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (253, 'Ace Fire Equipment', '{:address {:street1 "PO Box 1142", :street2 "", :city "Palo Alto", :state "CA", :zip "94302"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7450); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (254, 'Campbell Chamber of Commerce', '{:address {:street1 "267 E Campbell Ave. - C", :street2 "", :city "Campbell", :state "CA", :zip "95008"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 8130); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (255, 'County of Santa Clara - Evironmental Health', '{:address {:street1 "1555 Berger Dr, Ste 300", :street2 "", :city "San Jose", :state "CA", :zip "95112"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 8620); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (256, 'County of Santa Clara - Dept of Tax and Collections', '{:address {:street1 "70 West Hedding Street, East Wing, 6th Floor", :street2 "", :city "San Jose", :state "CA", :zip "95110"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 8710); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (257, 'Draft Pros', '{:address {:street1 "1177 Branham Ln 361", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7320); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (258, 'Dorman Electric', '{:address {:street1 "2261 Fairvalley Ct", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '408-898-0132', '', '', '', 7440); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (259, 'Ascap', '{:address {:street1 "PO BOX 331608", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7246); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (260, 'Santa Clara County Fire Department ', '{:address {:street1 "14700 Winchester Blvd. ", :street2 "", :city "Los Gatos", :state "CA", :zip "95032"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7450); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (261, 'P&R Paper Supply Company Inc. ', '{:address {:street1 "2000 University Ave. ", :street2 "", :city "Berkley", :state "CA", :zip "92373"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5910); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (262, 'San Francisco Brewing Co.', '{:address {:street1 "100 Broderick St Suite 401", :street2 "", :city "San Francisco", :state "CA", :zip "94117"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5410); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (263, 'Franchise Tax Board', '{:address {:street1 "PO Box 942857", :street2 "", :city "Sacramento", :state "CA", :zip "94257"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 9720); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (264, 'Discretion Brewing ', '{:address {:street1 "2703 41st Street Suite A", :street2 "", :city "Soquel", :state "CA", :zip "95073"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5410); - - --- --- Name: vendors_id_seq; Type: SEQUENCE SET; Schema: public; Owner: ap --- - -SELECT pg_catalog.setval('public.vendors_id_seq', 264, true); - diff --git a/migrator/migrations/1530379134-DOWN-add-check-status.sql b/migrator/migrations/1530379134-DOWN-add-check-status.sql deleted file mode 100644 index 9e0c86aa..00000000 --- a/migrator/migrations/1530379134-DOWN-add-check-status.sql +++ /dev/null @@ -1,2 +0,0 @@ --- 1530379134 DOWN add-check-status -alter table checks drop column status; diff --git a/migrator/migrations/1530379134-UP-add-check-status.sql b/migrator/migrations/1530379134-UP-add-check-status.sql deleted file mode 100644 index 5e0a78c1..00000000 --- a/migrator/migrations/1530379134-UP-add-check-status.sql +++ /dev/null @@ -1,2 +0,0 @@ --- 1530379134 UP add-check-status -alter table checks add column status varchar(255) default 'pending'; diff --git a/migrator/migrations/1530859118-DOWN-add-indexes.sql b/migrator/migrations/1530859118-DOWN-add-indexes.sql deleted file mode 100644 index f09d95aa..00000000 --- a/migrator/migrations/1530859118-DOWN-add-indexes.sql +++ /dev/null @@ -1,4 +0,0 @@ --- 1530859118 DOWN add-indexes - -drop index IX_invoices_expense_accounts__invoice_id ; -drop index IX_invoices_checks__invoice_id ; diff --git a/migrator/migrations/1530859118-UP-add-indexes.sql b/migrator/migrations/1530859118-UP-add-indexes.sql deleted file mode 100644 index 05ae605f..00000000 --- a/migrator/migrations/1530859118-UP-add-indexes.sql +++ /dev/null @@ -1,3 +0,0 @@ --- 1530859118 UP add-indexes -create index IX_invoices_expense_accounts__invoice_id ON invoices_expense_accounts (invoice_id); -create index IX_invoices_checks__invoice_id ON invoices_checks (invoice_id); diff --git a/migrator/migrations/1531287349-DOWN-reset-database.sql b/migrator/migrations/1531287349-DOWN-reset-database.sql deleted file mode 100644 index 78849474..00000000 --- a/migrator/migrations/1531287349-DOWN-reset-database.sql +++ /dev/null @@ -1 +0,0 @@ --- 1531287349 DOWN reset-database \ No newline at end of file diff --git a/migrator/migrations/1531287349-UP-reset-database.sql b/migrator/migrations/1531287349-UP-reset-database.sql deleted file mode 100644 index b9288b78..00000000 --- a/migrator/migrations/1531287349-UP-reset-database.sql +++ /dev/null @@ -1,203 +0,0 @@ --- 1531287349 UP reset-database -delete from invoices_expense_accounts; -delete from invoices_checks; -delete from transactions; -delete from checks; -delete from invoices; -delete from vendors; -delete from companies; - --- --- Data for Name: companies; Type: TABLE DATA; Schema: public; Owner: ap --- - -INSERT INTO public.companies (id, name, data, email, invoice_reminder_schedule, code) VALUES (36, 'Brown Chicken Brown Cow', '{:locations ["CB"] }', NULL, NULL, 'BCBC'); -INSERT INTO public.companies (id, name, data, email, invoice_reminder_schedule, code) VALUES (37, 'Bella Saratoga', '{:locations ["SG"] }', NULL, NULL, 'BSG'); -INSERT INTO public.companies (id, name, data, email, invoice_reminder_schedule, code) VALUES (38, 'Campbell Brewing Co', '{:locations ["CB"]}', NULL, NULL, 'CBC'); -INSERT INTO public.companies (id, name, data, email, invoice_reminder_schedule, code) VALUES (39, 'Iguanas Burritozilla', '{:locations ["DT" "EG" "SC" "EG" "SG" "CB" "BH"] :bank-accounts [{:number "123456789" :id 1 :check-number 6789 :bank-name "Bank of America" :bank-code "90-4149/1211" :routing "12345678" :name "BOA-6789" :yodlee-account-id 11703936} {:number "987654321" :id 2 :check-number 1234 :bank-name "Bank of America" :bank-code "90-4149/1211" :routing "123456" :name "BOA-4321"}]}', NULL, NULL, 'IBC'); -INSERT INTO public.companies (id, name, data, email, invoice_reminder_schedule, code) VALUES (40, 'Shared CBC-IBC Expenses', '{:locations ["CB"]}', NULL, NULL, 'IBCBC'); -INSERT INTO public.companies (id, name, data, email, invoice_reminder_schedule, code) VALUES (41, 'Knock Out Grill & Bar', '{:locations ["SV"]}', NULL, NULL, 'KOG'); -INSERT INTO public.companies (id, name, data, email, invoice_reminder_schedule, code) VALUES (42, 'Lefty''s East Coast Pizzeria', '{:locations ["SB"]}', NULL, NULL, 'LFT'); -INSERT INTO public.companies (id, name, data, email, invoice_reminder_schedule, code) VALUES (43, 'Mio Saratoga', '{:locations ["SG"]}', NULL, NULL, 'MVSG'); -INSERT INTO public.companies (id, name, data, email, invoice_reminder_schedule, code) VALUES (44, 'Mama Mia''s', '{:locations ["SB"]}', NULL, NULL, 'MAM'); -INSERT INTO public.companies (id, name, data, email, invoice_reminder_schedule, code) VALUES (45, 'Mama Lu''s Foods', '{:locations ["SJ"]}', NULL, NULL, 'MLF'); -INSERT INTO public.companies (id, name, data, email, invoice_reminder_schedule, code) VALUES (46, 'Moscini Pizza Inc', '{:locations ["CB" "BM" "SC"]}', NULL, NULL, 'MPI'); -INSERT INTO public.companies (id, name, data, email, invoice_reminder_schedule, code) VALUES (47, 'Nasch Bistro', '{:locations ["LG"]}', NULL, NULL, 'NBST'); -INSERT INTO public.companies (id, name, data, email, invoice_reminder_schedule, code) VALUES (48, 'Naschmarkt', '{:locations ["CB"]}', NULL, NULL, 'NMKT'); -INSERT INTO public.companies (id, name, data, email, invoice_reminder_schedule, code) VALUES (49, 'Roberto''s Cantina Inc', '{:locations ["SV"]}', NULL, NULL, 'RCI'); -INSERT INTO public.companies (id, name, data, email, invoice_reminder_schedule, code) VALUES (50, 'Sorelle Italian Bistro', '{:locations ["ST"]}', NULL, NULL, 'SIB'); -INSERT INTO public.companies (id, name, data, email, invoice_reminder_schedule, code) VALUES (51, 'Willow Glen Creamery', '{:locations ["WG" "CB" "GS"]}', NULL, NULL, 'WGC'); -INSERT INTO public.companies (id, name, data, email, invoice_reminder_schedule, code) VALUES (52, 'The Socialight', '{:locations ["CB"]}', NULL, NULL, 'TSL'); - - --- --- Data for Name: vendors; Type: TABLE DATA; Schema: public; Owner: ap --- - -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (117, 'Auto-Chlor', '{:address {:street1 "3400 Thomas Rd", :street2 "", :city "Santa Clara", :state "CA", :zip "95054"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7410); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (111, 'Acme Bread', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5140); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (112, 'Alfredo''s Produce', '{:address {:street1 "55 Sunol St", :street2 "", :city "San Jose", :state "CA", :zip "95126"}}', NULL, NULL, NULL, 'Oscar', 'candelas_oscar@yahoo.com', '408-806-4150', 'oscar.candelas1@gmail.com', 'oscar.candelas@gmail.com', '', 5120); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (113, 'Aloha Paid Out', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (114, 'Alsco', '{:address {:street1 "2275 Junction Ave", :street2 "", :city "San Jose", :state "CA", :zip "95131"}}', NULL, NULL, NULL, 'Suki', 'spham@alsco.com', '408-279-2345', '', '', '', 7435); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (115, 'American Wine & Spirits', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Nicholas Stagnaro', NULL, '408-838-1005', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (116, 'Aramark', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (118, 'Bassian Farms Inc', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Flora Hernandez', 'fhernandez@bassianfarms.com', 'Mike Maltese, Sales: 408-691-8487', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (119, 'Better Brands', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Fred', 'fredmontalvo@hotmail.com', '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (120, 'Bigoli Fresh Pasta', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', 'info@bigolifreshpasta.com', '', '', '', '', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (121, 'BiRite', '{:address {:street1 "123 South Hill Drive", :street2 "", :city "Brisbane", :state "CA", :zip "94005"}}', NULL, NULL, NULL, 'Justin', NULL, '', '', '', '', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (122, 'BSG Craftbrewing', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Amanda Steele', 'asteele@bsgcraft.com', '952-465-0596', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (123, 'Carbonic Service Inc', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Cynthia', 'cynthia@carbonicservice.com', '408-727-8835', '', 'info@carbonicservices.com', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (124, 'Chavez Distributors', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Chavez', 'chavezdist@gmail.com', '510-352-8431', 'Alejandra', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (125, 'Chef''s Choice Produce Co', '{:address {:street1 "2170 Martin Avenue", :street2 "", :city "Santa Clara", :state "CA", :zip "95050"}}', NULL, NULL, NULL, 'Anna', 'Accounting@chefschoiceproduce.com', '', '', '', '', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (126, 'Chef''s Warehouse', '{:address {:street1 "1250 Whipple Rd.", :street2 "", :city "Union City", :state "CA", :zip "94587"}}', NULL, NULL, NULL, 'Deborah', 'dvalle@chefswarehouse.com', '510.627.0093', '', '', '', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (127, 'Chesbro', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Robin Voss', 'risingstarwinegroup@hotmail.com', '831-392-7984', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (128, 'Chrissa Imports Ltd', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Segev', 'orders@chrissaimports.com', '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (129, 'Cintas', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', 'Loc00W01@cintas.com', '916.576.4104 ', 'Ruth Moya- prev the contact', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (130, 'Cintas - Towels', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', 'Loc00W01@cintas.com', '916.576.4104 ', 'Ruth Moya- prev the contact', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (131, 'Classic Mix - Galloway Company', '{:address {:street1 "PO Box 617", :street2 "", :city "Neenah", :state "CA", :zip "54957"}}', NULL, NULL, NULL, 'Linda', 'lfournier@gallowaycompany.com', '', '', '', '', 5130); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (132, 'Classic Wines', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'AR', 'bronco.ar@broncowine.com', '800-692-5780', 'Laura, AR person I talked to', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (133, 'Daylight Foods', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (134, 'DBI Beverage', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Grace Miller', 'grace.miller@dbibeverage.com', '408-380-5235', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (135, 'Del Monte Meat Co', '{:address {:street1 "PO Box 101831", :street2 "", :city "Pasadena", :state "CA", :zip "91189"}}', NULL, NULL, NULL, 'Vicki', 'vickic@delmontemeat.com', '', '', '', '', 5111); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (136, 'Digital Dining Paid Out', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (137, 'DVW Commercial', '{:address {:street1 "38507 Cherry St., Suite I", :street2 "", :city "Newark", :state "CA", :zip "94560"}}', NULL, NULL, NULL, 'Lily', 'dvwcommercial@hotmail.com', '', '', '', '', 5910); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (138, 'Eddie''s Produce', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Eddie', 'eddiesfreshproduce.sj@gmail.com', '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (139, 'Epic Wines & Spirits', '{:address {:street1 "P.O. Box 8366", :street2 "", :city "Pasadena", :state "CA", :zip "91109"}}', NULL, NULL, NULL, '', NULL, '888-565-4352', '', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (140, 'Frank Family Vineyards', '{:address {:street1 "PO Box 1012", :street2 "", :city "St Helena", :state "CA", :zip "94574"}}', NULL, NULL, NULL, '', 'ar@vintagewinemarketing.com', '', '', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (141, 'Fresh and Best Produce', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Abraham', 'freshbestarap@gmail.com', '', 'Abraham - Sales Rep', '', 'Cell 510-375-4518', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (142, 'GE Mobile Water, Inc', '{:address {:street1 "PO Box 742132", :street2 "", :city "Los Angeles", :state "CA", :zip "90074"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (143, 'Golden Gate Meat Company, Inc', '{:address {:street1 "803 Wright Ave", :street2 "", :city "Richmond", :state "CA", :zip "94804"}}', NULL, NULL, NULL, 'Greg', 'GregM@ggmeatco.com', '', '', '', '', 5111); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (144, 'Half Moon Bay Brewing Co, Inc', '{:address {:street1 "PO Box 879", :street2 "", :city "El Granada", :state "CA", :zip "94018"}}', NULL, NULL, NULL, 'Emily', 'emily@hmbbrewingco.com', '650-728-2739', '', '', '', 5410); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (145, 'Il Pastaio Foods', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (146, 'International Food Distributing', '{:address {:street1 "822 American Street", :street2 "", :city "San Carlos", :state "CA", :zip "94070"}}', NULL, NULL, NULL, 'Dan', 'dan@inter-national-foods.com', '650-593-7183', '', '', '', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (147, 'ISP Productions', '{:address {:street1 "2468 Karen Dr, Unit 1", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Greg', 'super851@gmail.com', '(408) 891-8122', '', '', '', 7244); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (148, 'ItalFoods Inc', '{:address {:street1 "PO BOX 7511", :street2 "", :city "San Francisco", :state "CA", :zip "94120"}}', NULL, NULL, NULL, 'Paris', 'pglass@italfoodsinc.com', '650 877 0724, ext 326', '', '', '', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (149, 'ItalFoods Inc', '{:address {:street1 "PO BOX 2563", :street2 "", :city "Morgan Hill", :state "CA", :zip "95038"}}', NULL, NULL, NULL, 'Jennifer', 'jenniferc@lusamerica.com', '408 778 7200', '', '', '', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (150, 'Julius Meinl', '{:address {:street1 "4115 N. Ravenswood Ave", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Tiffany', 'tiffany.marchan@meinl.com', '773-954-7571', '', '', '', 5220); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (151, 'JVS Wine Imports', '{:address {:street1 "360 Swift Ave Side B Ste 9", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (152, 'Laird Family Wine', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Robin Voss', 'risingstarwinegroup@hotmail.com', '831-392-7984', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (153, 'Le Boulanger', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Anna Lisa Daniel', 'adaniel@leboulanger.com', '408-774-9000 ext 278', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (154, 'Lettieri & Co', '{:address {:street1 "120 Park Lane", :street2 "", :city "Brisbane", :state "CA", :zip "94005"}}', NULL, NULL, NULL, 'Selo', 'selo@lettieri.com', '', '', '', '', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (155, 'Lusamerica Foods, Inc', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Jennifer', 'jenniferc@lusamerica.com', '', '', '', '', 5114); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (156, 'Mama Lu''s Foods', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Sam Orozco', 'bigsam@mamalusfoods.com', '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (157, 'Mama Lu''s Invoices', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Sam Orozco', 'bigsam@mamalusfoods.com', '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (158, 'Marianne''s Ice Cream', '{:address {:street1 "2100 B Delaware Ave", :street2 "", :city "Santa Cruz", :state "CA", :zip "95060"}}', NULL, NULL, NULL, 'Alice', 'kd@mariannesicecream.com', '', '', '', '', 5130); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (159, 'Mission Linen Supply', '{:address {:street1 "601 Swift St", :street2 "", :city "Santa Cruz", :state "CA", :zip "95060"}}', NULL, NULL, NULL, '', NULL, '831-423-1630', '', '', '', 7435); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (160, 'Mt Eden Winery', '{:address {:street1 "22020 Mount Eden Rd", :street2 "", :city "Saratoga", :state "CA", :zip "95070"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (161, 'New York Style Sausage Co.', '{:address {:street1 "1228 Reamwood Ave", :street2 "", :city "Sunnyvale", :state "CA", :zip "94089"}}', NULL, NULL, NULL, 'Kay', 'nysdon@aol.com', '', '', '', '', 5111); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (162, 'Newport Fish Co', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Christina Brooks', 'newportfish@earthlink.net', '650-877-7200', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (163, 'Original Roasters', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Joaquin Gomez ', 'jgomez@originalroasters.com', '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (164, 'Pacific Edge Wine & Spirits', '{:address {:street1 "5155 Clareton Drive, 100", :street2 "", :city "Agoura Hills", :state "CA", :zip "91301"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (165, 'Palo Alto Foods', '{:address {:street1 "6691 Clark Ave", :street2 "", :city "Newark", :state "CA", :zip "94560"}}', NULL, NULL, NULL, 'Evelyn', 'evelyn@paloaltofoods.com', '', '', '', '', 5130); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (166, 'Pelerin Wines', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Robin Voss', 'risingstarwinegroup@hotmail.com', '831-392-7984', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (167, 'Performance Food Group', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Cristin Garden', 'Cristin.Garden@pfgc.com', '831-465-3212', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (168, 'Performance Food Group - Joan', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Joant Yount', 'Joan.Yount@pfgc.com', '831-465-3212', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (169, 'Performance Food Group - KOG', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Greg Sosebee', 'greg.sosebee@pfgc.com', '408-499-9863', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (170, 'Performance Food Group - LFT', '{:address {:street1 "PO Box 951080", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Michael Forman', 'michael.forman@pfgc.com', '408-799-3772', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (171, 'Performance Food Group - RCI', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Carlos Gonzalez', 'carlos.gonzalez@pfgc.com', '831-465-3212', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (172, 'Performance Food Group - ROMA', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (173, 'Performance Food Group - SIB', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Joant Yount', 'Joan.Yount@pfgc.com', '831-465-3212', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (174, 'Pride Mountain Vineyards', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Robin Voss', 'risingstarwinegroup@hotmail.com', '831-392-7984', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (175, 'Prudential Overall Supply', '{:address {:street1 "PO Box 11210", :street2 "", :city "Santa Ana", :state "CA", :zip "92711"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7435); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (176, 'Ralph Martinez', '{:address {:street1 "1071 Topaz Ave Apt. C", :street2 "", :city "San Jose", :state "CA", :zip "95117"}}', NULL, NULL, NULL, 'Ralph', NULL, '', '', '', '', 7440); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (177, 'Regal Wine Co', '{:address {:street1 "PO Box 2160", :street2 "", :city "Windsor", :state "CA", :zip "95492"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (178, 'Rhodes-To-Wine com', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Rebecca Rhodes ', 'rebecca@rhodes-to-wine.com', '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (179, 'Royal Hawaiian', '{:address {:street1 "213 E. Harris Ave ", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5114); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (180, 'S. Ramirez Distribution', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Lupe', 'Guadalupe.Ramirez@unionbank.com', '650-365-2110 (W) 650-568-5883 (Direct)', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (181, 'Saportio Foods Inc', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (182, 'Scanned Invoices', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Ron', 'rjb.jr62@gmail.com', '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (183, 'Southern Glazers', '{:address {:street1 "P.O. Box 742313", :street2 "", :city "Los Angeles", :state "CA", :zip "90074"}}', NULL, NULL, NULL, 'Mark', NULL, '', 'For Online Modules', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (184, 'Suprema Meat Company', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Berta Gonzalez', 'supremini@sbcglobal.net', '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (185, 'Sysco', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (186, 'System Services of America', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (187, 'Testarossa Winery', '{:address {:street1 "PO Box 969", :street2 "", :city "Los Gatos", :state "CA", :zip "95031"}}', NULL, NULL, NULL, 'Jessica Morocco', 'jmorocco@testarossa.com', '408-354-6150 xt 49', '', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (188, 'The Alarm Company', '{:address {:street1 "PO Box 178", :street2 "", :city "Los Gatos", :state "CA", :zip "95031"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7450); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (189, 'Top Hat Provisions, LLC', '{:address {:street1 "1 South Park St., Unit 205", :street2 "", :city "San Francisco", :state "CA", :zip "94107"}}', NULL, NULL, NULL, 'Auto-email', 'Orders@TopHatProvisions.com', '415-902-7821', '', '', '', 5610); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (190, 'Treat Ice Cream', '{:address {:street1 "11 South 19th Street", :street2 "", :city "San Jose", :state "CA", :zip "95116"}}', NULL, NULL, NULL, 'Bob', 'bob@treaticecream.com', '', '', '', '', 5130); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (191, 'United Hop Farm', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Ro Nayyar ', 'ro@unitedhops.com', '(916) 899-9578', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (192, 'US Foods', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Erol', NULL, '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (193, 'Vance Wine Selections', '{:address {:street1 "2060-D East Avenida de Los Arboles 306", :street2 "", :city "Thousand Oaks", :state "CA", :zip "91362"}}', NULL, NULL, NULL, 'Sami', 'notic+invoices@vinosmith.com', '805 368 0707', '', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (194, 'Vigneron Imports', '{:address {:street1 "6 Barner Place", :street2 "", :city "Oakland", :state "CA", :zip "94602"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (195, 'Vince''s Shellfish Co Inc', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (196, 'Vino Favoloso LLC', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (197, 'Vintage Wine Marketing', '{:address {:street1 "PO Box 5149", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (198, 'Wine Bridge Imports', '{:address {:street1 "PO Box 2272", :street2 "", :city "Davis", :state "CA", :zip "95617"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (199, 'Wine Warehouse', '{:address {:street1 "PO Box 45616", :street2 "", :city "San Francisco", :state "CA", :zip "94145"}}', NULL, NULL, NULL, 'Robert Favela', 'r.favela@winewarehouse.com', '', '', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (200, 'Wine Wise', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Devo Price', NULL, '', 'Brian Greenwood', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (201, 'Youngs Market', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Hello,', 'fileclerk@youngsmarket.com', '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (202, 'PG&E', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 8310); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (203, 'Able Septic Tank Service', '{:address {:street1 "1020 Ruff Drive", :street2 "", :city "San Jose", :state "CA", :zip "95110"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7460); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (204, 'Altamont Beer Works', '{:address {:street1 "2402 Research Dr", :street2 "", :city "Livermore", :state "CA", :zip "94550"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5410); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (205, 'American Beverage Equipment', '{:address {:street1 "PO Box 28646", :street2 "", :city "San Jose", :state "CA", :zip "95159"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7320); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (206, 'America''s Best Coffee Roasting Co', '{:address {:street1 "600 50th Ave", :street2 "", :city "Oakland", :state "CA", :zip "94601"}}', NULL, NULL, NULL, '', 'office@ambestcoffee.com', '415-285-5556', '', '', '', 5220); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (207, 'Anheiser Busch', '{:address {:street1 "15420 Cobalt St, Box: Bay Area", :street2 "", :city "Los Angeles", :state "CA", :zip "91342"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5410); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (208, 'Bay City Boiler & Engineering', '{:address {:street1 "23312 Cabot Blvd", :street2 "", :city "Hayward", :state "CA", :zip "94545"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7460); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (209, 'Bigoli Fresh Pasta', '{:address {:street1 "1010 Cass St., Suite B4", :street2 "", :city "Monterey", :state "CA", :zip "93940"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (210, 'Bordenave''s', '{:address {:street1 "1512 4th Street", :street2 "", :city "San Rafael", :state "CA", :zip "94901"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5140); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (211, 'California Print Services', '{:address {:street1 "1442 S. Winchester Blvd.", :street2 "", :city "San Jose", :state "CA", :zip "95128"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7120); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (212, 'ChemMark of Santa Clara County Inc', '{:address {:street1 "899 Leong Dr", :street2 "", :city "Mountain View", :state "CA", :zip "94043"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7410); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (213, 'De Anza Water Conditioning, Inc', '{:address {:street1 "200 E. Hamilton Ave", :street2 "", :city "Campbell", :state "CA", :zip "95008"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7410); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (214, 'Donald M Hughes', '{:address {:street1 "2185 Old Middlefield Way", :street2 "", :city "Mountain View", :state "CA", :zip "94043"}}', NULL, NULL, NULL, '', NULL, '650-967-8258', '', '', '', 7120); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (215, 'Fort Point Beer Company', '{:address {:street1 "644 Old Mason St", :street2 "", :city "San Francisco", :state "CA", :zip "94129"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5410); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (216, 'Good News Restaurant Supply', '{:address {:street1 "1211 Water Street", :street2 "", :city "Santa Cruz", :state "CA", :zip "95062"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7140); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (217, 'Grainger', '{:address {:street1 "2261 Ringwood Ave", :street2 "", :city "San Jose", :state "CA", :zip "95131"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7460); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (218, 'Guillermo Alvarez', '{:address {:street1 "2927 Magliocco Drive, 4", :street2 "", :city "San Jose", :state "CA", :zip "95128"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7450); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (219, 'Hermitage Brewing Co', '{:address {:street1 "1627 S 7th Street", :street2 "", :city "San Jose", :state "CA", :zip "95112"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5410); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (220, 'Home Depot Credit Card', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 9890); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (221, 'Horizon Beverage Company', '{:address {:street1 "8380 Pardee Dr", :street2 "", :city "Oakland", :state "CA", :zip "94621"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5410); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (222, 'Jerry McDougal - Reimbursement', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (223, 'Ken Toyama', '{:address {:street1 "171 Bellerose", :street2 "", :city "San Jose", :state "CA", :zip "95128"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 9120); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (224, 'Liberty Mutual Insurance', '{:address {:street1 "PO Box 85834", :street2 "", :city "San Diego", :state "CA", :zip "92186"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 8510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (225, 'Marianne''s Ice Cream', '{:address {:street1 "2100 B Delaware Avenue", :street2 "", :city "Santa Cruz", :state "CA", :zip "95060"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5130); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (226, 'Michael Paine - Reimbursement', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (227, 'NA', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (228, 'New Bohemia Brewing Co', '{:address {:street1 "1030 41st Ave", :street2 "", :city "Santa Cruz", :state "CA", :zip "95062"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5410); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (229, 'Peerless Coffee and Tea', '{:address {:street1 "260 Oak Street", :street2 "", :city "Oakland", :state "CA", :zip "94607"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5220); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (230, 'PG&E', '{:address {:street1 "10900 N Blaney Ave", :street2 "", :city "Cupertino", :state "CA", :zip "95014"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 8310); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (231, 'Polaris Pest Elimination', '{:address {:street1 "4435 First St 276", :street2 "", :city "Livermore", :state "CA", :zip "94551"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7455); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (232, 'Primizie Foods Inc', '{:address {:street1 "23840 Foley Street", :street2 "", :city "Hayward", :state "CA", :zip "94545"}}', NULL, NULL, NULL, '', 'Billing@primiziefoods.com', '510-441-0603', '', '', '', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (233, 'Rainbow Chamber of Commerce Silicon Valley', '{:address {:street1 "1070 Stewart Dr, Suite 1", :street2 "", :city "Sunnyvale", :state "CA", :zip "94085"}}', NULL, NULL, NULL, '', 'members@rainbowchamber.org', '408-998-9600', '', '', '', 9110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (234, 'Restaurant Tea Service of Norcal', '{:address {:street1 "PO Box 1667", :street2 "", :city "Oakdale", :state "CA", :zip "95361"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5220); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (235, 'Rosenson''s Wine Creations', '{:address {:street1 "PO Box 5149", :street2 "", :city "Napa", :state "CA", :zip "94581"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (236, 'Roto Rooter Plumbers', '{:address {:street1 "356 Matthew Street", :street2 "", :city "Santa Clara", :state "CA", :zip "95050"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7440); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (237, 'San Jose Water Co', '{:address {:street1 "110 W. Taylor St.", :street2 "", :city "San Jose", :state "CA", :zip "95110"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 8340); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (238, 'Universal Restaurant Services Inc', '{:address {:street1 "PO Box 59742", :street2 "", :city "San Jose", :state "CA", :zip "95159"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7460); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (239, 'Viking Alarm Systems', '{:address {:street1 "690 Lenfest Rd", :street2 "", :city "San Jose", :state "CA", :zip "95133"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 9370); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (240, 'White Labs', '{:address {:street1 "9495 Candida Street", :street2 "", :city "San Diego", :state "CA", :zip "92126"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5410); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (241, 'Juans Appliance Service', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '408-439-3263', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (242, 'BMI', '{:address {:street1 "", :street2 "", :city "Cincinatti", :state "CA", :zip "45263"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (243, 'Amazon', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (244, 'AFS IBEX', '{:address {:street1 "PO Box 100045", :street2 "", :city "Pasadena", :state "CA", :zip "91189"}}', NULL, NULL, NULL, '', NULL, '877 237 4239', '', '', '', 8510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (245, 'Broadcast Music Inc', '{:address {:street1 "10 Music Square East", :street2 "", :city "Nashville", :state "CA", :zip "37203"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7242); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (246, 'Home Depot', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7120); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (247, 'Republic Indemnity', '{:address {:street1 "1045 N. Fourth Street", :street2 "", :city "San Jose", :state "CA", :zip "95112"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 8510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (248, 'Hop Dogma Brewing Co', '{:address {:street1 "PO Box 1375", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5410); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (249, 'Juan''s Appliance Service', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7460); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (250, 'Balbuena Carpet Cleaning', '{:address {:street1 "158 Bosque St", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7450); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (251, 'Primizie Foods, Inc', '{:address {:street1 "23840 Foley Street", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (252, 'Best Version Media/Transworld Systems Inc', '{:address {:street1 "PO BOX 15520", :street2 "", :city "Wilmington", :state "CA", :zip "198505520"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7230); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (253, 'Ace Fire Equipment', '{:address {:street1 "PO Box 1142", :street2 "", :city "Palo Alto", :state "CA", :zip "94302"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7450); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (254, 'Campbell Chamber of Commerce', '{:address {:street1 "267 E Campbell Ave. - C", :street2 "", :city "Campbell", :state "CA", :zip "95008"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 8130); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (255, 'County of Santa Clara - Evironmental Health', '{:address {:street1 "1555 Berger Dr, Ste 300", :street2 "", :city "San Jose", :state "CA", :zip "95112"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 8620); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (256, 'County of Santa Clara - Dept of Tax and Collections', '{:address {:street1 "70 West Hedding Street, East Wing, 6th Floor", :street2 "", :city "San Jose", :state "CA", :zip "95110"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 8710); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (257, 'Draft Pros', '{:address {:street1 "1177 Branham Ln 361", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7320); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (258, 'Dorman Electric', '{:address {:street1 "2261 Fairvalley Ct", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '408-898-0132', '', '', '', 7440); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (259, 'Ascap', '{:address {:street1 "PO BOX 331608", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7246); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (260, 'Santa Clara County Fire Department ', '{:address {:street1 "14700 Winchester Blvd. ", :street2 "", :city "Los Gatos", :state "CA", :zip "95032"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7450); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (261, 'P&R Paper Supply Company Inc. ', '{:address {:street1 "2000 University Ave. ", :street2 "", :city "Berkley", :state "CA", :zip "92373"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5910); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (262, 'San Francisco Brewing Co.', '{:address {:street1 "100 Broderick St Suite 401", :street2 "", :city "San Francisco", :state "CA", :zip "94117"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5410); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (263, 'Franchise Tax Board', '{:address {:street1 "PO Box 942857", :street2 "", :city "Sacramento", :state "CA", :zip "94257"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 9720); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (264, 'Discretion Brewing ', '{:address {:street1 "2703 41st Street Suite A", :street2 "", :city "Soquel", :state "CA", :zip "95073"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5410); - - --- --- Data for Name: checks; Type: TABLE DATA; Schema: public; Owner: ap --- - - - --- --- Name: checks_id_seq; Type: SEQUENCE SET; Schema: public; Owner: ap --- - - diff --git a/migrator/migrations/1531451476-DOWN-reset-vendors.sql b/migrator/migrations/1531451476-DOWN-reset-vendors.sql deleted file mode 100644 index 0263b4d8..00000000 --- a/migrator/migrations/1531451476-DOWN-reset-vendors.sql +++ /dev/null @@ -1 +0,0 @@ --- 1531451476 DOWN reset-vendors \ No newline at end of file diff --git a/migrator/migrations/1531451476-UP-reset-vendors.sql b/migrator/migrations/1531451476-UP-reset-vendors.sql deleted file mode 100644 index fcb77d41..00000000 --- a/migrator/migrations/1531451476-UP-reset-vendors.sql +++ /dev/null @@ -1,203 +0,0 @@ --- 1531287349 UP reset-database -delete from invoices_expense_accounts; -delete from invoices_checks; -delete from transactions; -delete from checks; -delete from invoices; -delete from vendors; -delete from companies; - --- --- Data for Name: companies; Type: TABLE DATA; Schema: public; Owner: ap --- - -INSERT INTO public.companies (id, name, data, email, invoice_reminder_schedule, code) VALUES (36, 'Brown Chicken Brown Cow', '{:locations ["CB"] }', NULL, NULL, 'BCBC'); -INSERT INTO public.companies (id, name, data, email, invoice_reminder_schedule, code) VALUES (37, 'Bella Saratoga', '{:locations ["SG"] }', NULL, NULL, 'BSG'); -INSERT INTO public.companies (id, name, data, email, invoice_reminder_schedule, code) VALUES (38, 'Campbell Brewing Co', '{:locations ["CB"]}', NULL, NULL, 'CBC'); -INSERT INTO public.companies (id, name, data, email, invoice_reminder_schedule, code) VALUES (39, 'Iguanas Burritozilla', '{:locations ["DT" "EG" "SC" "EG" "SG" "CB" "BH"] :bank-accounts [{:number "123456789" :id 1 :check-number 6789 :bank-name "Bank of America" :bank-code "90-4149/1211" :routing "12345678" :name "BOA-6789" :yodlee-account-id 11703936} {:number "987654321" :id 2 :check-number 1234 :bank-name "Bank of America" :bank-code "90-4149/1211" :routing "123456" :name "BOA-4321"}]}', NULL, NULL, 'IBC'); -INSERT INTO public.companies (id, name, data, email, invoice_reminder_schedule, code) VALUES (40, 'Shared CBC-IBC Expenses', '{:locations ["CB"]}', NULL, NULL, 'IBCBC'); -INSERT INTO public.companies (id, name, data, email, invoice_reminder_schedule, code) VALUES (41, 'Knock Out Grill & Bar', '{:locations ["SV"]}', NULL, NULL, 'KOG'); -INSERT INTO public.companies (id, name, data, email, invoice_reminder_schedule, code) VALUES (42, 'Lefty''s East Coast Pizzeria', '{:locations ["SB"]}', NULL, NULL, 'LFT'); -INSERT INTO public.companies (id, name, data, email, invoice_reminder_schedule, code) VALUES (43, 'Mio Saratoga', '{:locations ["SG"]}', NULL, NULL, 'MVSG'); -INSERT INTO public.companies (id, name, data, email, invoice_reminder_schedule, code) VALUES (44, 'Mama Mia''s', '{:locations ["SB"]}', NULL, NULL, 'MAM'); -INSERT INTO public.companies (id, name, data, email, invoice_reminder_schedule, code) VALUES (45, 'Mama Lu''s Foods', '{:locations ["SJ"]}', NULL, NULL, 'MLF'); -INSERT INTO public.companies (id, name, data, email, invoice_reminder_schedule, code) VALUES (46, 'Moscini Pizza Inc', '{:locations ["CB" "BM" "SC"]}', NULL, NULL, 'MPI'); -INSERT INTO public.companies (id, name, data, email, invoice_reminder_schedule, code) VALUES (47, 'Nasch Bistro', '{:locations ["LG"]}', NULL, NULL, 'NBST'); -INSERT INTO public.companies (id, name, data, email, invoice_reminder_schedule, code) VALUES (48, 'Naschmarkt', '{:locations ["CB"]}', NULL, NULL, 'NMKT'); -INSERT INTO public.companies (id, name, data, email, invoice_reminder_schedule, code) VALUES (49, 'Roberto''s Cantina Inc', '{:locations ["SV"]}', NULL, NULL, 'RCI'); -INSERT INTO public.companies (id, name, data, email, invoice_reminder_schedule, code) VALUES (50, 'Sorelle Italian Bistro', '{:locations ["ST"]}', NULL, NULL, 'SIB'); -INSERT INTO public.companies (id, name, data, email, invoice_reminder_schedule, code) VALUES (51, 'Willow Glen Creamery', '{:locations ["WG" "CB" "GS"]}', NULL, NULL, 'WGC'); -INSERT INTO public.companies (id, name, data, email, invoice_reminder_schedule, code) VALUES (52, 'The Socialight', '{:locations ["CB"]}', NULL, NULL, 'TSL'); - - --- --- Data for Name: vendors; Type: TABLE DATA; Schema: public; Owner: ap --- - -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (117, 'Auto-Chlor', '{:address {:street1 "3400 Thomas Rd", :street2 "", :city "Santa Clara", :state "CA", :zip "95054"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7410); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (111, 'Acme Bread', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5140); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (112, 'Alfredo''s Produce', '{:address {:street1 "55 Sunol St", :street2 "", :city "San Jose", :state "CA", :zip "95126"}}', NULL, NULL, NULL, 'Oscar', 'candelas_oscar@yahoo.com', '408-806-4150', 'oscar.candelas1@gmail.com', 'oscar.candelas@gmail.com', '', 5120); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (113, 'Aloha Paid Out', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (114, 'Alsco', '{:address {:street1 "2275 Junction Ave", :street2 "", :city "San Jose", :state "CA", :zip "95131"}}', NULL, NULL, NULL, 'Suki', 'spham@alsco.com', '408-279-2345', '', '', '', 7435); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (115, 'American Wine & Spirits', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Nicholas Stagnaro', NULL, '408-838-1005', '', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (116, 'Aramark', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7340); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (118, 'Bassian Farms Inc', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Flora Hernandez', 'fhernandez@bassianfarms.com', 'Mike Maltese, Sales: 408-691-8487', '', '', '', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (119, 'Better Brands', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Fred', 'fredmontalvo@hotmail.com', '', '', '', '', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (120, 'Bigoli Fresh Pasta', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', 'info@bigolifreshpasta.com', '', '', '', '', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (121, 'BiRite', '{:address {:street1 "123 South Hill Drive", :street2 "", :city "Brisbane", :state "CA", :zip "94005"}}', NULL, NULL, NULL, 'Justin', NULL, '', '', '', '', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (122, 'BSG Craftbrewing', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Amanda Steele', 'asteele@bsgcraft.com', '952-465-0596', '', '', '', 5410); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (123, 'Carbonic Service Inc', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Cynthia', 'cynthia@carbonicservice.com', '408-727-8835', '', 'info@carbonicservices.com', '', 5411); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (124, 'Chavez Distributors', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Chavez', 'chavezdist@gmail.com', '510-352-8431', 'Alejandra', '', '', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (125, 'Chef''s Choice Produce Co', '{:address {:street1 "2170 Martin Avenue", :street2 "", :city "Santa Clara", :state "CA", :zip "95050"}}', NULL, NULL, NULL, 'Anna', 'Accounting@chefschoiceproduce.com', '', '', '', '', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (126, 'Chef''s Warehouse', '{:address {:street1 "1250 Whipple Rd.", :street2 "", :city "Union City", :state "CA", :zip "94587"}}', NULL, NULL, NULL, 'Deborah', 'dvalle@chefswarehouse.com', '510.627.0093', '', '', '', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (127, 'Chesbro', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Robin Voss', 'risingstarwinegroup@hotmail.com', '831-392-7984', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (128, 'Chrissa Imports Ltd', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Segev', 'orders@chrissaimports.com', '', '', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (129, 'Cintas', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', 'Loc00W01@cintas.com', '916.576.4104 ', 'Ruth Moya- prev the contact', '', '', 7410); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (130, 'Cintas - Towels', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', 'Loc00W01@cintas.com', '916.576.4104 ', 'Ruth Moya- prev the contact', '', '', 7410); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (131, 'Classic Mix - Galloway Company', '{:address {:street1 "PO Box 617", :street2 "", :city "Neenah", :state "CA", :zip "54957"}}', NULL, NULL, NULL, 'Linda', 'lfournier@gallowaycompany.com', '', '', '', '', 5130); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (132, 'Classic Wines', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'AR', 'bronco.ar@broncowine.com', '800-692-5780', 'Laura, AR person I talked to', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (133, 'Daylight Foods', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5120); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (134, 'DBI Beverage', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Grace Miller', 'grace.miller@dbibeverage.com', '408-380-5235', '', '', '', 5410); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (135, 'Del Monte Meat Co', '{:address {:street1 "PO Box 101831", :street2 "", :city "Pasadena", :state "CA", :zip "91189"}}', NULL, NULL, NULL, 'Vicki', 'vickic@delmontemeat.com', '', '', '', '', 5111); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (136, 'Digital Dining Paid Out', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (137, 'DVW Commercial', '{:address {:street1 "38507 Cherry St., Suite I", :street2 "", :city "Newark", :state "CA", :zip "94560"}}', NULL, NULL, NULL, 'Lily', 'dvwcommercial@hotmail.com', '', '', '', '', 5910); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (138, 'Eddie''s Produce', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Eddie', 'eddiesfreshproduce.sj@gmail.com', '', '', '', '', 5120); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (139, 'Epic Wines & Spirits', '{:address {:street1 "P.O. Box 8366", :street2 "", :city "Pasadena", :state "CA", :zip "91109"}}', NULL, NULL, NULL, '', NULL, '888-565-4352', '', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (140, 'Frank Family Vineyards', '{:address {:street1 "PO Box 1012", :street2 "", :city "St Helena", :state "CA", :zip "94574"}}', NULL, NULL, NULL, '', 'ar@vintagewinemarketing.com', '', '', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (141, 'Fresh and Best Produce', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Abraham', 'freshbestarap@gmail.com', '', 'Abraham - Sales Rep', '', 'Cell 510-375-4518', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (142, 'GE Mobile Water, Inc', '{:address {:street1 "PO Box 742132", :street2 "", :city "Los Angeles", :state "CA", :zip "90074"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (143, 'Golden Gate Meat Company, Inc', '{:address {:street1 "803 Wright Ave", :street2 "", :city "Richmond", :state "CA", :zip "94804"}}', NULL, NULL, NULL, 'Greg', 'GregM@ggmeatco.com', '', '', '', '', 5111); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (144, 'Half Moon Bay Brewing Co, Inc', '{:address {:street1 "PO Box 879", :street2 "", :city "El Granada", :state "CA", :zip "94018"}}', NULL, NULL, NULL, 'Emily', 'emily@hmbbrewingco.com', '650-728-2739', '', '', '', 5410); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (145, 'Il Pastaio Foods', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (146, 'International Food Distributing', '{:address {:street1 "822 American Street", :street2 "", :city "San Carlos", :state "CA", :zip "94070"}}', NULL, NULL, NULL, 'Dan', 'dan@inter-national-foods.com', '650-593-7183', '', '', '', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (147, 'ISP Productions', '{:address {:street1 "2468 Karen Dr, Unit 1", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Greg', 'super851@gmail.com', '(408) 891-8122', '', '', '', 7244); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (148, 'ItalFoods Inc', '{:address {:street1 "PO BOX 7511", :street2 "", :city "San Francisco", :state "CA", :zip "94120"}}', NULL, NULL, NULL, 'Paris', 'pglass@italfoodsinc.com', '650 877 0724, ext 326', '', '', '', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (149, 'ItalFoods Inc', '{:address {:street1 "PO BOX 2563", :street2 "", :city "Morgan Hill", :state "CA", :zip "95038"}}', NULL, NULL, NULL, 'Jennifer', 'jenniferc@lusamerica.com', '408 778 7200', '', '', '', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (150, 'Julius Meinl', '{:address {:street1 "4115 N. Ravenswood Ave", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Tiffany', 'tiffany.marchan@meinl.com', '773-954-7571', '', '', '', 5220); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (151, 'JVS Wine Imports', '{:address {:street1 "360 Swift Ave Side B Ste 9", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (152, 'Laird Family Wine', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Robin Voss', 'risingstarwinegroup@hotmail.com', '831-392-7984', '', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (153, 'Le Boulanger', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Anna Lisa Daniel', 'adaniel@leboulanger.com', '408-774-9000 ext 278', '', '', '', 5140); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (154, 'Lettieri & Co', '{:address {:street1 "120 Park Lane", :street2 "", :city "Brisbane", :state "CA", :zip "94005"}}', NULL, NULL, NULL, 'Selo', 'selo@lettieri.com', '', '', '', '', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (155, 'Lusamerica Foods, Inc', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Jennifer', 'jenniferc@lusamerica.com', '', '', '', '', 5114); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (156, 'Mama Lu''s Foods', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Sam Orozco', 'bigsam@mamalusfoods.com', '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (157, 'Mama Lu''s Invoices', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Sam Orozco', 'bigsam@mamalusfoods.com', '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (158, 'Marianne''s Ice Cream', '{:address {:street1 "2100 B Delaware Ave", :street2 "", :city "Santa Cruz", :state "CA", :zip "95060"}}', NULL, NULL, NULL, 'Alice', 'kd@mariannesicecream.com', '', '', '', '', 5130); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (159, 'Mission Linen Supply', '{:address {:street1 "601 Swift St", :street2 "", :city "Santa Cruz", :state "CA", :zip "95060"}}', NULL, NULL, NULL, '', NULL, '831-423-1630', '', '', '', 7435); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (160, 'Mt Eden Winery', '{:address {:street1 "22020 Mount Eden Rd", :street2 "", :city "Saratoga", :state "CA", :zip "95070"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (161, 'New York Style Sausage Co.', '{:address {:street1 "1228 Reamwood Ave", :street2 "", :city "Sunnyvale", :state "CA", :zip "94089"}}', NULL, NULL, NULL, 'Kay', 'nysdon@aol.com', '', '', '', '', 5111); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (162, 'Newport Fish Co', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Christina Brooks', 'newportfish@earthlink.net', '650-877-7200', '', '', '', 5114); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (163, 'Original Roasters', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Joaquin Gomez ', 'jgomez@originalroasters.com', '', '', '', '', 5220); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (164, 'Pacific Edge Wine & Spirits', '{:address {:street1 "5155 Clareton Drive, 100", :street2 "", :city "Agoura Hills", :state "CA", :zip "91301"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (165, 'Palo Alto Foods', '{:address {:street1 "6691 Clark Ave", :street2 "", :city "Newark", :state "CA", :zip "94560"}}', NULL, NULL, NULL, 'Evelyn', 'evelyn@paloaltofoods.com', '', '', '', '', 5130); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (166, 'Pelerin Wines', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Robin Voss', 'risingstarwinegroup@hotmail.com', '831-392-7984', '', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (167, 'Performance Food Group', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Cristin Garden', 'Cristin.Garden@pfgc.com', '831-465-3212', '', '', '', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (168, 'Performance Food Group - Joan', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Joant Yount', 'Joan.Yount@pfgc.com', '831-465-3212', '', '', '', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (169, 'Performance Food Group - KOG', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Greg Sosebee', 'greg.sosebee@pfgc.com', '408-499-9863', '', '', '', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (170, 'Performance Food Group - LFT', '{:address {:street1 "PO Box 951080", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Michael Forman', 'michael.forman@pfgc.com', '408-799-3772', '', '', '', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (171, 'Performance Food Group - RCI', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Carlos Gonzalez', 'carlos.gonzalez@pfgc.com', '831-465-3212', '', '', '', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (172, 'Performance Food Group - ROMA', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (173, 'Performance Food Group - SIB', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Joant Yount', 'Joan.Yount@pfgc.com', '831-465-3212', '', '', '', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (174, 'Pride Mountain Vineyards', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Robin Voss', 'risingstarwinegroup@hotmail.com', '831-392-7984', '', '', '', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (175, 'Prudential Overall Supply', '{:address {:street1 "PO Box 11210", :street2 "", :city "Santa Ana", :state "CA", :zip "92711"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7435); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (176, 'Ralph Martinez', '{:address {:street1 "1071 Topaz Ave Apt. C", :street2 "", :city "San Jose", :state "CA", :zip "95117"}}', NULL, NULL, NULL, 'Ralph', NULL, '', '', '', '', 7440); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (177, 'Regal Wine Co', '{:address {:street1 "PO Box 2160", :street2 "", :city "Windsor", :state "CA", :zip "95492"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (178, 'Rhodes-To-Wine com', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Rebecca Rhodes ', 'rebecca@rhodes-to-wine.com', '', '', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (179, 'Royal Hawaiian', '{:address {:street1 "213 E. Harris Ave ", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5114); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (180, 'S. Ramirez Distribution', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Lupe', 'Guadalupe.Ramirez@unionbank.com', '650-365-2110 (W) 650-568-5883 (Direct)', '', '', '', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (181, 'Saportio Foods Inc', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (182, 'Scanned Invoices', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Ron', 'rjb.jr62@gmail.com', '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (183, 'Southern Glazers', '{:address {:street1 "P.O. Box 742313", :street2 "", :city "Los Angeles", :state "CA", :zip "90074"}}', NULL, NULL, NULL, 'Mark', NULL, '', 'For Online Modules', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (184, 'Suprema Meat Company', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Berta Gonzalez', 'supremini@sbcglobal.net', '', '', '', '', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (185, 'Sysco', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (186, 'System Services of America', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (187, 'Testarossa Winery', '{:address {:street1 "PO Box 969", :street2 "", :city "Los Gatos", :state "CA", :zip "95031"}}', NULL, NULL, NULL, 'Jessica Morocco', 'jmorocco@testarossa.com', '408-354-6150 xt 49', '', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (188, 'The Alarm Company', '{:address {:street1 "PO Box 178", :street2 "", :city "Los Gatos", :state "CA", :zip "95031"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7450); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (189, 'Top Hat Provisions, LLC', '{:address {:street1 "1 South Park St., Unit 205", :street2 "", :city "San Francisco", :state "CA", :zip "94107"}}', NULL, NULL, NULL, 'Auto-email', 'Orders@TopHatProvisions.com', '415-902-7821', '', '', '', 5610); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (190, 'Treat Ice Cream', '{:address {:street1 "11 South 19th Street", :street2 "", :city "San Jose", :state "CA", :zip "95116"}}', NULL, NULL, NULL, 'Bob', 'bob@treaticecream.com', '', '', '', '', 5130); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (191, 'United Hop Farm', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Ro Nayyar ', 'ro@unitedhops.com', '(916) 899-9578', '', '', '', 5410); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (192, 'US Foods', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Erol', NULL, '', '', '', '', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (193, 'Vance Wine Selections', '{:address {:street1 "2060-D East Avenida de Los Arboles 306", :street2 "", :city "Thousand Oaks", :state "CA", :zip "91362"}}', NULL, NULL, NULL, 'Sami', 'notic+invoices@vinosmith.com', '805 368 0707', '', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (194, 'Vigneron Imports', '{:address {:street1 "6 Barner Place", :street2 "", :city "Oakland", :state "CA", :zip "94602"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (195, 'Vince''s Shellfish Co Inc', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5114); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (196, 'Vino Favoloso LLC', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (197, 'Vintage Wine Marketing', '{:address {:street1 "PO Box 5149", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (198, 'Wine Bridge Imports', '{:address {:street1 "PO Box 2272", :street2 "", :city "Davis", :state "CA", :zip "95617"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (199, 'Wine Warehouse', '{:address {:street1 "PO Box 45616", :street2 "", :city "San Francisco", :state "CA", :zip "94145"}}', NULL, NULL, NULL, 'Robert Favela', 'r.favela@winewarehouse.com', '', '', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (200, 'Wine Wise', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Devo Price', NULL, '', 'Brian Greenwood', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (201, 'Youngs Market', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, 'Hello,', 'fileclerk@youngsmarket.com', '', '', '', '', 5610); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (202, 'PG&E', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 8310); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (203, 'Able Septic Tank Service', '{:address {:street1 "1020 Ruff Drive", :street2 "", :city "San Jose", :state "CA", :zip "95110"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7460); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (204, 'Altamont Beer Works', '{:address {:street1 "2402 Research Dr", :street2 "", :city "Livermore", :state "CA", :zip "94550"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5410); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (205, 'American Beverage Equipment', '{:address {:street1 "PO Box 28646", :street2 "", :city "San Jose", :state "CA", :zip "95159"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7320); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (206, 'America''s Best Coffee Roasting Co', '{:address {:street1 "600 50th Ave", :street2 "", :city "Oakland", :state "CA", :zip "94601"}}', NULL, NULL, NULL, '', 'office@ambestcoffee.com', '415-285-5556', '', '', '', 5220); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (207, 'Anheiser Busch', '{:address {:street1 "15420 Cobalt St, Box: Bay Area", :street2 "", :city "Los Angeles", :state "CA", :zip "91342"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5410); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (208, 'Bay City Boiler & Engineering', '{:address {:street1 "23312 Cabot Blvd", :street2 "", :city "Hayward", :state "CA", :zip "94545"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7460); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (209, 'Bigoli Fresh Pasta', '{:address {:street1 "1010 Cass St., Suite B4", :street2 "", :city "Monterey", :state "CA", :zip "93940"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (210, 'Bordenave''s', '{:address {:street1 "1512 4th Street", :street2 "", :city "San Rafael", :state "CA", :zip "94901"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5140); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (211, 'California Print Services', '{:address {:street1 "1442 S. Winchester Blvd.", :street2 "", :city "San Jose", :state "CA", :zip "95128"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7120); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (212, 'ChemMark of Santa Clara County Inc', '{:address {:street1 "899 Leong Dr", :street2 "", :city "Mountain View", :state "CA", :zip "94043"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7410); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (213, 'De Anza Water Conditioning, Inc', '{:address {:street1 "200 E. Hamilton Ave", :street2 "", :city "Campbell", :state "CA", :zip "95008"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7410); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (214, 'Donald M Hughes', '{:address {:street1 "2185 Old Middlefield Way", :street2 "", :city "Mountain View", :state "CA", :zip "94043"}}', NULL, NULL, NULL, '', NULL, '650-967-8258', '', '', '', 7120); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (215, 'Fort Point Beer Company', '{:address {:street1 "644 Old Mason St", :street2 "", :city "San Francisco", :state "CA", :zip "94129"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5410); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (216, 'Good News Restaurant Supply', '{:address {:street1 "1211 Water Street", :street2 "", :city "Santa Cruz", :state "CA", :zip "95062"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7140); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (217, 'Grainger', '{:address {:street1 "2261 Ringwood Ave", :street2 "", :city "San Jose", :state "CA", :zip "95131"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7460); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (218, 'Guillermo Alvarez', '{:address {:street1 "2927 Magliocco Drive, 4", :street2 "", :city "San Jose", :state "CA", :zip "95128"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7450); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (219, 'Hermitage Brewing Co', '{:address {:street1 "1627 S 7th Street", :street2 "", :city "San Jose", :state "CA", :zip "95112"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5410); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (220, 'Home Depot Credit Card', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 9890); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (221, 'Horizon Beverage Company', '{:address {:street1 "8380 Pardee Dr", :street2 "", :city "Oakland", :state "CA", :zip "94621"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5410); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (222, 'Jerry McDougal - Reimbursement', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (223, 'Ken Toyama', '{:address {:street1 "171 Bellerose", :street2 "", :city "San Jose", :state "CA", :zip "95128"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 9120); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (224, 'Liberty Mutual Insurance', '{:address {:street1 "PO Box 85834", :street2 "", :city "San Diego", :state "CA", :zip "92186"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 8510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (225, 'Marianne''s Ice Cream', '{:address {:street1 "2100 B Delaware Avenue", :street2 "", :city "Santa Cruz", :state "CA", :zip "95060"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5130); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (226, 'Michael Paine - Reimbursement', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (227, 'NA', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 0); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (228, 'New Bohemia Brewing Co', '{:address {:street1 "1030 41st Ave", :street2 "", :city "Santa Cruz", :state "CA", :zip "95062"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5410); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (229, 'Peerless Coffee and Tea', '{:address {:street1 "260 Oak Street", :street2 "", :city "Oakland", :state "CA", :zip "94607"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5220); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (230, 'PG&E', '{:address {:street1 "10900 N Blaney Ave", :street2 "", :city "Cupertino", :state "CA", :zip "95014"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 8310); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (231, 'Polaris Pest Elimination', '{:address {:street1 "4435 First St 276", :street2 "", :city "Livermore", :state "CA", :zip "94551"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7455); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (232, 'Primizie Foods Inc', '{:address {:street1 "23840 Foley Street", :street2 "", :city "Hayward", :state "CA", :zip "94545"}}', NULL, NULL, NULL, '', 'Billing@primiziefoods.com', '510-441-0603', '', '', '', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (233, 'Rainbow Chamber of Commerce Silicon Valley', '{:address {:street1 "1070 Stewart Dr, Suite 1", :street2 "", :city "Sunnyvale", :state "CA", :zip "94085"}}', NULL, NULL, NULL, '', 'members@rainbowchamber.org', '408-998-9600', '', '', '', 9110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (234, 'Restaurant Tea Service of Norcal', '{:address {:street1 "PO Box 1667", :street2 "", :city "Oakdale", :state "CA", :zip "95361"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5220); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (235, 'Rosenson''s Wine Creations', '{:address {:street1 "PO Box 5149", :street2 "", :city "Napa", :state "CA", :zip "94581"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (236, 'Roto Rooter Plumbers', '{:address {:street1 "356 Matthew Street", :street2 "", :city "Santa Clara", :state "CA", :zip "95050"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7440); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (237, 'San Jose Water Co', '{:address {:street1 "110 W. Taylor St.", :street2 "", :city "San Jose", :state "CA", :zip "95110"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 8340); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (238, 'Universal Restaurant Services Inc', '{:address {:street1 "PO Box 59742", :street2 "", :city "San Jose", :state "CA", :zip "95159"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7460); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (239, 'Viking Alarm Systems', '{:address {:street1 "690 Lenfest Rd", :street2 "", :city "San Jose", :state "CA", :zip "95133"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 9370); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (240, 'White Labs', '{:address {:street1 "9495 Candida Street", :street2 "", :city "San Diego", :state "CA", :zip "92126"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5410); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (241, 'Juans Appliance Service', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '408-439-3263', '', '', '', 7460); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (242, 'BMI', '{:address {:street1 "", :street2 "", :city "Cincinatti", :state "CA", :zip "45263"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7242); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (243, 'Amazon', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (244, 'AFS IBEX', '{:address {:street1 "PO Box 100045", :street2 "", :city "Pasadena", :state "CA", :zip "91189"}}', NULL, NULL, NULL, '', NULL, '877 237 4239', '', '', '', 8510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (245, 'Broadcast Music Inc', '{:address {:street1 "10 Music Square East", :street2 "", :city "Nashville", :state "CA", :zip "37203"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7242); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (246, 'Home Depot', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7120); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (247, 'Republic Indemnity', '{:address {:street1 "1045 N. Fourth Street", :street2 "", :city "San Jose", :state "CA", :zip "95112"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 8510); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (248, 'Hop Dogma Brewing Co', '{:address {:street1 "PO Box 1375", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5410); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (249, 'Juan''s Appliance Service', '{:address {:street1 "", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7460); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (250, 'Balbuena Carpet Cleaning', '{:address {:street1 "158 Bosque St", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7450); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (251, 'Primizie Foods, Inc', '{:address {:street1 "23840 Foley Street", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5110); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (252, 'Best Version Media/Transworld Systems Inc', '{:address {:street1 "PO BOX 15520", :street2 "", :city "Wilmington", :state "CA", :zip "198505520"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7230); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (253, 'Ace Fire Equipment', '{:address {:street1 "PO Box 1142", :street2 "", :city "Palo Alto", :state "CA", :zip "94302"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7450); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (254, 'Campbell Chamber of Commerce', '{:address {:street1 "267 E Campbell Ave. - C", :street2 "", :city "Campbell", :state "CA", :zip "95008"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 8130); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (255, 'County of Santa Clara - Evironmental Health', '{:address {:street1 "1555 Berger Dr, Ste 300", :street2 "", :city "San Jose", :state "CA", :zip "95112"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 8620); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (256, 'County of Santa Clara - Dept of Tax and Collections', '{:address {:street1 "70 West Hedding Street, East Wing, 6th Floor", :street2 "", :city "San Jose", :state "CA", :zip "95110"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 8710); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (257, 'Draft Pros', '{:address {:street1 "1177 Branham Ln 361", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7320); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (258, 'Dorman Electric', '{:address {:street1 "2261 Fairvalley Ct", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '408-898-0132', '', '', '', 7440); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (259, 'Ascap', '{:address {:street1 "PO BOX 331608", :street2 "", :city nil, :state "CA", :zip nil}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7246); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (260, 'Santa Clara County Fire Department ', '{:address {:street1 "14700 Winchester Blvd. ", :street2 "", :city "Los Gatos", :state "CA", :zip "95032"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 7450); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (261, 'P&R Paper Supply Company Inc. ', '{:address {:street1 "2000 University Ave. ", :street2 "", :city "Berkley", :state "CA", :zip "92373"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5910); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (262, 'San Francisco Brewing Co.', '{:address {:street1 "100 Broderick St Suite 401", :street2 "", :city "San Francisco", :state "CA", :zip "94117"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5410); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (263, 'Franchise Tax Board', '{:address {:street1 "PO Box 942857", :street2 "", :city "Sacramento", :state "CA", :zip "94257"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 9720); -INSERT INTO public.vendors (id, name, data, email, invoice_reminder_schedule, code, primary_contact, primary_email, primary_phone, secondary_contact, secondary_email, secondary_phone, default_expense_account) VALUES (264, 'Discretion Brewing ', '{:address {:street1 "2703 41st Street Suite A", :street2 "", :city "Soquel", :state "CA", :zip "95073"}}', NULL, NULL, NULL, '', NULL, '', '', '', '', 5410); - - --- --- Data for Name: checks; Type: TABLE DATA; Schema: public; Owner: ap --- - - - --- --- Name: checks_id_seq; Type: SEQUENCE SET; Schema: public; Owner: ap --- - - diff --git a/migrator/migrations/1531452173-DOWN-change-yodlee-transaction-id.sql b/migrator/migrations/1531452173-DOWN-change-yodlee-transaction-id.sql deleted file mode 100644 index 2bac1b71..00000000 --- a/migrator/migrations/1531452173-DOWN-change-yodlee-transaction-id.sql +++ /dev/null @@ -1,2 +0,0 @@ --- 1531452173 DOWN change-yodlee-transaction-id -alter table transactions alter column id type int; diff --git a/migrator/migrations/1531452173-UP-change-yodlee-transaction-id.sql b/migrator/migrations/1531452173-UP-change-yodlee-transaction-id.sql deleted file mode 100644 index b4b71f2c..00000000 --- a/migrator/migrations/1531452173-UP-change-yodlee-transaction-id.sql +++ /dev/null @@ -1,3 +0,0 @@ --- 1531452173 UP change-yodlee-transaction-id - -alter table transactions alter column id type varchar(255); diff --git a/migrator/migrations/1531464885-DOWN-add-campbell-bank-account.sql b/migrator/migrations/1531464885-DOWN-add-campbell-bank-account.sql deleted file mode 100644 index c247a857..00000000 --- a/migrator/migrations/1531464885-DOWN-add-campbell-bank-account.sql +++ /dev/null @@ -1 +0,0 @@ --- 1531464885 DOWN add-campbell-bank-account \ No newline at end of file diff --git a/migrator/migrations/1531464885-UP-add-campbell-bank-account.sql b/migrator/migrations/1531464885-UP-add-campbell-bank-account.sql deleted file mode 100644 index aba0529d..00000000 --- a/migrator/migrations/1531464885-UP-add-campbell-bank-account.sql +++ /dev/null @@ -1,2 +0,0 @@ --- 1531464885 UP add-campbell-bank-account -update companies set data ='{:locations ["CB"] :bank-accounts [{:number "123456789" :id 1 :check-number 6789 :bank-name "Test account" :bank-code "90-4149/1211" :routing "12345678" :name "test-acct" :yodlee-account-id 0}]}' where name = 'Campbell Brewing Co'; diff --git a/migrator/migrations/1531519712-DOWN-add-real-cbc-banks.sql b/migrator/migrations/1531519712-DOWN-add-real-cbc-banks.sql deleted file mode 100644 index 348ad326..00000000 --- a/migrator/migrations/1531519712-DOWN-add-real-cbc-banks.sql +++ /dev/null @@ -1 +0,0 @@ --- 1531519712 DOWN add-real-cbc-banks \ No newline at end of file diff --git a/migrator/migrations/1531519712-UP-add-real-cbc-banks.sql b/migrator/migrations/1531519712-UP-add-real-cbc-banks.sql deleted file mode 100644 index 0e6eabc6..00000000 --- a/migrator/migrations/1531519712-UP-add-real-cbc-banks.sql +++ /dev/null @@ -1,6 +0,0 @@ --- 1531519712 UP add-real-cbc-banks - -update companies set data ='{:locations ["CB"] :bank-accounts [{:id 0 :type "cash" :name "Cash"} {:number "03103062" :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 "03103070" :id 2 :check-number 10000 :bank-name "United Security Bank" :bank-code "90-4149/1211" :routing "121141495" :name "A1125 USB Operating 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; diff --git a/migrator/migrations/1531595548-DOWN-fix-cbc-typos.sql b/migrator/migrations/1531595548-DOWN-fix-cbc-typos.sql deleted file mode 100644 index 153e70e0..00000000 --- a/migrator/migrations/1531595548-DOWN-fix-cbc-typos.sql +++ /dev/null @@ -1 +0,0 @@ --- 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 deleted file mode 100644 index d0b9355b..00000000 --- a/migrator/migrations/1531595548-UP-fix-cbc-typos.sql +++ /dev/null @@ -1,4 +0,0 @@ --- 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}] :address {:street1 "200 E Campbell Ave" :street2 "" :city "Campbell" :state "CA" :zip "95008"}}' where name = 'Campbell Brewing Co'; - -delete from transactions; diff --git a/migrator/migrations/1531597616-DOWN-add-user-signatures.sql b/migrator/migrations/1531597616-DOWN-add-user-signatures.sql deleted file mode 100644 index 4b47924a..00000000 --- a/migrator/migrations/1531597616-DOWN-add-user-signatures.sql +++ /dev/null @@ -1,2 +0,0 @@ --- 1531597616 DOWN add-user-signatures -alter table companies drop column signature_file; diff --git a/migrator/migrations/1531597616-UP-add-user-signatures.sql b/migrator/migrations/1531597616-UP-add-user-signatures.sql deleted file mode 100644 index 46d63423..00000000 --- a/migrator/migrations/1531597616-UP-add-user-signatures.sql +++ /dev/null @@ -1,6 +0,0 @@ --- 1531597616 UP add-user-signatures -alter table companies add column signature_file text; - -update companies set signature_file = 'https://s3.amazonaws.com/integreat-signature-images/Dan_Sig.jpg' where name = 'Campbell Brewing Co'; - - diff --git a/migrator/migrations/1532360781-DOWN-add-iguanas-bank-accounts.sql b/migrator/migrations/1532360781-DOWN-add-iguanas-bank-accounts.sql deleted file mode 100644 index cb918033..00000000 --- a/migrator/migrations/1532360781-DOWN-add-iguanas-bank-accounts.sql +++ /dev/null @@ -1 +0,0 @@ --- 1532360781 DOWN add-iguanas-bank-accounts \ No newline at end of file diff --git a/migrator/migrations/1532360781-UP-add-iguanas-bank-accounts.sql b/migrator/migrations/1532360781-UP-add-iguanas-bank-accounts.sql deleted file mode 100644 index 1ad6b0e6..00000000 --- a/migrator/migrations/1532360781-UP-add-iguanas-bank-accounts.sql +++ /dev/null @@ -1,2 +0,0 @@ --- 1532360781 UP add-iguanas-bank-accounts -update companies set data = '{:locations ["DT" "EG" "SC" "EG" "SG" "CB" "BH"] :bank-accounts [{:number "000158443280" :id 1 :check-number 10000 :bank-name "Bank of America" :bank-code "11-35/1210" :routing "121000358" :name "A1120 BofA Exp and Main - 3280" :yodlee-account-id 16279663} {:number "" :id 2 :check-number 10000 :bank-name "Bank of America" :bank-code "11-35/1210" :routing "121000358" :name "A1122 BofA Squirrel - 5255" :yodlee-account-id 16279666} {:number "000158743279" :id 3 :check-number 10000 :bank-name "Bank of America" :bank-code "11-35/1210" :routing "121000358" :name "A1121 BofA Tax & SLO - 3279" :yodlee-account-id 16279664} {:number "" :id 4 :check-number 10000 :bank-name "Bank of America" :bank-code "11-35/1210" :routing "121000358" :name "A1123 BofA Paychecks - 5250" :yodlee-account-id 16279665} {:number "" :id 5 :check-number 10000 :bank-name "Bank of America" :bank-code "11-35/1210" :routing "121000358" :name "A1125 BofA EG Exp - 5598" :yodlee-account-id 16279667} {:number "" :id 6 :check-number 10000 :bank-name "Bank of America" :bank-code "11-35/1210" :routing "121000358" :name "A1126 BofA SC Exp - 5318" :yodlee-account-id 16279668} {:number "" :id 7 :check-number 10000 :bank-name "Bank of America" :bank-code "11-35/1210" :routing "121000358" :name "A1127 BofA SG Exp - 8407" :yodlee-account-id 16279669} {:number "" :id 8 :check-number 10000 :bank-name "Bank of America" :bank-code "11-35/1210" :routing "121000358" :name "A1124 BofA DT Exp - 8279" :yodlee-account-id 16279670} {:number "" :id 9 :check-number 10000 :bank-name "Bank of America" :bank-code "11-35/1210" :routing "121000358" :name "A1128 BofA CB Exp - 2495" :yodlee-account-id 16279671} {:number "" :id 10 :check-number 10000 :bank-name "Bank of America" :bank-code "11-35/1210" :routing "121000358" :name "A1129 BofA BH Exp - 1665" :yodlee-account-id 16279672}]}' where id = 39; diff --git a/migrator/migrations/1532704782-DOWN-fix-iguanas-locations.sql b/migrator/migrations/1532704782-DOWN-fix-iguanas-locations.sql deleted file mode 100644 index fe4f1f3e..00000000 --- a/migrator/migrations/1532704782-DOWN-fix-iguanas-locations.sql +++ /dev/null @@ -1 +0,0 @@ --- 1532704782 DOWN fix-iguanas-locations \ No newline at end of file diff --git a/migrator/migrations/1532704782-UP-fix-iguanas-locations.sql b/migrator/migrations/1532704782-UP-fix-iguanas-locations.sql deleted file mode 100644 index 48cc80c1..00000000 --- a/migrator/migrations/1532704782-UP-fix-iguanas-locations.sql +++ /dev/null @@ -1,4 +0,0 @@ --- 1532704782 UP fix-iguanas-locations -update companies set data = '{:locations ["DT" "EG" "SC" "SG" "CB" "BH"] :bank-accounts [{:id 0 :type "cash" :name "Cash"} {:number "000158443280" :id 1 :check-number 10000 :bank-name "Bank of America" :bank-code "11-35/1210" :routing "121000358" :name "A1120 BofA Exp and Main - 3280" :yodlee-account-id 16279663} {:number "" :id 2 :check-number 10000 :bank-name "Bank of America" :bank-code "11-35/1210" :routing "121000358" :name "A1122 BofA Squirrel - 5255" :yodlee-account-id 16279666} {:number "000158743279" :id 3 :check-number 10000 :bank-name "Bank of America" :bank-code "11-35/1210" :routing "121000358" :name "A1121 BofA Tax & SLO - 3279" :yodlee-account-id 16279664} {:number "" :id 4 :check-number 10000 :bank-name "Bank of America" :bank-code "11-35/1210" :routing "121000358" :name "A1123 BofA Paychecks - 5250" :yodlee-account-id 16279665} {:number "" :id 5 :check-number 10000 :bank-name "Bank of America" :bank-code "11-35/1210" :routing "121000358" :name "A1125 BofA EG Exp - 5598" :yodlee-account-id 16279667} {:number "" :id 6 :check-number 10000 :bank-name "Bank of America" :bank-code "11-35/1210" :routing "121000358" :name "A1126 BofA SC Exp - 5318" :yodlee-account-id 16279668} {:number "" :id 7 :check-number 10000 :bank-name "Bank of America" :bank-code "11-35/1210" :routing "121000358" :name "A1127 BofA SG Exp - 8407" :yodlee-account-id 16279669} {:number "" :id 8 :check-number 10000 :bank-name "Bank of America" :bank-code "11-35/1210" :routing "121000358" :name "A1124 BofA DT Exp - 8279" :yodlee-account-id 16279670} {:number "" :id 9 :check-number 10000 :bank-name "Bank of America" :bank-code "11-35/1210" :routing "121000358" :name "A1128 BofA CB Exp - 2495" :yodlee-account-id 16279671} {:number "" :id 10 :check-number 10000 :bank-name "Bank of America" :bank-code "11-35/1210" :routing "121000358" :name "A1129 BofA BH Exp - 1665" :yodlee-account-id 16279672}]}' where id = 39; - - diff --git a/migrator/migrations/1532706413-DOWN-add-default-expense-account.sql b/migrator/migrations/1532706413-DOWN-add-default-expense-account.sql deleted file mode 100644 index d9384b84..00000000 --- a/migrator/migrations/1532706413-DOWN-add-default-expense-account.sql +++ /dev/null @@ -1,2 +0,0 @@ --- 1532706413 DOWN add-default-expense-account -ALTER table invoices drop column default_expense_account; diff --git a/migrator/migrations/1532706413-UP-add-default-expense-account.sql b/migrator/migrations/1532706413-UP-add-default-expense-account.sql deleted file mode 100644 index 6eaa7083..00000000 --- a/migrator/migrations/1532706413-UP-add-default-expense-account.sql +++ /dev/null @@ -1,2 +0,0 @@ --- 1532706413 UP add-default-expense-account -ALTER table invoices add column default_expense_account int; diff --git a/migrator/migrations/1532733305-DOWN-add-check-type.sql b/migrator/migrations/1532733305-DOWN-add-check-type.sql deleted file mode 100644 index ee36c46d..00000000 --- a/migrator/migrations/1532733305-DOWN-add-check-type.sql +++ /dev/null @@ -1,2 +0,0 @@ --- 1532733305 DOWN add-check-type -alter table checks drop column type; diff --git a/migrator/migrations/1532733305-UP-add-check-type.sql b/migrator/migrations/1532733305-UP-add-check-type.sql deleted file mode 100644 index ff6db511..00000000 --- a/migrator/migrations/1532733305-UP-add-check-type.sql +++ /dev/null @@ -1,2 +0,0 @@ --- 1532733305 UP add-check-type -alter table checks add column type varchar(255); diff --git a/migrator/migrations/1534475443-DOWN-update-companies.sql b/migrator/migrations/1534475443-DOWN-update-companies.sql deleted file mode 100644 index 5a30112a..00000000 --- a/migrator/migrations/1534475443-DOWN-update-companies.sql +++ /dev/null @@ -1 +0,0 @@ --- 1534475443 DOWN update-companies \ No newline at end of file diff --git a/migrator/migrations/1534475443-UP-update-companies.sql b/migrator/migrations/1534475443-UP-update-companies.sql deleted file mode 100644 index eada3941..00000000 --- a/migrator/migrations/1534475443-UP-update-companies.sql +++ /dev/null @@ -1,25 +0,0 @@ --- 1534475443 UP update-companies -DELETE FROM companies where code in -('BES', 'BSA', 'HM', 'FCF', 'INT', 'JS', 'MV', 'ORA', 'SK', 'SLO', 'WE', 'MPI'); - -INSERT INTO companies (code, name, data) -VALUES -('BES', 'Brian & Erin Skarbek', '{:locations ["CB"] }'), -('BSA', 'Be Steak A', '{:locations ["CB"] }'), -('HM', 'Hiro Mura', '{:locations ["SV"] }'), -('FCF', 'Frost Cupcake Factory', '{:locations ["CB"] }'), -('INT', 'Integreat', '{:locations ["CB"] }'), -('JS', 'Jason Skarbek', '{:locations ["CB"] }'), -('MV', 'Mio Vicino - Santa Clara', '{:locations ["SC"] }'), -('MPI', 'Moscini Pizza', '{:locations ["CB"] }'), -('ORA', 'Orale''s', '{:locations ["CB"] }'), -('SK', 'Savory Kitchen', '{:locations ["AL"] }'), -('SLO', 'Skarbek Law Offices', '{:locations ["CB"] }'), -('WE', 'Warm Elements', '{:locations ["CB"] }'); - -DELETE FROM invoices_expense_accounts where invoice_id in (select id from invoices where company_id in (select id from companies where name in ('Knock Out Grill & Bar', 'Nasch Bistro', 'Naschmarkt', 'The Socialight'))); -DELETE FROM invoices_checks where invoice_id in (select id from invoices where company_id in (select id from companies where name in ('Knock Out Grill & Bar', 'Nasch Bistro', 'Naschmarkt', 'The Socialight'))); - -DELETE FROM invoices where company_id in (select id from companies where name in ('Knock Out Grill & Bar', 'Nasch Bistro', 'Naschmarkt', 'The Socialight')); -DELETE FROM checks where company_id in (select id from companies where name in ('Knock Out Grill & Bar', 'Nasch Bistro', 'Naschmarkt', 'The Socialight')); -DELETE FROM companies where name in ('Knock Out Grill & Bar', 'Nasch Bistro', 'Naschmarkt', 'The Socialight'); diff --git a/migrator/package-lock.json b/migrator/package-lock.json deleted file mode 100644 index 827719a7..00000000 --- a/migrator/package-lock.json +++ /dev/null @@ -1,132 +0,0 @@ -{ - "name": "migrator", - "version": "1.0.0", - "lockfileVersion": 1, - "requires": true, - "dependencies": { - "buffer-writer": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/buffer-writer/-/buffer-writer-1.0.1.tgz", - "integrity": "sha1-Iqk2kB4wKa/NdUfrRIfOtpejvwg=" - }, - "colors": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/colors/-/colors-1.1.2.tgz", - "integrity": "sha1-FopHAXVran9RoSzgyXv6KMCE7WM=" - }, - "db-migrator": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/db-migrator/-/db-migrator-2.2.0.tgz", - "integrity": "sha512-7A5sSNJwZv0/2dslOOJyccwS7wN99+Xq+ifNXUHEfxlWuVeQ9wGds3s1HYRcmtZl+oV2wq1ZEOXfyPb/GvQpMA==", - "requires": { - "colors": "1.x", - "lodash": "^4.17.4" - } - }, - "js-string-escape": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/js-string-escape/-/js-string-escape-1.0.1.tgz", - "integrity": "sha1-4mJbrbwNZ8dTPp7cEGjFh65BN+8=" - }, - "lodash": { - "version": "4.17.4", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.4.tgz", - "integrity": "sha1-eCA6TRwyiuHYbcpkYONptX9AVa4=" - }, - "packet-reader": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/packet-reader/-/packet-reader-0.3.1.tgz", - "integrity": "sha1-zWLmCvjX/qinBexP+ZCHHEaHHyc=" - }, - "pg": { - "version": "7.4.0", - "resolved": "https://registry.npmjs.org/pg/-/pg-7.4.0.tgz", - "integrity": "sha1-4lYGHSxScjw8hY3vuX8RWcpmD4M=", - "requires": { - "buffer-writer": "1.0.1", - "js-string-escape": "1.0.1", - "packet-reader": "0.3.1", - "pg-connection-string": "0.1.3", - "pg-pool": "~2.0.3", - "pg-types": "~1.12.1", - "pgpass": "1.x", - "semver": "4.3.2" - } - }, - "pg-connection-string": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/pg-connection-string/-/pg-connection-string-0.1.3.tgz", - "integrity": "sha1-2hhHsglA5C7hSSvq9l1J2RskXfc=" - }, - "pg-pool": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/pg-pool/-/pg-pool-2.0.3.tgz", - "integrity": "sha1-wCIDLIlJ8xKk+R+2QJzgQHa+Mlc=" - }, - "pg-types": { - "version": "1.12.1", - "resolved": "https://registry.npmjs.org/pg-types/-/pg-types-1.12.1.tgz", - "integrity": "sha1-1kCH45A7WP+q0nnnWVxSIIoUw9I=", - "requires": { - "postgres-array": "~1.0.0", - "postgres-bytea": "~1.0.0", - "postgres-date": "~1.0.0", - "postgres-interval": "^1.1.0" - } - }, - "pgpass": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/pgpass/-/pgpass-1.0.2.tgz", - "integrity": "sha1-Knu0G2BltnkH6R2hsHwYR8h3swY=", - "requires": { - "split": "^1.0.0" - } - }, - "postgres-array": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/postgres-array/-/postgres-array-1.0.2.tgz", - "integrity": "sha1-jgsy6wO/d6XAp4UeBEHBaaJWojg=" - }, - "postgres-bytea": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/postgres-bytea/-/postgres-bytea-1.0.0.tgz", - "integrity": "sha1-AntTPAqokOJtFy1Hz5zOzFIazTU=" - }, - "postgres-date": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/postgres-date/-/postgres-date-1.0.3.tgz", - "integrity": "sha1-4tiXAu/bJY/52c7g/pG9BpdSV6g=" - }, - "postgres-interval": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/postgres-interval/-/postgres-interval-1.1.1.tgz", - "integrity": "sha512-OkuCi9t/3CZmeQreutGgx/OVNv9MKHGIT5jH8KldQ4NLYXkvmT9nDVxEuCENlNwhlGPE374oA/xMqn05G49pHA==", - "requires": { - "xtend": "^4.0.0" - } - }, - "semver": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/semver/-/semver-4.3.2.tgz", - "integrity": "sha1-x6BxWKgL7dBSNVt3DYLWZA+AO+c=" - }, - "split": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/split/-/split-1.0.1.tgz", - "integrity": "sha512-mTyOoPbrivtXnwnIxZRFYRrPNtEFKlpB2fvjSnCQUiAA6qAZzqwna5envK4uk6OIeP17CsdF3rSBGYVBsU0Tkg==", - "requires": { - "through": "2" - } - }, - "through": { - "version": "2.3.8", - "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", - "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=" - }, - "xtend": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.1.tgz", - "integrity": "sha1-pcbVMr5lbiPbgg77lDofBJmNY68=" - } - } -} diff --git a/migrator/package.json b/migrator/package.json deleted file mode 100644 index 8b77a965..00000000 --- a/migrator/package.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "migrator", - "version": "1.0.0", - "description": "", - "main": "index.js", - "scripts": { - "db-migrate": "db-migrate", - "db-rollback": "db-rollback", - "db-create": "db-create", - "db-status": "db-status" - }, - "author": "Bryce Covert ", - "license": "ISC", - "dependencies": { - "db-migrator": "^2.2.0", - "pg": "^7.4.0" - } -} diff --git a/migrator/scratch.clj_ b/migrator/scratch.clj_ deleted file mode 100644 index ff91ea3b..00000000 --- a/migrator/scratch.clj_ +++ /dev/null @@ -1,63 +0,0 @@ -;; This buffer is for text that is not saved, and for Lisp evaluation. -;; To create a file, visit it with C-x C-f and enter text in its buffer. - -(def things (with-open [reader (io/reader "/Volumes/Data/Dropbox/Covert Integreat - Shared Files/vendors")] (doall (csv/read-csv reader :separator \tab)))) - -(def to-transform (reduce - (fn [things [name _ default-expense-account address1 address2 tax-id _ _ primary-contact primary-email primary-phone secondary-contact secondary-email secondary-phone]] - (conj things { - :name name - :default-expense-account default-expense-account - :address1 address1 - :address2 address2 - :tax-id tax-id - :primary-contact primary-contact - :primary-email primary-email - :primary-phone primary-phone - :secondary-contact secondary-contact - :secondary-email secondary-email - :secondary-phone secondary-phone - - - } )) - [] things)) - -(defn replace-expense-account [x] - (update x :default-expense-account - (fn [e] - (some-> - (first (re-find #"([0-9]+)" e)) - (Integer/parseInt )) - ))) - -(defn replace-address [x] - (let [[_ city zip] (re-find #"(.*), [^0-9]*([0-9]+)" (:address2 x))] - (-> x - (assoc :address - {:street1 (:address1 x) - :street2 "" - :city city - :state "CA" - :zip zip - }) - (dissoc :address1 :address2)))) - -(defn add-default-expense-account [x] - (update x :default-expense-account #(or % 0))) - -(defn extract-email [x] - (update x :primary-email - (fn [email] - (second (re-find #"([a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,63})" email))))) - -(def import (->> to-transform - (map replace-expense-account) - (map replace-address) - (map add-default-expense-account) - (map extract-email) - (filter #(s/valid? :auto-ap.entities.vendors/vendor %)))) - ) -(-> to-transform - (replace-expense-account) - (drop 2) - (take 10)) diff --git a/resources/sample-excel-small.tsv b/resources/sample-excel-small.tsv index 0d9370af..988818f5 100644 --- a/resources/sample-excel-small.tsv +++ b/resources/sample-excel-small.tsv @@ -1 +1,13 @@ -6/16/17 Acme Bread DEMO-CB 3/26/56 12:00 AM $54.00 Naschmarkt X 7/31/17 8:26 AM 8/1/17 3:57 PM 116 \ No newline at end of file +normal +6/16/17 Acme Bread DEMO-CB 3/26/56 12:00 AM $54.00 Naschmarkt X 7/31/17 8:26 AM 8/1/17 3:57 PM 116 + +normal +6/16/17 Acme Bread DEMO-CB 3/26/56 12:00 AM $54.00 Naschmarkt X 7/31/17 8:26 AM 8/1/17 3:57 PM 4500 + + +Unknown vendor +6/16/17 Cool-Vend DEMO-CB 3/26/56 12:00 AM $54.00 Naschmarkt X 7/31/17 8:26 AM 8/1/17 3:57 PM 116 + + +Bad numerical code +6/16/17 Cool-Vend DEMO-CB 3/26/56 12:00 AM $54.00 Naschmarkt X 7/31/17 8:26 AM 8/1/17 3:57 PM 116190aab \ No newline at end of file diff --git a/src/clj/auto_ap/routes/invoices.clj b/src/clj/auto_ap/routes/invoices.clj index 7f5d9d92..d1b684ef 100644 --- a/src/clj/auto_ap/routes/invoices.clj +++ b/src/clj/auto_ap/routes/invoices.clj @@ -125,6 +125,7 @@ (defn invoice-rows->transaction [rows] (->> rows (mapcat (fn [{:keys [vendor-id total client-id amount date invoice-number default-location account-id check vendor]}] + (println account-id vendor) (let [invoice #:invoice {:db/id (.toString (java.util.UUID/randomUUID)) :vendor vendor-id :client client-id @@ -140,8 +141,9 @@ :invoice-status/unpaid) :invoice-number invoice-number :date (to-date date) - :expense-accounts [#:invoice-expense-account {:account (or account-id - (-> vendor :vendor/account :db/id)) + :expense-accounts [#:invoice-expense-account {:account (doto (or account-id + (-> vendor :vendor/default-account :db/id)) + println) :location default-location :amount total}]} payment (if (= :invoice-status/paid (:invoice/status invoice))