Skip to content

Commit

Permalink
Merge pull request #140 from authzed/graphfix
Browse files Browse the repository at this point in the history
fix migration for postgres v1.14.0-v1.16.1
  • Loading branch information
ecordell authored Feb 1, 2023
2 parents 2c72d56 + 8bf6211 commit 9ef8dbd
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 10 deletions.
14 changes: 9 additions & 5 deletions default-operator-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -148,22 +148,23 @@ channels:
- v1.16.1
metadata:
datastore: postgres
default: "true"
name: stable
nodes:
- id: v1.16.1
migration: drop-id-constraints
migration: drop-bigserial-ids
tag: v1.16.1
- id: v1.16.0
migration: drop-id-constraints
migration: drop-bigserial-ids
tag: v1.16.0
- id: v1.15.0
migration: drop-id-constraints
migration: drop-bigserial-ids
tag: v1.15.0
- id: v1.14.1
migration: drop-id-constraints
migration: drop-bigserial-ids
tag: v1.14.1
- id: v1.14.0
migration: drop-id-constraints
migration: drop-bigserial-ids
tag: v1.14.0
- id: v1.14.0-phase2
migration: add-xid-constraints
Expand Down Expand Up @@ -408,6 +409,7 @@ channels:
- v1.16.1
metadata:
datastore: cockroachdb
default: "true"
name: stable
nodes:
- id: v1.16.1
Expand Down Expand Up @@ -555,6 +557,7 @@ channels:
- v1.16.1
metadata:
datastore: mysql
default: "true"
name: stable
nodes:
- id: v1.16.1
Expand Down Expand Up @@ -786,6 +789,7 @@ channels:
- v1.16.1
metadata:
datastore: spanner
default: "true"
name: stable
nodes:
- id: v1.16.1
Expand Down
10 changes: 5 additions & 5 deletions tools/generate-update-graph/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@ func main() {

func postgresChannel() updates.Channel {
releases := []updates.State{
{ID: "v1.16.1", Tag: "v1.16.1", Migration: "drop-id-constraints"},
{ID: "v1.16.0", Tag: "v1.16.0", Migration: "drop-id-constraints"},
{ID: "v1.15.0", Tag: "v1.15.0", Migration: "drop-id-constraints"},
{ID: "v1.14.1", Tag: "v1.14.1", Migration: "drop-id-constraints"},
{ID: "v1.14.0", Tag: "v1.14.0", Migration: "drop-id-constraints"},
{ID: "v1.16.1", Tag: "v1.16.1", Migration: "drop-bigserial-ids"},
{ID: "v1.16.0", Tag: "v1.16.0", Migration: "drop-bigserial-ids"},
{ID: "v1.15.0", Tag: "v1.15.0", Migration: "drop-bigserial-ids"},
{ID: "v1.14.1", Tag: "v1.14.1", Migration: "drop-bigserial-ids"},
{ID: "v1.14.0", Tag: "v1.14.0", Migration: "drop-bigserial-ids"},
{ID: "v1.14.0-phase2", Tag: "v1.14.0", Migration: "add-xid-constraints", Phase: "write-both-read-new"},
{ID: "v1.14.0-phase1", Tag: "v1.14.0", Migration: "add-xid-columns", Phase: "write-both-read-old"},
{ID: "v1.13.0", Tag: "v1.13.0", Migration: "add-ns-config-id"},
Expand Down

0 comments on commit 9ef8dbd

Please sign in to comment.