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

16 lines
307 B
JavaScript
Raw Permalink Normal View History

2019-02-22 22:05:18 +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')
})
}