mirror of
https://github.com/ArthurDanjou/artdanj-api.git
synced 2026-01-27 18:10:27 +01:00
@@ -4,8 +4,7 @@ export default class GuestbookMessages extends BaseSchema {
|
|||||||
protected tableName = 'guestbook_messages'
|
protected tableName = 'guestbook_messages'
|
||||||
|
|
||||||
public async up() {
|
public async up() {
|
||||||
await this.schema.table(this.tableName, async (table) => {
|
await this.schema.table(this.tableName, (table) => {
|
||||||
await table.dropColumn('message')
|
|
||||||
table.text('message')
|
table.text('message')
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user