wikijs-fork/server/db/migrations-sqlite/2.3.14.js

11 lines
284 B
JavaScript
Raw Normal View History

2020-04-07 02:21:42 +00:00
exports.up = knex => {
return knex.schema
.createTable('commentProviders', table => {
table.string('key').notNullable().primary()
table.boolean('isEnabled').notNullable().defaultTo(false)
table.json('config').notNullable()
})
}
exports.down = knex => { }