@knorm/timestamps
Knorm plugin that automates working with created_at
and updated_at
table
fields.
Documentation
View the docs on @knorm/knorm's documentation site here.
Timestamps plugin for @knorm/knorm
Knorm plugin that automates working with created_at
and updated_at
table
fields.
View the docs on @knorm/knorm's documentation site here.
All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
Note: Version bump only for package @knorm/timestamps
Instead of:
const knorm = require('@knorm/knorm');
const knormPostgres = require('@knorm/postgres');
const { Knorm } = knorm;
const { KnormPostgres } = knormPostgres;
Do:
const { knorm, Knorm } = require('@knorm/knorm');
const { knormPostgres, KnormPostgres } = require('@knorm/postgres');
createdAt
and updatedAt
(23210f2)addDefault
option is removed and replaced
with a default
option