Fix migration

Signed-off-by: Arthur DANJOU <arthurdanjou@outlook.fr>
This commit is contained in:
2021-07-03 18:40:36 +02:00
parent c05e72d664
commit 2aa7c28a73
2 changed files with 1 additions and 5 deletions

View File

@@ -5,6 +5,7 @@ export default class GuestbookMessages extends BaseSchema {
public async up() {
await this.schema.table(this.tableName, (table) => {
table.dropColumn('message')
table.text('message')
})
}