chore: use monorepo organization
This commit is contained in:
parent
deaf7d6ecc
commit
a687827f7e
1099 changed files with 8184 additions and 11535 deletions
14
packages/server/migrations/013-add-last-checked.js
Normal file
14
packages/server/migrations/013-add-last-checked.js
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
var db = require('./db')
|
||||
|
||||
exports.up = function (next) {
|
||||
var sql = [
|
||||
'alter table cash_out_hds add last_checked timestamptz not null default now()',
|
||||
'alter table cash_out_hds add confirmed boolean not null default false',
|
||||
'create index on cash_out_hds (confirmed, last_checked)'
|
||||
]
|
||||
db.multi(sql, next)
|
||||
}
|
||||
|
||||
exports.down = function (next) {
|
||||
next()
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue