Add column for new OAuth thing.

This commit is contained in:
James Cole
2020-07-30 20:50:22 +02:00
parent 5ae786516a
commit 7c2ae7a91e

View File

@@ -18,10 +18,16 @@ class ChangesForV540 extends Migration
public function down(): void public function down(): void
{ {
Schema::table( Schema::table(
'accounts', static function (Blueprint $table) { 'oauth_clients', static function (Blueprint $table) {
$table->dropColumn('order'); $table->dropColumn('order');
} }
); );
Schema::table(
'accounts', static function (Blueprint $table) {
$table->dropColumn('provider');
}
);
} }
/** /**
@@ -36,5 +42,12 @@ class ChangesForV540 extends Migration
$table->integer('order', false, true)->default(0); $table->integer('order', false, true)->default(0);
} }
); );
Schema::table(
'oauth_clients', static function (Blueprint $table) {
$table->string('provider')->nullable();
}
);
} }
} }