mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
dirty index doesn't need to cover false case
This commit is contained in:
parent
bf50f88540
commit
1ca11e4268
1 changed files with 1 additions and 1 deletions
|
@ -5,6 +5,6 @@ create table media (
|
||||||
dirty int not null
|
dirty int not null
|
||||||
);
|
);
|
||||||
|
|
||||||
create index idx_media_dirty on media (dirty);
|
create index idx_media_dirty on media (dirty) where dirty=1;
|
||||||
|
|
||||||
create table meta (dirMod int, lastUsn int); insert into meta values (0, 0);
|
create table meta (dirMod int, lastUsn int); insert into meta values (0, 0);
|
||||||
|
|
Loading…
Reference in a new issue