-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test adding a test_field for versioned migration changes
- Loading branch information
1 parent
e426869
commit 8050d58
Showing
13 changed files
with
225 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,13 @@ | ||
name: Atlas CI | ||
on: | ||
# Run whenever code is changed in the main branch, | ||
# change this to your root branch. | ||
# push: | ||
# branches: | ||
# - main | ||
push: | ||
branches: | ||
- main | ||
# Run on PRs where something changed under the `ent/migrate/migrations/` directory. | ||
pull_request: | ||
paths: | ||
- 'ent/migrate/migrations/*' | ||
- 'ent/migrate/migrations/**' | ||
jobs: | ||
lint: | ||
services: | ||
|
@@ -30,7 +29,7 @@ jobs: | |
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 # Mandatory unless "latest" is set below. | ||
- uses: ariga/atlas-action@v0 | ||
- uses: ariga/atlas-action@v1.0.11 | ||
with: | ||
dir: ent/migrate/migrations | ||
dir-format: golang-migrate # Or: atlas, goose, dbmate | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
-- Modify "nodes" table | ||
ALTER TABLE "nodes" ADD COLUMN "test_field" text NOT NULL; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
h1:N8EzSLepKv1NCdsdGortcG5sDpeTVBxeIo5ANvXdktU= | ||
h1:XGmzaMcvoT9U9Yz8p5xDmf3TH+cuzpLEwqsApgBOo2w= | ||
20240526144817_migration.sql h1:sP6keX+oMyLL2qpIFx0Ns0WYfWM5hJ4zkFPmLWT68fM= | ||
20240528202042_migration.sql h1:ovwBEuwDFz2f4hebJefbdm53ti75gtFyxguofpf04yo= |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.