aboutsummaryrefslogtreecommitdiff
path: root/libbrep/package-034-pre.sql
diff options
context:
space:
mode:
Diffstat (limited to 'libbrep/package-034-pre.sql')
-rw-r--r--libbrep/package-034-pre.sql14
1 files changed, 14 insertions, 0 deletions
diff --git a/libbrep/package-034-pre.sql b/libbrep/package-034-pre.sql
new file mode 100644
index 0000000..6229da0
--- /dev/null
+++ b/libbrep/package-034-pre.sql
@@ -0,0 +1,14 @@
+/* This file was generated by ODB, object-relational mapping (ORM)
+ * compiler for C++.
+ */
+
+ALTER TABLE "tenant"
+ ADD COLUMN "loaded_timestamp" BIGINT NULL;
+
+CREATE INDEX "tenant_loaded_timestamp_i"
+ ON "tenant" ("loaded_timestamp");
+
+UPDATE "schema_version"
+ SET "version" = 34, "migration" = TRUE
+ WHERE "name" = 'package';
+