]> WPIA git - gigi.git/blobdiff - src/org/cacert/gigi/database/tableStructure.sql
add: notify board if a support role is granted or removed
[gigi.git] / src / org / cacert / gigi / database / tableStructure.sql
index f9010ccb296774c4b61062a0b51c90b3d435e4d8..947b09edac5f4c4378f47a1a522593c760855537 100644 (file)
@@ -16,6 +16,7 @@ CREATE TABLE "users" (
   "dob" date NOT NULL,
   "verified" boolean NOT NULL DEFAULT 'false',
   "language" varchar(5) NOT NULL DEFAULT '',
+  "country" varchar(2) NULL,
   PRIMARY KEY ("id")
 );
 CREATE INDEX ON "users" ("email");
@@ -271,6 +272,7 @@ CREATE TABLE "notary" (
   "sponsor" int NOT NULL DEFAULT '0',
 # date when verification was deleted (or 0)
   "deleted" timestamp NULL DEFAULT NULL,
+  "country" varchar(2) NULL,
   PRIMARY KEY ("id")
 );
 
@@ -372,7 +374,7 @@ CREATE TABLE "schemeVersion" (
   "version" smallint NOT NULL,
   PRIMARY KEY ("version")
 );
-INSERT INTO "schemeVersion" (version)  VALUES(21);
+INSERT INTO "schemeVersion" (version)  VALUES(23);
 
 DROP TABLE IF EXISTS `passwordResetTickets`;
 CREATE TABLE `passwordResetTickets` (