wikijs-fork/server/db/beta/migrations/2.0.0-beta.38.js

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