export const up = function(knex) { return knex.schema.createTable('liquid_assets', function(t) { t.increments('id').unsigned().primary(); t.string('asset_id').notNull(); t.string('name').notNull(); t.string('domain') t.string('ticker').notNull(); t.int('precision').defaultTo(8); t.string('issuer_pubkey') t.boolean('registered').defaultTo(false); t.timestamps(); }) }; export const down = function(knex) { return knex.schema.dropTable('liquid_assets'); };'header'> cgit logo index : coinos-server.git
coinos server — legacy coinos.io backend (Lightning, on-chain, Liquid)coinos
aboutsummaryrefslogtreecommitdiffstats
path: root/lib/auth.js
blob: 55de6df0d135e72c0ea599ca44c5cd5e87dfa356 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45