Added in importing Supplier CSV
This commit is contained in:
parent
4b7550f569
commit
bf4b092a12
17 changed files with 4696 additions and 23 deletions
23
share/ddl/PostgreSQL/upgrade/26-27/001-auto.sql
Normal file
23
share/ddl/PostgreSQL/upgrade/26-27/001-auto.sql
Normal 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;
|
||||
|
Reference in a new issue