forked from sagi/seepur
16 lines
253 B
JavaScript
16 lines
253 B
JavaScript
'use strict'
|
|
|
|
class NoTimestamp {
|
|
register (Model) {
|
|
Object.defineProperties(Model, {
|
|
createdAtColumn: {
|
|
get: () => null,
|
|
},
|
|
updatedAtColumn: {
|
|
get: () => null,
|
|
},
|
|
})
|
|
}
|
|
}
|
|
|
|
module.exports = NoTimestamp
|