mirror of
https://github.com/cita-777/metapi.git
synced 2026-11-03 22:42:09 +08:00
7 lines
244 B
TypeScript
7 lines
244 B
TypeScript
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`);
|