mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-09 16:24:51 +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()
|
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');
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue