This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fs = require ('fs'); | |
const path = require ('path'); | |
const saveApiModelsPath = 'src/database/models'; // Path to your JS models folder | |
const saveDatabaseModelsPath = 'src/database/models_ts'; // Path to your TS models folder | |
const matchDataTypes = { | |
BOOLEAN: 'boolean', | |
BIGINT: 'number', | |
INTEGER: 'number', |