My application wants to store only date part in one of tables. In Sequelize there is only one data type, Sequelize.DATE, that can be used. On MySQL table it creates DATETIME column.
How can I have a column in database table to store only date, without time. part?
MySQL is having separate DATE and DATETIME datatypes, but could not find a way to tell that in Sequelize.
Or can we make to ignore time part while running queries using Date object? (I know we can use getters and setters with properties. No idea whether it will work while running queries having conditions for the date field.)