v12.0.0 - initial commit
This commit is contained in:
commit
e2c49ea43c
1145 changed files with 97211 additions and 0 deletions
|
|
@ -0,0 +1,20 @@
|
|||
var db = require('./db')
|
||||
|
||||
exports.up = function (next) {
|
||||
const sql = [
|
||||
`create table sanctions_logs (
|
||||
id uuid PRIMARY KEY,
|
||||
device_id text not null,
|
||||
sanctioned_id text not null,
|
||||
sanctioned_alias_id text,
|
||||
sanctioned_alias_full_name text not null,
|
||||
customer_id uuid not null references customers,
|
||||
created timestamptz not null default now() )`,
|
||||
]
|
||||
|
||||
db.runAll(sql, next)
|
||||
}
|
||||
|
||||
exports.down = function (next) {
|
||||
next()
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue