Commit 22d5915
committed
fix: improve CREATE TABLE constraint indentation using proper context indentLevel
- Remove explicit indentLevel increment when spawning table element contexts
- Let context.indent() method handle indentation automatically using indentLevel + 1
- UNIQUE and FOREIGN KEY constraints now properly indented relative to columns
- Constraints are visually distinct with proper logical grouping indentation
- All tests passing including CREATE TABLE pretty printing snapshots
Co-Authored-By: Dan Lynch <[email protected]>1 parent 2a76b3d commit 22d5915
1 file changed
+3
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2465 | 2465 | | |
2466 | 2466 | | |
2467 | 2467 | | |
2468 | | - | |
2469 | | - | |
| 2468 | + | |
2470 | 2469 | | |
2471 | 2470 | | |
2472 | 2471 | | |
2473 | 2472 | | |
2474 | 2473 | | |
2475 | 2474 | | |
2476 | 2475 | | |
2477 | | - | |
| 2476 | + | |
2478 | 2477 | | |
2479 | | - | |
| 2478 | + | |
2480 | 2479 | | |
2481 | 2480 | | |
2482 | 2481 | | |
| |||
0 commit comments