diff options
| author | Xe Iaso <me@xeiaso.net> | 2023-06-22 07:45:51 -0400 |
|---|---|---|
| committer | Xe Iaso <me@xeiaso.net> | 2023-06-22 07:45:51 -0400 |
| commit | f8251f93d4a500e6a5b82bdb045cd5e0c51a7140 (patch) | |
| tree | e6e100cd3c47624bbdb1ef913aedbf65ae69dc71 /cmd/marabot/schema.sql | |
| parent | 19fd40f5d6294d9154181b2340a91dbb9524e582 (diff) | |
| download | x-f8251f93d4a500e6a5b82bdb045cd5e0c51a7140.tar.xz x-f8251f93d4a500e6a5b82bdb045cd5e0c51a7140.zip | |
cmd/marabot: try some things to make the SQLite inserts fail less
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'cmd/marabot/schema.sql')
| -rw-r--r-- | cmd/marabot/schema.sql | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/marabot/schema.sql b/cmd/marabot/schema.sql index 5c5f045..9709a4a 100644 --- a/cmd/marabot/schema.sql +++ b/cmd/marabot/schema.sql @@ -96,7 +96,7 @@ CREATE INDEX IF NOT EXISTS discord_emoji_url ON discord_emoji(url); CREATE TABLE IF NOT EXISTS irc_messages ( - id SERIAL PRIMARY KEY, + id SERIAL PRIMARY KEY AUTOINCREMENT, nick TEXT NOT NULL, user TEXT NOT NULL, host TEXT NOT NULL, |
