mirror of
https://github.com/ankitects/anki.git
synced 2025-09-22 16:02:23 -04:00

See https://github.com/ankitects/anki/pull/900#issuecomment-758284016 - Leave tag names alone and add the collapsed and config columns to the tags table. - Update The DB check code to preserve the collapse state of used tags. - Add a simple test for clearing tags and their children
7 lines
No EOL
175 B
SQL
7 lines
No EOL
175 B
SQL
DROP TABLE tags;
|
|
CREATE TABLE tags (
|
|
tag text NOT NULL PRIMARY KEY COLLATE unicase,
|
|
usn integer NOT NULL,
|
|
collapsed boolean NOT NULL,
|
|
config blob NULL
|
|
) without rowid; |