From 31a43cc8d3f676461f04d58e74616477330482f1 Mon Sep 17 00:00:00 2001 From: Alexander Sandor Date: Wed, 15 Nov 2023 10:37:16 +0100 Subject: [PATCH] generate: update_pubspecs to update template project. --- .../generated/tables-serverpod.pgsql | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/templates/serverpod_templates/projectname_server/generated/tables-serverpod.pgsql b/templates/serverpod_templates/projectname_server/generated/tables-serverpod.pgsql index 9b03823e06..08d4cbf626 100644 --- a/templates/serverpod_templates/projectname_server/generated/tables-serverpod.pgsql +++ b/templates/serverpod_templates/projectname_server/generated/tables-serverpod.pgsql @@ -169,6 +169,22 @@ ALTER TABLE ONLY "serverpod_method" CREATE UNIQUE INDEX serverpod_method_endpoint_method_idx ON "serverpod_method" USING btree ("endpoint", "method"); +-- +-- Class DatabaseMigrationVersion as table serverpod_migrations +-- + +CREATE TABLE "serverpod_migrations" ( + "id" serial, + "module" text NOT NULL, + "version" text NOT NULL, + "timestamp" timestamp without time zone +); + +ALTER TABLE ONLY "serverpod_migrations" + ADD CONSTRAINT serverpod_migrations_pkey PRIMARY KEY (id); + +CREATE UNIQUE INDEX serverpod_migrations_ids ON "serverpod_migrations" USING btree ("module"); + -- -- Class QueryLogEntry as table serverpod_query_log --