Skip to content

Conversation

@tianzhou
Copy link
Contributor

No description provided.

@github-actions
Copy link

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 tianzhou merged commit 3bf66a3 into main Aug 12, 2025
1 check passed
@github-actions
Copy link

✅ 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.

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.

2 participants