"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.syncPrismaSchemaWithDatabase = void 0;
const exec_1 = require("../../exec");
const files_1 = require("../helpers/files");
function syncPrismaSchemaWithDatabase() {
    const { schema } = files_1.getPrismaFiles();
    exec_1.exec('yarn prisma db push', ['--preview-feature', '--schema', schema.src]);
}
exports.syncPrismaSchemaWithDatabase = syncPrismaSchemaWithDatabase;
//# sourceMappingURL=index.js.map