1
0
mirror of https://github.com/flarum/core.git synced 2025-07-18 23:31:17 +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 75d3349699
commit 0fb5572f20

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();
}); });
} }
]; ];