mirror of
https://github.com/flarum/core.git
synced 2025-07-19 07:41:22 +02:00
Add user activity system
This commit is contained in:
@@ -16,12 +16,10 @@ class CreateActivityTable extends Migration {
|
||||
{
|
||||
$table->increments('id');
|
||||
$table->integer('user_id')->unsigned();
|
||||
$table->integer('from_user_id')->unsigned()->nullable();
|
||||
$table->string('subject');
|
||||
$table->integer('subject_id')->unsigned()->nullable();
|
||||
$table->integer('sender_id')->unsigned()->nullable();
|
||||
$table->string('type');
|
||||
$table->binary('data')->nullable();
|
||||
$table->dateTime('time');
|
||||
$table->boolean('is_read')->default(0);
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user