From 28889ed91b773c415f715132ba36c8f6bdf0defd Mon Sep 17 00:00:00 2001 From: fabiante Date: Fri, 22 Sep 2023 15:35:11 +0200 Subject: [PATCH] Change migrations: rename existing migrations This is a breaking change since existing migrations are changed. This is fine since persurl has no usage yet. --- db/migrations/migrate.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/db/migrations/migrate.go b/db/migrations/migrate.go index 1b5d94b..1b79070 100644 --- a/db/migrations/migrate.go +++ b/db/migrations/migrate.go @@ -39,7 +39,7 @@ func newMigration(name string, query string) *migrator.MigrationNoTx { } var migrationsPostgres = []any{ - newMigration("2023-09-18-00000001-CreateTableDomains", `create table domains + newMigration("2023-09-18-00000010-CreateTableDomains", `create table domains ( id serial constraint domains_pk2 @@ -53,7 +53,7 @@ var migrationsPostgres = []any{ )`, ), - newMigration("2023-09-18-00000002-CreateTablePurls", `create table purls + newMigration("2023-09-18-00000020-CreateTablePurls", `create table purls ( id serial constraint purls_pk