mirror of
https://github.com/rbreu/beeref.git
synced 2026-03-11 08:54:28 +00:00
Add UINIQUE constraint to sqlar.item_id
This commit is contained in:
parent
3311294ccd
commit
8a9cab9a73
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ SCHEMA = [
|
|||
"""
|
||||
CREATE TABLE sqlar (
|
||||
name TEXT PRIMARY KEY,
|
||||
item_id INTEGER NOT NULL,
|
||||
item_id INTEGER NOT NULL UNIQUE,
|
||||
mode INT,
|
||||
mtime INT default current_timestamp,
|
||||
sz INT,
|
||||
|
|
|
|||
Loading…
Reference in a new issue