Capitalize SQL column types
This commit is contained in:
parent
ec5cb5bb17
commit
ca5146e17c
|
@ -1,12 +1,12 @@
|
|||
BEGIN TRANSACTION;
|
||||
CREATE TABLE IF NOT EXISTS "tags" (
|
||||
"id" INTEGER,
|
||||
"label" text,
|
||||
"label" TEXT,
|
||||
PRIMARY KEY("id" AUTOINCREMENT)
|
||||
);
|
||||
CREATE TABLE IF NOT EXISTS "files" (
|
||||
"id" INTEGER,
|
||||
"filename" text,
|
||||
"filename" TEXT,
|
||||
PRIMARY KEY("id" AUTOINCREMENT)
|
||||
);
|
||||
CREATE TABLE IF NOT EXISTS "tags_ties" (
|
||||
|
@ -19,8 +19,8 @@ CREATE TABLE IF NOT EXISTS "tags_ties" (
|
|||
);
|
||||
CREATE TABLE IF NOT EXISTS "hashes" (
|
||||
"id" INTEGER,
|
||||
"md5" text,
|
||||
"fid" int,
|
||||
"md5" TEXT,
|
||||
"fid" INTEGER,
|
||||
PRIMARY KEY("id" AUTOINCREMENT),
|
||||
FOREIGN KEY("fid") REFERENCES "files"("id")
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue