Add 'UNIQUE' to msgid in databases

This commit is contained in:
Retro_Guy 2021-02-16 23:49:46 -07:00
parent 2ad74eac12
commit 73f9f7349b
1 changed files with 2 additions and 2 deletions

View File

@ -1279,7 +1279,7 @@ function rslight_db_open($database, $table='overview') {
id INTEGER PRIMARY KEY, id INTEGER PRIMARY KEY,
newsgroup TEXT, newsgroup TEXT,
number TEXT, number TEXT,
msgid TEXT, msgid TEXT UNIQUE,
date TEXT, date TEXT,
name TEXT, name TEXT,
subject TEXT)"); subject TEXT)");
@ -1305,7 +1305,7 @@ function article_db_open($database) {
id INTEGER PRIMARY KEY, id INTEGER PRIMARY KEY,
newsgroup TEXT, newsgroup TEXT,
number TEXT, number TEXT,
msgid TEXT, msgid TEXT UNIQUE,
date TEXT, date TEXT,
name TEXT, name TEXT,
subject TEXT, subject TEXT,