blob: fab96dc5ed13da73fdb1d01eecc39c9a8a5e79af (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
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');
};
|