diff --git a/common/src/main/resources/queries/migrations/mysql/V2__create_tables.sql b/common/src/main/resources/queries/migrations/mysql/V2__create_tables.sql new file mode 100644 index 00000000..5b7724ff --- /dev/null +++ b/common/src/main/resources/queries/migrations/mysql/V2__create_tables.sql @@ -0,0 +1,5 @@ +CREATE TABLE carbon_leftchannels ( + `id` BINARY(16) NOT NULL, + `channel` BINARY(16) NOT NULL, + PRIMARY KEY (id, channel) +); diff --git a/common/src/main/resources/queries/migrations/postgresql/V2__create_tables.sql b/common/src/main/resources/queries/migrations/postgresql/V2__create_tables.sql new file mode 100644 index 00000000..fb2add8d --- /dev/null +++ b/common/src/main/resources/queries/migrations/postgresql/V2__create_tables.sql @@ -0,0 +1,5 @@ +CREATE TABLE carbon_leftchannels ( + id uuid NOT NULL, + channel varchar(100) NOT NULL, + PRIMARY KEY (id, channel) +);