Fix typo in migration

This commit is contained in:
Daniel Supernault 2022-12-19 22:37:43 -07:00
parent cb343a1373
commit d3e6229946
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -14,7 +14,7 @@ return new class extends Migration
public function up() public function up()
{ {
Schema::table('admin_invites', function (Blueprint $table) { Schema::table('admin_invites', function (Blueprint $table) {
$table->unsignedInteger('uses')->default(0)->after('max_uses'); $table->unsignedInteger('uses')->default(0)->after('max_uses')->change();
}); });
} }
@ -26,7 +26,6 @@ return new class extends Migration
public function down() public function down()
{ {
Schema::table('admin_invites', function (Blueprint $table) { Schema::table('admin_invites', function (Blueprint $table) {
$table->dropColumn('uses');
}); });
} }
}; };