fix(trait): syntax error (#37)
This commit is contained in:
parent
8e46d02ed1
commit
fd621ca5ae
|
@ -2,12 +2,13 @@
|
||||||
|
|
||||||
class NoTimestamp {
|
class NoTimestamp {
|
||||||
register (Model) {
|
register (Model) {
|
||||||
Object.defineProperties(Model, 'createdAtColumn', {
|
Object.defineProperties(Model, {
|
||||||
get () { return null }
|
createdAtColumn: {
|
||||||
})
|
get: () => null,
|
||||||
|
},
|
||||||
Object.defineProperties(Model, 'updatedAtColumn', {
|
updatedAtColumn: {
|
||||||
get () { return null }
|
get: () => null,
|
||||||
|
},
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user