wikijs-fork/server/db/migrations/2.4.61.js

9 lines
189 B
JavaScript

exports.up = knex => {
return knex.schema
.alterTable('comments', table => {
table.integer('replyTo').unsigned().notNullable().defaultTo(0)
})
}
exports.down = knex => { }