Skip to content

Commit 4d4e511

Browse files
authored
chore: test sql review (#24)
1 parent 9766231 commit 4d4e511

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/sql-review-action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ jobs:
2121
env:
2222
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # set GITHUB_TOKEN because the 'Check release' step needs it to comment the pull request with check results.
2323
BYTEBASE_URL: https://demo.bytebase.com
24-
BYTEBASE_SERVICE_ACCOUNT: ci@service.bytebase.com
25-
BYTEBASE_SERVICE_ACCOUNT_SECRET: "bbs_iqysPHMqhNpG4rQ5SFEJ"
26-
BYTEBASE_PROJECT: "projects/project-sample"
24+
BYTEBASE_SERVICE_ACCOUNT: api@service.bytebase.com
25+
BYTEBASE_SERVICE_ACCOUNT_SECRET: "bbs_EDyd8zleJVBEZyw81kLL"
26+
BYTEBASE_PROJECT: "projects/hr"
2727
BYTEBASE_TARGETS: "instances/prod-sample-instance/databases/hr_prod"
2828
FILE_PATTERN: "migrations-semver/*.sql"
2929
run: |

migrations-semver/1.13.0_phone.sql

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
ALTER TABLE IF EXISTS users ADD COLUMN IF NOT EXISTS phone VARCHAR(255) NOT NULL DEFAULT '';
1+
ALTER TABLE IF EXISTS users ADD COLUMN IF NOT EXISTS phone VARCHAR(255) NOT NULL DEFAULT '';
2+
3+
INSERT INTO users VALUES (1);

0 commit comments

Comments
 (0)