mirror of
https://github.com/ArthurDanjou/artdanj-api.git
synced 2026-01-26 01:20:27 +01:00
Fix migration
This commit is contained in:
@@ -9,7 +9,7 @@ export default class GuestbookMessages extends BaseSchema {
|
|||||||
table
|
table
|
||||||
.integer('user_id')
|
.integer('user_id')
|
||||||
.unsigned()
|
.unsigned()
|
||||||
.references('user.id')
|
.references('users.id')
|
||||||
.onDelete('CASCADE')
|
.onDelete('CASCADE')
|
||||||
table.text('message')
|
table.text('message')
|
||||||
table.timestamps(true, true)
|
table.timestamps(true, true)
|
||||||
|
|||||||
Reference in New Issue
Block a user