mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-25 07:45:22 +00:00
Fix typo in migration
This commit is contained in:
parent
cb343a1373
commit
d3e6229946
1 changed files with 1 additions and 2 deletions
|
@ -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…
Reference in a new issue