Skip to content

Commit afcc27c

Browse files
committed
fix the migration script
1 parent afffb3f commit afcc27c

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
ALTER TABLE digger_job_tokens
2+
DROP COLUMN organisation_id;
3+
4+
ALTER TABLE digger_job_tokens
5+
ADD COLUMN organisation_id UUID;
6+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
ALTER TABLE digger_job_tokens
2+
ADD CONSTRAINT fk_jt_organisation_id
3+
FOREIGN KEY (organisation_id) REFERENCES organizations(id);

0 commit comments

Comments
 (0)