12 lines
339 B
JavaScript
12 lines
339 B
JavaScript
|
exports.up = knex => {
|
||
|
return knex.schema
|
||
|
.alterTable('comments', table => {
|
||
|
table.text('render').notNullable().defaultTo('')
|
||
|
table.string('name').notNullable().defaultTo('')
|
||
|
table.string('email').notNullable().defaultTo('')
|
||
|
table.string('ip').notNullable().defaultTo('')
|
||
|
})
|
||
|
}
|
||
|
|
||
|
exports.down = knex => { }
|