@@ -19,7 +19,7 @@ CREATE TABLE channel (
1919 changed_at bigint NOT NULL ,
2020 deleted enum(' n' , ' y' ) NOT NULL DEFAULT ' n' ,
2121
22- external_uuid uuid NOT NULL UNIQUE,
22+ external_uuid char ( 36 ) NOT NULL UNIQUE,
2323
2424 CONSTRAINT pk_channel PRIMARY KEY (id),
2525 CONSTRAINT fk_channel_available_channel_type FOREIGN KEY (type) REFERENCES available_channel_type(type)
@@ -36,7 +36,7 @@ CREATE TABLE contact (
3636 changed_at bigint NOT NULL ,
3737 deleted enum(' n' , ' y' ) NOT NULL DEFAULT ' n' ,
3838
39- external_uuid uuid NOT NULL UNIQUE,
39+ external_uuid char ( 36 ) NOT NULL UNIQUE,
4040
4141 CONSTRAINT pk_contact PRIMARY KEY (id),
4242
@@ -70,7 +70,7 @@ CREATE TABLE contactgroup (
7070 changed_at bigint NOT NULL ,
7171 deleted enum(' n' , ' y' ) NOT NULL DEFAULT ' n' ,
7272
73- external_uuid uuid NOT NULL UNIQUE,
73+ external_uuid char ( 36 ) NOT NULL UNIQUE,
7474
7575 CONSTRAINT pk_contactgroup PRIMARY KEY (id)
7676) ENGINE= InnoDB DEFAULT CHARSET= utf8mb4 COLLATE= utf8mb4_bin;
0 commit comments