mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 13:47:26 +02:00
Oops, update initial schema version too
This commit is contained in:
@@ -295,4 +295,4 @@ CREATE TABLE IF NOT EXISTS settings (
|
|||||||
v TEXT NOT NULL DEFAULT ''
|
v TEXT NOT NULL DEFAULT ''
|
||||||
);
|
);
|
||||||
|
|
||||||
INSERT INTO settings(k,v) VALUES('schema_version', '28');
|
INSERT INTO settings(k,v) VALUES('schema_version', '29');
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
This file was automatically generated from ./Schema.sql on Fri Nov 18 14:00:37 CET 2011.
|
This file was automatically generated from ./Schema.sql on Wed Sep 26 14:51:40 EDT 2012.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static const char * tomahawk_schema_sql =
|
static const char * tomahawk_schema_sql =
|
||||||
@@ -107,6 +107,7 @@ static const char * tomahawk_schema_sql =
|
|||||||
");"
|
");"
|
||||||
"CREATE UNIQUE INDEX file_url_src_uniq ON file(source, url);"
|
"CREATE UNIQUE INDEX file_url_src_uniq ON file(source, url);"
|
||||||
"CREATE INDEX file_source ON file(source);"
|
"CREATE INDEX file_source ON file(source);"
|
||||||
|
"CREATE INDEX file_mtime ON file(mtime);"
|
||||||
"CREATE TABLE IF NOT EXISTS dirs_scanned ("
|
"CREATE TABLE IF NOT EXISTS dirs_scanned ("
|
||||||
" name TEXT PRIMARY KEY,"
|
" name TEXT PRIMARY KEY,"
|
||||||
" mtime INTEGER NOT NULL"
|
" mtime INTEGER NOT NULL"
|
||||||
@@ -191,7 +192,7 @@ static const char * tomahawk_schema_sql =
|
|||||||
" k TEXT NOT NULL PRIMARY KEY,"
|
" k TEXT NOT NULL PRIMARY KEY,"
|
||||||
" v TEXT NOT NULL DEFAULT ''"
|
" v TEXT NOT NULL DEFAULT ''"
|
||||||
");"
|
");"
|
||||||
"INSERT INTO settings(k,v) VALUES('schema_version', '28');"
|
"INSERT INTO settings(k,v) VALUES('schema_version', '29');"
|
||||||
;
|
;
|
||||||
|
|
||||||
const char * get_tomahawk_sql()
|
const char * get_tomahawk_sql()
|
||||||
|
Reference in New Issue
Block a user