schema.sql: add UNIQUE to icons.hash

This commit is contained in:
Luna Mendes 2018-11-17 18:27:37 -03:00
parent 630db1e1e9
commit cc535bb851
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ CREATE TABLE IF NOT EXISTS icons (
key text,
-- sha256 of the icon
hash text,
hash text UNIQUE,
-- icon mime
mime text NOT NULL,