mirror of
https://framagit.org/fiat-tux/hat-softwares/lutim.git
synced 2026-08-07 09:22:46 +02:00
Add partial index on SQLite
This commit is contained in:
@@ -21,3 +21,7 @@ DROP TABLE lutim;
|
||||
-- 2 up
|
||||
ALTER TABLE lutim ADD COLUMN iv TEXT;
|
||||
-- 2 down
|
||||
-- 3 up
|
||||
CREATE INDEX IF NOT EXISTS empty_short_idx ON lutim (short) WHERE path IS NULL;
|
||||
-- 3 down
|
||||
DROP INDEX empty_short_idx;
|
||||
|
||||
Reference in New Issue
Block a user