fix: normalize SQL

This commit is contained in:
Sérgio Salgado 2021-01-05 08:31:25 +00:00 committed by Josh Harvey
parent e846f5a165
commit 742913db36
4 changed files with 16 additions and 16 deletions

View file

@ -2,8 +2,8 @@ const db = require('./db')
exports.up = function (next) {
var sql = [
'alter table cash_in_txs add column discount smallint',
'alter table cash_out_txs add column discount smallint'
'ALTER TABLE cash_in_txs ADD COLUMN discount SMALLINT',
'ALTER TABLE cash_out_txs ADD COLUMN discount SMALLINT'
]
db.multi(sql, next)