mirror of https://github.com/requarks/wiki
parent
4fa71b2461
commit
fe6b2cafd3
@ -0,0 +1,13 @@
|
|||||||
|
exports.up = async knex => {
|
||||||
|
await knex.schema
|
||||||
|
.alterTable('pages', table => {
|
||||||
|
table.text('icon').notNullable().defaultTo('text-box')
|
||||||
|
})
|
||||||
|
|
||||||
|
await knex.schema
|
||||||
|
.alterTable('pageTree', table => {
|
||||||
|
table.text('icon').notNullable().defaultTo('text-box')
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
exports.down = knex => { }
|
||||||
Loading…
Reference in new issue