mirror of
https://github.com/flarum/framework.git
synced 2025-02-22 15:07:42 +08:00
Use correct column name
This commit is contained in:
parent
4aa0c0e923
commit
2d5d9a85c0
@ -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');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user