Skip to content

Commit ebd1640

Browse files
committed
Added 'data' column to message model
1 parent 851e919 commit ebd1640

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

database/migrations/create_chat_tables.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ public function up()
4444
$table->bigInteger('conversation_id')->unsigned();
4545
$table->bigInteger('participation_id')->unsigned()->nullable();
4646
$table->string('type')->default('text');
47+
$table->text('data')->nullable();
4748
$table->timestamps();
4849

4950
$table->foreign('participation_id')

0 commit comments

Comments
 (0)