mirror of
https://github.com/flarum/core.git
synced 2025-08-07 00:47:00 +02:00
Implement user preferences API
Preferences must be registered (optionally with a callback to transform data, and a default value) on the User model.
This commit is contained in:
@@ -24,6 +24,7 @@ class CreateUsersTable extends Migration {
|
||||
$table->text('bio')->nullable();
|
||||
$table->text('bio_html')->nullable();
|
||||
$table->string('avatar_path')->nullable();
|
||||
$table->binary('preferences')->nullable();
|
||||
$table->dateTime('join_time')->nullable();
|
||||
$table->dateTime('last_seen_time')->nullable();
|
||||
$table->dateTime('read_time')->nullable();
|
||||
|
Reference in New Issue
Block a user