FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feat: multi-file schema example by tianzhou · Pull Request #13 · pgplex/pgschema-github-actions-example · GitHub

feat: multi-file schema example - #13

Merged
tianzhou merged 1 commit into
mainfrom
multi-file-example
Aug 12, 2025
Merged

feat: multi-file schema example#13
tianzhou merged 1 commit into
mainfrom
multi-file-example

Conversation

Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown

pgschema Plan Output

📋 Plan artifact created: pgschema-plan-13

This plan will be used automatically when the PR is merged.

Click to expand plan details
time=2025-08-12T11:20:31.398Z level=DEBUG msg="Attempting database connection" host=localhost port=5432 database=testdb user=postgres sslmode=prefer application_name=pgschema
time=2025-08-12T11:20:31.405Z level=DEBUG msg="Database connection established successfully"
Plan: 2 to modify.

Summary by type:
  tables: 2 to modify

Tables:
  ~ orders
    - amount (column)
  ~ users
    + age (column)
    + users_age_check (constraint)

Transaction: true

DDL to be executed:
--------------------------------------------------

ALTER TABLE orders DROP COLUMN amount;

ALTER TABLE users ADD COLUMN age integer;

ALTER TABLE users
ADD CONSTRAINT users_age_check CHECK (age >= 0);

This comment was automatically generated by the pgschema Multi File Plan workflow.

tianzhou merged commit 3bf66a3 into main Aug 12, 2025
1 check passed

Copy link
Copy Markdown

✅ Schema Changes Applied Successfully!

📋 Applied using plan: pgschema-plan-13

📋 Applied Changes
time=2025-08-12T11:22:13.628Z level=DEBUG msg="Attempting database connection" host=localhost port=5432 database=testdb user=postgres sslmode=prefer application_name=pgschema-github-action-apply
time=2025-08-12T11:22:13.634Z level=DEBUG msg="Database connection established successfully"
Plan: 2 to modify.

Summary by type:
  tables: 2 to modify

Tables:
  ~ orders
    - amount (column)
  ~ users
    + age (column)
    + users_age_check (constraint)

Transaction: true

DDL to be executed:
--------------------------------------------------

ALTER TABLE orders DROP COLUMN amount;

ALTER TABLE users ADD COLUMN age integer;

ALTER TABLE users
ADD CONSTRAINT users_age_check CHECK (age >= 0);

Applying changes...
time=2025-08-12T11:22:13.715Z level=DEBUG msg="Attempting database connection" host=localhost port=5432 database=testdb user=postgres sslmode=prefer application_name=pgschema-github-action-apply
time=2025-08-12T11:22:13.722Z level=DEBUG msg="Database connection established successfully"
Changes applied successfully!

Database: testdb


This comment was automatically generated by the pgschema Multi File Apply workflow.

This file contains hidden or 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL