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

feat: add address by tianzhou · Pull Request #8 · pgplex/pgschema-github-actions-example · GitHub

feat: add address - #8

Closed
tianzhou wants to merge 1 commit into
mainfrom
feature-1
Closed

feat: add address#8
tianzhou wants to merge 1 commit into
mainfrom
feature-1

Conversation

tianzhou commented Aug 5, 2025

Copy link
Copy Markdown
Contributor

No description provided.

github-actions Bot commented Aug 5, 2025
edited
Loading

Copy link
Copy Markdown

pgschema Plan Output

Click to expand plan details
Plan: 1 to add, 1 to modify, 1 to drop.

Summary by type:
  tables: 1 to add, 1 to modify, 1 to drop

Tables:
  + addresses
  - orders
  ~ users
    + city (column)

Transaction: true

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

DROP TABLE IF EXISTS orders CASCADE;

CREATE TABLE IF NOT EXISTS addresses (
    id integer PRIMARY KEY,
    user_id integer NOT NULL REFERENCES users(id),
    street_address text NOT NULL,
    city text NOT NULL,
    state_province text,
    postal_code text,
    country text DEFAULT 'USA' NOT NULL,
    is_default boolean DEFAULT false
);

ALTER TABLE users ADD COLUMN city text NOT NULL;

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

tianzhou closed this Aug 12, 2025
tianzhou deleted the feature-1 branch August 12, 2025 11:19
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