Skip to content

Conversation

@tianzhou
Copy link
Contributor

No description provided.

@github-actions
Copy link

pgschema Plan Output

📋 Plan artifact created: pgschema-singlefile-plan-12

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

Click to expand plan details
time=2025-08-12T11:15:28.339Z level=DEBUG msg="Attempting database connection" host=localhost port=5432 database=testdb user=postgres sslmode=prefer application_name=pgschema
time=2025-08-12T11:15:28.346Z 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 Single File Plan workflow.

@tianzhou tianzhou merged commit af13984 into main Aug 12, 2025
1 check passed
@github-actions
Copy link

✅ Schema Changes Applied Successfully!

📋 Applied using plan: pgschema-singlefile-plan-12

📋 Applied Changes
time=2025-08-12T11:17:04.497Z 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:17:04.504Z 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:17:04.584Z 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:17:04.591Z level=DEBUG msg="Database connection established successfully"
Changes applied successfully!

Database: testdb


This comment was automatically generated by the pgschema Single 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