From b0b3ea17b7b2d6ccc354ec1d8301d62ac00de60e Mon Sep 17 00:00:00 2001 From: Rafael Paim Date: Thu, 10 Jul 2025 14:01:49 -0300 Subject: [PATCH 1/3] Update release-action.yml --- .github/workflows/release-action.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-action.yml b/.github/workflows/release-action.yml index 4dfac0f..e55d110 100644 --- a/.github/workflows/release-action.yml +++ b/.github/workflows/release-action.yml @@ -8,10 +8,10 @@ on: - "migrations-semver/*.sql" env: - BYTEBASE_URL: https://demo.bytebase.com - BYTEBASE_SERVICE_ACCOUNT: api@service.bytebase.com + BYTEBASE_URL: https://58785c2f9e11.ngrok-free.app + BYTEBASE_SERVICE_ACCOUNT: bunge-poc@service.bytebase.com BYTEBASE_SERVICE_ACCOUNT_SECRET: ${{ secrets.BYTEBASE_SERVICE_ACCOUNT_SECRET }} - BYTEBASE_PROJECT: "projects/hr" + BYTEBASE_PROJECT: "projects/bunge-poc" jobs: build: From 57e5915fbebb716dae977765abe28df070c257e2 Mon Sep 17 00:00:00 2001 From: Rafael Paim Date: Thu, 10 Jul 2025 14:11:54 -0300 Subject: [PATCH 2/3] Update release-action.yml --- .github/workflows/release-action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-action.yml b/.github/workflows/release-action.yml index e55d110..a1eee25 100644 --- a/.github/workflows/release-action.yml +++ b/.github/workflows/release-action.yml @@ -37,7 +37,7 @@ jobs: uses: actions/checkout@v4 - name: rollout env: - BYTEBASE_TARGETS: "instances/test-sample-instance/databases/hr_test,instances/prod-sample-instance/databases/hr_prod" + BYTEBASE_TARGETS: "instances/dev-instance/databases/bytebase-dev, instances/prod-instance/databases/prod-database" FILE_PATTERN: "migrations-semver/*.sql" BYTEBASE_OUTPUT: ${{ runner.temp }}/bytebase-metadata.json run: | From f70f0342a8eef94eede68f753bad729432d8a192 Mon Sep 17 00:00:00 2001 From: Rafael Paim Date: Thu, 10 Jul 2025 14:15:52 -0300 Subject: [PATCH 3/3] Create 202503131500_create_table_t1_ddl.sql --- migrations-semver/202503131500_create_table_t1_ddl.sql | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 migrations-semver/202503131500_create_table_t1_ddl.sql diff --git a/migrations-semver/202503131500_create_table_t1_ddl.sql b/migrations-semver/202503131500_create_table_t1_ddl.sql new file mode 100644 index 0000000..7a079e4 --- /dev/null +++ b/migrations-semver/202503131500_create_table_t1_ddl.sql @@ -0,0 +1,4 @@ +CREATE TABLE t1 ( + id SERIAL PRIMARY KEY, + name TEXT +);