Store the schema version to make updates easier

This commit is contained in:
David Sansome 2010-01-17 15:52:17 +00:00
parent 63d7afb404
commit 9503c3c449
1 changed files with 6 additions and 0 deletions

View File

@ -30,3 +30,9 @@ CREATE TABLE songs (
ctime INTEGER NOT NULL,
filesize INTEGER NOT NULL
);
CREATE TABLE schema_version (
version INTEGER NOT NULL
);
INSERT INTO schema_version (version) VALUES (0);