jeff-downloader/app/Models/Traits/NoTimestamp.js
2019-12-03 21:18:40 +01:00

16 lines
253 B
JavaScript

'use strict'
class NoTimestamp {
register (Model) {
Object.defineProperties(Model, {
createdAtColumn: {
get: () => null,
},
updatedAtColumn: {
get: () => null,
},
})
}
}
module.exports = NoTimestamp