Skip to content

Commit 3f349d0

Browse files
committed
Fix: mysql external_uuid db type
1 parent 2bc6826 commit 3f349d0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/schema/mysql/schema.sql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)