sequelize-date-no-tz-postgres
Add support for DATE (timestamp without time zone) data-type for PostgreSQL in Sequelize.
Motivation
Read:
Install
npm install --save sequelize-date-no-tz-postgres
Use to define models
models/my_model.js
const withDateNoTz = ; module { const DataTypes = ; const MyModel = sequelize; // ... return MyModel;};
Use in migrations
migrations/<timestamp>-add-some-date-field-to-my-model.js
const withDateNoTz = ; moduleexports = { const Sequelize = ; return queryInterface; } // ...;