Skip to content

Commit

Permalink
fix: timestamptz (#1684)
Browse files Browse the repository at this point in the history
  • Loading branch information
CrypticaScriptura authored May 29, 2024
1 parent 8c930be commit d2f9257
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions migrations/1716561996854-diagnostics.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ const db = require('./db')

exports.up = function (next) {
let sql = [
'alter table devices add column diagnostics_timestamp timestampz',
'alter table devices add column diagnostics_scan_updated_at timestampz',
'alter table devices add column diagnostics_front_updated_at timestampz'
'alter table devices add column diagnostics_timestamp timestamptz',
'alter table devices add column diagnostics_scan_updated_at timestamptz',
'alter table devices add column diagnostics_front_updated_at timestamptz'
]

db.multi(sql, next)
Expand Down

0 comments on commit d2f9257

Please sign in to comment.