mirror of
https://github.com/flarum/core.git
synced 2025-08-02 06:30:53 +02:00
Use correct column name
This commit is contained in:
@@ -22,7 +22,7 @@ class AddSuspendedUntilToUsersTable extends Migration
|
|||||||
public function up()
|
public function up()
|
||||||
{
|
{
|
||||||
$this->schema->table('users', function (Blueprint $table) {
|
$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()
|
public function down()
|
||||||
{
|
{
|
||||||
$this->schema->table('users', function (Blueprint $table) {
|
$this->schema->table('users', function (Blueprint $table) {
|
||||||
$table->dropColumn('suspended_until');
|
$table->dropColumn('suspend_until');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user