Fix typo in migration

pull/3975/head
Daniel Supernault 4 years ago
parent cb343a1373
commit d3e6229946
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

@ -14,7 +14,7 @@ return new class extends Migration
public function up()
{
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()
{
Schema::table('admin_invites', function (Blueprint $table) {
$table->dropColumn('uses');
});
}
};

Loading…
Cancel
Save