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

16 lines
307 B
JavaScript
Raw Normal View History

2019-02-17 06:32:35 +00:00
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')
})
}