From 72a5d7146cff98d25463d50f5034662ad42494da Mon Sep 17 00:00:00 2001 From: chengdd Date: Thu, 20 Jan 2022 09:36:37 +0800 Subject: [PATCH] Update readme --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index b3b8ded6..c80d8258 100644 --- a/README.md +++ b/README.md @@ -364,6 +364,8 @@ const auto = new SequelizeAuto('database', 'user', 'pass', { additional: { timestamps: false // ...options added to each model + // If you want to add createdAt and updatedAt timestamps to the model, also declare createAt and updatedAt like this. Otherwise the createdAt and updatedAt timestamps will not be automatically added to the model + // timestamps: true, createAt: true, updatedAt: true }, tables: ['table1', 'table2', 'myschema.table3'] // use all tables, if omitted //...