1
0
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:
Toby Zerner
2015-03-17 17:06:12 +10:30
parent 9ceee041a9
commit fe982aa587
27 changed files with 508 additions and 72 deletions

View File

@@ -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);
});
}