jeff-downloader/app/Models/Traits/NoTimestamp.js

17 lines
253 B
JavaScript
Raw Permalink Normal View History

2019-12-03 21:18:40 +01:00
'use strict'
class NoTimestamp {
register (Model) {
Object.defineProperties(Model, {
createdAtColumn: {
get: () => null,
},
updatedAtColumn: {
get: () => null,
},
})
}
}
module.exports = NoTimestamp