Added in importing Supplier CSV

This commit is contained in:
Finn 2019-07-05 15:30:31 +01:00
parent c9fce1c887
commit c814085630
17 changed files with 4696 additions and 23 deletions

View file

@ -0,0 +1,23 @@
-- Convert schema 'share/ddl/_source/deploy/26/001-auto.yml' to 'share/ddl/_source/deploy/27/001-auto.yml':;
;
BEGIN;
;
ALTER TABLE organisations DROP CONSTRAINT organisations_fk_social_type_id;
;
ALTER TABLE organisations ADD CONSTRAINT organisations_fk_social_type_id FOREIGN KEY (social_type_id)
REFERENCES organisation_social_types (id) ON DELETE CASCADE ON UPDATE CASCADE DEFERRABLE;
;
ALTER TABLE organisations_external DROP CONSTRAINT organisations_external_fk_org_id;
;
ALTER TABLE organisations_external ADD CONSTRAINT organisations_external_fk_org_id FOREIGN KEY (org_id)
REFERENCES organisations (id) ON DELETE CASCADE ON UPDATE CASCADE DEFERRABLE;
;
COMMIT;