fix: Database type
This commit is contained in:
parent
81bfd775d3
commit
9d84e7b608
2 changed files with 27 additions and 30 deletions
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "muffinbot",
|
||||
"version": "3.0.1-cake.r240815b",
|
||||
"version": "3.1.0-cake.d240923a",
|
||||
"main": "dist/index.js",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
CREATE TABLE
|
||||
`statement` (
|
||||
CREATE TABLE `statement` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`text` varchar(255) DEFAULT NULL,
|
||||
`text` varchar(255) DEFAULT NOT NULL,
|
||||
`search_text` varchar(255) NOT NULL DEFAULT '',
|
||||
`conversation` varchar(32) NOT NULL DEFAULT '',
|
||||
`created_at` datetime DEFAULT current_timestamp(),
|
||||
|
@ -9,23 +8,21 @@ CREATE TABLE
|
|||
`search_in_response_to` varchar(255) NOT NULL DEFAULT '',
|
||||
`persona` varchar(50) NOT NULL DEFAULT '',
|
||||
PRIMARY KEY (`id`)
|
||||
);
|
||||
);
|
||||
|
||||
CREATE TABLE
|
||||
`nsfw_content` (
|
||||
CREATE TABLE `nsfw_content` (
|
||||
`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 '',
|
||||
PRIMARY KEY (`id`)
|
||||
);
|
||||
);
|
||||
|
||||
CREATE TABLE
|
||||
`learn` (
|
||||
CREATE TABLE `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`)
|
||||
);
|
||||
primary key (`id`)
|
||||
);
|
Loading…
Reference in a new issue