Skip to content

Instantly share code, notes, and snippets.

Souranil Sen sladebot

Block or report user

Report or block sladebot

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@sladebot
sladebot / learning-sequelize.md
Last active Dec 12, 2015
sequelize learnings
View learning-sequelize.md

What are we using :

NPM:

  • pg
  • pg-hstore
  • sequelize
  • sequelize-cli ( for migrations pretty nifty )

So for adding any migrations which has an attribute with a dataType of HSTORE we need to enable it in the Postgresql database ( we need to find a way to automate this - thoughts ? ). Now this seemed to be a nice way so that whenever you create a database it enables HSTORE. Now this worked for me might not work for others.

You can’t perform that action at this time.