1
0
mirror of https://github.com/flarum/core.git synced 2025-08-01 06:00:24 +02:00

Use correct column name

This commit is contained in:
Toby Zerner
2015-09-14 15:20:51 +09:30
parent 4aa0c0e923
commit 2d5d9a85c0

View File

@@ -22,7 +22,7 @@ class AddSuspendedUntilToUsersTable extends Migration
public function up()
{
$this->schema->table('users', function (Blueprint $table) {
$table->dateTime('suspended_until')->nullable();
$table->dateTime('suspend_until')->nullable();
});
}
@@ -34,7 +34,7 @@ class AddSuspendedUntilToUsersTable extends Migration
public function down()
{
$this->schema->table('users', function (Blueprint $table) {
$table->dropColumn('suspended_until');
$table->dropColumn('suspend_until');
});
}
}