Add topic creation

This commit is contained in:
Rumperuu 2021-03-21 16:34:08 +00:00
parent abcf16497f
commit 13188d49a1
15 changed files with 5315 additions and 35 deletions

View file

@ -0,0 +1,19 @@
-- Convert schema 'share/ddl/_source/deploy/33/001-auto.yml' to 'share/ddl/_source/deploy/34/001-auto.yml':;
;
BEGIN;
;
ALTER TABLE topics ADD COLUMN organisation_id integer;
;
CREATE INDEX topics_idx_organisation_id on topics (organisation_id);
;
ALTER TABLE topics ADD CONSTRAINT topics_fk_organisation_id FOREIGN KEY (organisation_id)
REFERENCES organisations (id) ON DELETE NO ACTION ON UPDATE NO ACTION;
;
COMMIT;