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
| // Generates JavaScript model classes from schema.csv | |
| // Usage: node generateModels.js | |
| // Output: models/<TableName>.js | |
| const fs = require('fs'); | |
| const path = require('path'); | |
| const CSV_FILE = 'schema.csv'; | |
| const OUTPUT_DIR = 'models'; |