[allnet] Fix Keychip sql migration on MariaDB/MySQL

This commit is contained in:
Dom Eori
2023-04-25 17:26:46 +09:00
parent 38be1903f6
commit 046f65805d
3 changed files with 25 additions and 27 deletions

View File

@@ -1,8 +1,5 @@
create table allnet_keychips
CREATE TABLE allnet_keychips
(
id int(20) primary key AUTOINCREMENT not null,
keychip_id varchar(255) not null
)
ENGINE = InnoDB
DEFAULT CHARSET = utf8mb4
collate = utf8mb4_unicode_ci;
id BIGINT auto_increment PRIMARY KEY,
keychip_id VARCHAR(255) NOT NULL
);

View File

@@ -1,8 +1,5 @@
create table allnet_keychips
CREATE TABLE allnet_keychips
(
id int(20) primary key AUTOINCREMENT not null,
keychip_id varchar(255) not null
)
ENGINE = InnoDB
DEFAULT CHARSET = utf8mb4
collate = utf8mb4_unicode_ci;
id BIGINT auto_increment PRIMARY KEY,
keychip_id VARCHAR(255) NOT NULL
);