Steve Thielemann 1 mesiac pred
rodič
commit
fa4f040767
1 zmenil súbory, kde vykonal 2 pridanie a 1 odobranie
  1. 2 1
      src/sql/init.sql

+ 2 - 1
src/sql/init.sql

@@ -1,8 +1,9 @@
 CREATE TABLE "Books" (
 	"bid"	INTEGER,
-	"book"	TEXT NOT NULL UNIQUE,
+	"book"	TEXT NOT NULL,
 	PRIMARY KEY("bid" AUTOINCREMENT)
 );
+CREATE UNIQUE INDEX iBook ON Books(book);
 CREATE TABLE "Verses" (
 	"bid"	INTEGER,
 	"chapter"	INTEGER,