feat: remove unique name constraint on group (#18)

This commit is contained in:
vran
2022-02-19 23:03:59 +08:00
committed by GitHub
parent f0d1e7df3b
commit 77b1583f0b
3 changed files with 3 additions and 9 deletions

View File

@@ -1,4 +1,4 @@
CREATE TABLE operation_log
CREATE TABLE IF NOT EXISTS operation_log
(
id BIGINT PRIMARY KEY AUTO_INCREMENT NOT NULL,
@@ -16,3 +16,5 @@ CREATE TABLE operation_log
create_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
) CHARSET utf8mb4
COLLATE utf8mb4_unicode_ci;
DROP INDEX uk_name ON `group`;