fix(trait): syntax error (#37)
This commit is contained in:
parent
8e46d02ed1
commit
fd621ca5ae
|
@ -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,
|
||||
},
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user