Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test workflow running on a pull request #7

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
on: [ push ]
on: [ push, pull_request ]

jobs:
migration_job:
Expand Down
5 changes: 5 additions & 0 deletions deploy/pgbench-accounts-index-bid.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
-- Deploy green-zone:pgbench-accounts-index-bid to pg

create index
--concurrently
NikolayS marked this conversation as resolved.
Show resolved Hide resolved
bid_idx on pgbench_accounts(bid);
3 changes: 3 additions & 0 deletions revert/pgbench-accounts-index-bid.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
-- Revert green-zone:pgbench-accounts-index-bid from pg

drop index concurrently if exists bid_idx;
1 change: 1 addition & 0 deletions sqitch.plan
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@

initial 2021-06-29T04:14:53Z akartasov <[email protected]> # init a database schema
@v0.0.1 2021-06-29T04:20:10Z akartasov <[email protected]> # initial version
pgbench-accounts-index-bid 2021-08-05T05:36:15Z akartasov <[email protected]> # add a new pgbench_accounts index
4 changes: 4 additions & 0 deletions verify/pgbench-accounts-index-bid.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
-- Verify green-zone:pgbench-accounts-index-bid on pg

begin;
rollback;