mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-09 10:39:02 -04:00
Fix the log_sql module schema allowing null columns.
This commit is contained in:
parent
f18df622ab
commit
de1ede1ebc
@ -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
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -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
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -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]
|
||||||
}
|
}
|
||||||
|
@ -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
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user