Skip to content

Commit b3b00e3

Browse files
Update README.md
1 parent 166c132 commit b3b00e3

1 file changed

Lines changed: 14 additions & 9 deletions

File tree

README.md

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -71,16 +71,21 @@ You should see NOTICE logs confirming that the engine successfully blocked unbal
7171

7272
## 📂 Project Structure
7373

74-
#### db/migration/:
75-
Versioned SQL scripts defining tables, triggers, and procedures.
74+
ledger-core/
75+
├── db/
76+
│ └── migration/
77+
│ ├── V1__Initial_Schema.sql # Core table definitions
78+
│ ├── V2__Integrity_Triggers.sql # Double-entry validation & immutability
79+
│ ├── V3__Balance_Automation.sql # Real-time balance sync with integrity checks
80+
│ ├── V4__Audit_And_Repair.sql # Milestones, audit views, emergency repairs
81+
│ ├── V5__Job_Scheduling.sql # pg_cron background jobs
82+
│ ├── V6__Seed_Data.sql # Sample accounts
83+
│ └── V7__Reporting_Views.sql # Financial statement views
84+
├── tests/
85+
│ └── integrity_suite.sql # Destructive test suite
86+
├── docker-compose.yml # PostgreSQL 18 + pg_cron setup
87+
└── README.md
7688

77-
#### tests/:
78-
Pure SQL test suite to verify accounting rules.
79-
80-
#### docker-compose.yml:
81-
Local infrastructure configuration.
82-
83-
## 🛠️ Technical Deep Dive
8489

8590
### UUID v7 Primary Keys
8691

0 commit comments

Comments
 (0)