mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 16:07:23 +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()
|
||||
{
|
||||
$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');
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user