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` ( CREATE TABLE IF NOT EXISTS `ircd_log` (
`time` datetime, `time` datetime NOT NULL,
`type` varchar(50), `type` varchar(50) NOT NULL,
`message` text `message` text NOT NULL
); );

View File

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

View File

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

View File

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