refactor: code style changes
Signed-off-by: miguel456 <me@nogueira.codes>
This commit is contained in:
@@ -14,10 +14,8 @@ class ChangeBansTable extends Migration
|
||||
public function up()
|
||||
{
|
||||
Schema::table('bans', function (Blueprint $table) {
|
||||
|
||||
$table->dropColumn('userAgent');
|
||||
$table->boolean('isPermanent')->default(false);
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
@@ -29,8 +27,8 @@ class ChangeBansTable extends Migration
|
||||
public function down()
|
||||
{
|
||||
Schema::table('bans', function (Blueprint $table) {
|
||||
$table->dropColumn('isPermanent');
|
||||
$table->string('userAgent')->after('bannedUntil');
|
||||
$table->dropColumn('isPermanent');
|
||||
$table->string('userAgent')->after('bannedUntil');
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user