1
0
mirror of https://github.com/flarum/core.git synced 2025-08-05 16:07:34 +02:00

we need to leave the preferences column for now

This commit is contained in:
Daniël Klabbers
2018-06-22 23:43:37 +02:00
parent 48ac132959
commit d9b357c18e

View File

@@ -23,7 +23,7 @@ return [
$table->renameColumn('read_time', 'marked_all_as_read_at'); $table->renameColumn('read_time', 'marked_all_as_read_at');
$table->renameColumn('notifications_read_time', 'read_notifications_at'); $table->renameColumn('notifications_read_time', 'read_notifications_at');
$table->renameColumn('avatar_path', 'avatar_url'); $table->renameColumn('avatar_path', 'avatar_url');
$table->dropColumn('bio', 'preferences'); $table->dropColumn('bio');
}); });
}, },
@@ -38,7 +38,6 @@ return [
$table->renameColumn('read_notifications_at', 'notifications_read_time'); $table->renameColumn('read_notifications_at', 'notifications_read_time');
$table->renameColumn('avatar_url', 'avatar_path'); $table->renameColumn('avatar_url', 'avatar_path');
$table->text('bio')->nullable(); $table->text('bio')->nullable();
$table->binary('preferences')->nullable();
}); });
} }
]; ];