Skip to content

Commit

Permalink
Change migrations: rename existing migrations
Browse files Browse the repository at this point in the history
This is a breaking change since existing migrations are changed.

This is fine since persurl has no usage yet.
  • Loading branch information
fabiante committed Sep 22, 2023
1 parent 8a960e5 commit 28889ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions db/migrations/migrate.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 28889ed

Please sign in to comment.