Add 'UNIQUE' to msgid in databases
This commit is contained in:
parent
2ad74eac12
commit
73f9f7349b
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue