Browse Source

Fix migration postgresql script

Co-authored-by: Daniel García <dani-garcia@users.noreply.github.com>
pull/2667/head
Maximilian Fijak 3 years ago
committed by GitHub
parent
commit
10bbf7d59e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      migrations/postgresql/2022-07-27-110000_add_group_support/up.sql

2
migrations/postgresql/2022-07-27-110000_add_group_support/up.sql

@ -11,7 +11,7 @@ CREATE TABLE groups (
CREATE TABLE groups_users (
groups_uuid CHAR(36) NOT NULL REFERENCES groups (uuid),
users_organizations_uuid VARCHAR(36) NOT NULL REFERENCES users_organizations (uuid),
PRIMARY KEY (group_uuid, users_organizations_uuid)
PRIMARY KEY (groups_uuid, users_organizations_uuid)
);
CREATE TABLE collections_groups (

Loading…
Cancel
Save