16 lines
307 B
JavaScript
16 lines
307 B
JavaScript
|
exports.up = knex => {
|
||
|
return knex.schema
|
||
|
.table('storage', table => {
|
||
|
table.string('syncInterval')
|
||
|
table.json('state')
|
||
|
})
|
||
|
}
|
||
|
|
||
|
exports.down = knex => {
|
||
|
return knex.schema
|
||
|
.table('storage', table => {
|
||
|
table.dropColumn('syncInterval')
|
||
|
table.dropColumn('state')
|
||
|
})
|
||
|
}
|