Skip to content

Instantly share code, notes, and snippets.

View joshnavdev's full-sized avatar

Joshua Navarro joshnavdev

  • Globant
  • Perú - Lima
View GitHub Profile
@joshnavdev
joshnavdev / sequelize-schema-file-generator.js
Created January 3, 2022 21:25 — forked from manuelbieh/sequelize-schema-file-generator.js
Automatically generates migration files from your sequelize models
import * as models from "models";
import Sequelize from "sequelize";
import fs from "fs";
delete models.default;
const sequelize = new Sequelize(
'',
'',
'', {