aboutsummaryrefslogtreecommitdiffstats
path: root/app/Models/Traits/NoTimestamp.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/Models/Traits/NoTimestamp.js')
-rw-r--r--app/Models/Traits/NoTimestamp.js14
1 files changed, 0 insertions, 14 deletions
diff --git a/app/Models/Traits/NoTimestamp.js b/app/Models/Traits/NoTimestamp.js
deleted file mode 100644
index 914f542..0000000
--- a/app/Models/Traits/NoTimestamp.js
+++ /dev/null
@@ -1,14 +0,0 @@
1class NoTimestamp {
2 register(Model) {
3 Object.defineProperties(Model, {
4 createdAtColumn: {
5 get: () => null,
6 },
7 updatedAtColumn: {
8 get: () => null,
9 },
10 });
11 }
12}
13
14module.exports = NoTimestamp;