cli icon indicating copy to clipboard operation
cli copied to clipboard

Feature: Make timestamp optional

Open adeelhussain opened this issue 7 years ago • 3 comments

What you are doing?

sequelize model:generate --attributes as --name modelName --attributes firstName:string

What do you expect to happen?

I would like to make the timestamp optional because for some tables, there is no need of that.

What is actually happening?

Right now its adding createdAt and updatedAt in every migration file of creating table

There should be a flag something like this

sequelize model:generate --name modelName --attributes firstName:string --timestamp false

which will skip the timestamp

adeelhussain avatar Jun 04 '18 08:06 adeelhussain

@sushantdhiman can you please review this PR #665

adeelhussain avatar Jun 22 '18 06:06 adeelhussain

@papb can you please have a look on this issue, PR of this is here https://github.com/sequelize/cli/pull/665

adeelhussain avatar Sep 09 '19 18:09 adeelhussain

Hello, I am super time constrained right now, can you please ping me again in another week or so?

papb avatar Sep 10 '19 01:09 papb