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:
@@ -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');
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user