Skip to content

Commit

Permalink
migration to app.channel_id column
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian Hines committed Jul 17, 2024
1 parent 27b950b commit 984a1bd
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ require (
github.com/pkg/errors v0.9.1
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2
github.com/replicatedhq/embedded-cluster-kinds v1.4.5
github.com/replicatedhq/kotskinds v0.0.0-20240621084729-1eb1e3eac6f2
github.com/replicatedhq/kotskinds v0.0.0-20240717145110-8eb39e8b3a41
github.com/replicatedhq/kurlkinds v1.5.0
github.com/replicatedhq/troubleshoot v0.95.1
github.com/replicatedhq/yaml/v3 v3.0.0-beta5-replicatedhq
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1317,6 +1317,8 @@ github.com/replicatedhq/embedded-cluster-kinds v1.4.5 h1:OZygNoSL4yFF+r+0l2slnq/
github.com/replicatedhq/embedded-cluster-kinds v1.4.5/go.mod h1:AwopUvvGcaWO4mn9DkbPj5RnLuOy756CNLrcaAlmjMo=
github.com/replicatedhq/kotskinds v0.0.0-20240621084729-1eb1e3eac6f2 h1:xL4u2RHhMaGDgz7Lol5MhVYLnWahV3sCJZbfebpPao0=
github.com/replicatedhq/kotskinds v0.0.0-20240621084729-1eb1e3eac6f2/go.mod h1:QjhIUu3+OmHZ09u09j3FCoTt8F3BYtQglS+OLmftu9I=
github.com/replicatedhq/kotskinds v0.0.0-20240717145110-8eb39e8b3a41 h1:xvvRq5EZ7wBlsrDZIAUpJ318cEMzTpt8zVAO2atFQlM=
github.com/replicatedhq/kotskinds v0.0.0-20240717145110-8eb39e8b3a41/go.mod h1:QjhIUu3+OmHZ09u09j3FCoTt8F3BYtQglS+OLmftu9I=
github.com/replicatedhq/kurlkinds v1.5.0 h1:zZ0PKNeh4kXvSzVGkn62DKTo314GxhXg1TSB3azURMc=
github.com/replicatedhq/kurlkinds v1.5.0/go.mod h1:rUpBMdC81IhmJNCWMU/uRsMETv9P0xFoMvdSP/TAr5A=
github.com/replicatedhq/termui/v3 v3.1.1-0.20200811145416-f40076d26851 h1:eRlNDHxGfVkPCRXbA4BfQJvt5DHjFiTtWy3R/t4djyY=
Expand Down
3 changes: 2 additions & 1 deletion migrations/build-ttl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ set -e

CURRENT_USER=${GITHUB_USER:-$(id -u -n)}
IMAGE=ttl.sh/${CURRENT_USER}/kotsadm-migrations:24h
SCHEMAHERO_TAG=${SCHEMAHERO_TAG:-0.17.9}

docker build -f deploy/Dockerfile -t ${IMAGE} .
docker build --build-arg SCHEMAHERO_TAG=${SCHEMAHERO_TAG} -f deploy/Dockerfile -t ${IMAGE} .
docker push ${IMAGE}

GREEN='\033[0;32m'
Expand Down
2 changes: 2 additions & 0 deletions migrations/tables/app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,5 @@ spec:
default: 0
constraints:
notNull: true
- name: channel_id
type: text

0 comments on commit 984a1bd

Please sign in to comment.