Fix the log_sql module schema allowing null columns.

This commit is contained in:
Sadie Powell 2024-07-01 12:06:45 +01:00
parent f18df622ab
commit de1ede1ebc
4 changed files with 13 additions and 16 deletions

View File

@ -1,6 +1,5 @@
CREATE TABLE IF NOT EXISTS `ircd_log` (
`time` datetime,
`type` varchar(50),
`message` text
`time` datetime NOT NULL,
`type` varchar(50) NOT NULL,
`message` text NOT NULL
);

View File

@ -1,6 +1,5 @@
CREATE TABLE IF NOT EXISTS "ircd_log" (
"time" datetime,
"type" varchar(50),
"message" text
"time" datetime NOT NULL,
"type" varchar(50) NOT NULL,
"message" text NOT NULL
);

View File

@ -1,5 +1,5 @@
Table ircd_log {
time datetime
type varchar(50)
message text
time datetime [not null]
type varchar(50) [not null]
message text [not null]
}

View File

@ -1,6 +1,5 @@
CREATE TABLE "ircd_log" (
"time" datetime,
"type" varchar(50),
"message" text
CREATE TABLE IF NOT EXISTS "ircd_log" (
"time" datetime NOT NULL,
"type" varchar(50) NOT NULL,
"message" text NOT NULL
);