Skip to content

Instantly share code, notes, and snippets.

View ezesundayeze's full-sized avatar
🏠
Working from home

Eze Sunday ezesundayeze

🏠
Working from home
View GitHub Profile
@ezesundayeze
ezesundayeze / auto-migrate-sequelize-from-models.md
Created September 23, 2020 14:51 — forked from glennposadas/auto-migrate-sequelize-from-models.md
How to auto generate migrations with Sequelize CLI from Sequelize models?

Reference: https://stackoverflow.com/a/59021807/3231194

It's 2020 and many of these answers no longer apply to the Sequelize v4/v5 ecosystem.

The one good answer says to use sequelize-auto-migrations, but probably is not prescriptive enough to use in your project. So here's a bit more color...

Setup

My team uses a [fork of sequelize-auto-migrations][1] because the original repo is has not been merged a few critical PRs. [#56][2] [#57][3] [#58][4] [#59][5]

@ezesundayeze
ezesundayeze / CouchDB_Python.md
Created January 14, 2020 13:07 — forked from marians/CouchDB_Python.md
The missing Python couchdb tutorial

This is an unofficial manual for the couchdb Python module I wish I had had.

Installation

pip install couchdb

Importing the module

@ezesundayeze
ezesundayeze / csv
Last active February 5, 2019 09:04 — forked from omosehin/csv
import React, { Component } from "react";
// @material-ui/core components
import withStyles from "@material-ui/core/styles/withStyles";
import Table from "@material-ui/core/Table";
import TableBody from "@material-ui/core/TableBody";
import TableCell from "@material-ui/core/TableCell";
import TableHead from "@material-ui/core/TableHead";
import TableRow from "@material-ui/core/TableRow";
import Paper from "@material-ui/core/Paper";
import Spinner from "../../components/Spinner";