wikijs-fork/server/db/migrations-sqlite/2.0.0-beta.38.js
2019-02-22 17:05:49 -05:00

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')
})
}