This commit is contained in:
Siwoo Jeon 2023-12-17 20:35:37 +09:00
parent 72ac25f773
commit fd30062398
Signed by: migan
GPG key ID: C4151385FFD2082A

View file

@ -1,6 +1,6 @@
CREATE TABLE
`statement` (
`id` int(11) NOT NULL,
`id` int(11) NOT NULL AUTO_INCREMENT,
`text` varchar(255) DEFAULT NULL,
`search_text` varchar(255) NOT NULL DEFAULT '',
`conversation` varchar(32) NOT NULL DEFAULT '',
@ -13,7 +13,7 @@ CREATE TABLE
CREATE TABLE
`nsfw_content` (
`id` int(11) NOT NULL,
`id` int(11) NOT NULL AUTO_INCREMENT,
`text` varchar(255) NOT NULL DEFAULT '',
`created_at` datetime DEFAULT current_timestamp(),
`persona` varchar(50) NOT NULL DEFAULT '',
@ -21,10 +21,11 @@ CREATE TABLE
);
CREATE TABLE
learn (
command varchar(255) NOT NULL,
result varchar(255) NOT NULL,
user_id varchar(255) NOT NULL,
created_at datetime NOT NULL DEFAULT current_timestamp(),
primary key(`command`)
`learn` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`command` varchar(255) NOT NULL,
`result` varchar(255) NOT NULL,
`user_id` varchar(255) NOT NULL,
`created_at` datetime NOT NULL DEFAULT current_timestamp(),
primary key(`id`)
);