fix(trait): syntax error (#37)

This commit is contained in:
Will Vincent 2019-01-21 03:04:24 -06:00 committed by Romain Lanz
parent 8e46d02ed1
commit fd621ca5ae

View File

@ -2,12 +2,13 @@
class NoTimestamp {
register (Model) {
Object.defineProperties(Model, 'createdAtColumn', {
get () { return null }
})
Object.defineProperties(Model, 'updatedAtColumn', {
get () { return null }
Object.defineProperties(Model, {
createdAtColumn: {
get: () => null,
},
updatedAtColumn: {
get: () => null,
},
})
}
}