"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const fs_1 = __importDefault(require("fs"));
const migrate_1 = require("../src/cli/commands/migrate");
require("pretty-error/start");
const dry = {
    version: "1",
    tables: {},
    enums: {}
};
const j1 = dry;
// const j1 = JSON.parse(fs.readFileSync('./out/snapshot1.json', 'utf8'))
// const j1 = JSON.parse(fs.readFileSync('./out/j1.json', 'utf8'))
// const j2 = JSON.parse(fs.readFileSync('./out/snapshot2.json', 'utf8'))
const j2 = JSON.parse(fs_1.default.readFileSync('./out/snapshot_1.json', 'utf8'));
const main = async () => {
    try {
        const result = await migrate_1.prepareSQL(j1, j2);
        console.log(result);
    }
    catch (e) {
        console.error(e);
    }
};
main();
//# sourceMappingURL=simulate.js.map