mirror of
https://github.com/latentPrion/cppbessot.git
synced 2026-04-17 18:44:23 +00:00
Add generated test-schema-v1.2
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
/* This file was generated by ODB, object-relational mapping (ORM)
|
||||
* compiler for C++.
|
||||
*/
|
||||
|
||||
DROP TABLE IF EXISTS "GovernmentAddress";
|
||||
|
||||
CREATE TABLE IF NOT EXISTS "schema_version" (
|
||||
"name" TEXT NOT NULL PRIMARY KEY,
|
||||
"version" INTEGER NOT NULL,
|
||||
"migration" INTEGER NOT NULL);
|
||||
|
||||
DELETE FROM "schema_version"
|
||||
WHERE "name" = '';
|
||||
|
||||
CREATE TABLE "GovernmentAddress" (
|
||||
"id" TEXT NOT NULL PRIMARY KEY,
|
||||
"addressLabel" TEXT NOT NULL,
|
||||
"regionLookupKey" TEXT NOT NULL);
|
||||
|
||||
INSERT OR IGNORE INTO "schema_version" (
|
||||
"name", "version", "migration")
|
||||
VALUES ('', 2, 0);
|
||||
|
||||
Reference in New Issue
Block a user