feat(db): generate canonical schema contract from sqlite migrations
This commit is contained in:
1 parent
c037ea866e
commit
5bc5fb7039
5 files changed
+1457
No files matched your search
@@ -0,0 +1,6 @@
|
||||
import { writeSchemaContractFile } from '../../src/server/db/schemaContract.js';
|
||||
|
||||
const contract = writeSchemaContractFile();
|
||||
const tableCount = Object.keys(contract.tables).length;
|
||||
|
||||
console.log(`[schema:contract] wrote ${tableCount} tables`);
|
||||
Reference in new issue
Block a user