Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
@liam-hq_db-structure@0.4.2 source code.tar.gz | 2025-07-09 | 64.9 MB | |
@liam-hq_db-structure@0.4.2 source code.zip | 2025-07-09 | 65.7 MB | |
README.md | 2025-07-09 | 1.0 kB | |
Totals: 3 Items | 130.6 MB | 0 |
Patch Changes
- #2421 - - ✨️ Fix composite primary key and unique constraint handling in PostgreSQL and tbls parsers / Thanks @hoshinotsuyoshi!
- Change: PRIMARY KEY and UNIQUE constraints now use
columnNames: string[]
instead ofcolumnName: string
- PostgreSQL parser: Fixed bug where composite primary keys were incorrectly split into separate constraints (Issue #2260)
- tbls parser: Fixed handling of composite constraints to use array format
- UI improvements: Constraint details now display multiple columns as comma-separated values
- Known limitation: Diff detection currently only checks the first column in composite constraints (TODO added)
- This change ensures composite primary keys like
PRIMARY KEY (user_id, role_id)
are correctly represented as a single constraint with multiple columns, rather than being split into separate constraints.
- Change: PRIMARY KEY and UNIQUE constraints now use