From ea26abcc3bdfe090eb546b05a701fc032288b8ce Mon Sep 17 00:00:00 2001 From: Pig Fang Date: Fri, 26 Jun 2020 09:06:45 +0800 Subject: [PATCH] add missing migration from laravel/passport --- ...06_26_090510_add_o_auth_provider_field.php | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 database/migrations/2020_06_26_090510_add_o_auth_provider_field.php diff --git a/database/migrations/2020_06_26_090510_add_o_auth_provider_field.php b/database/migrations/2020_06_26_090510_add_o_auth_provider_field.php new file mode 100644 index 00000000..c41e7208 --- /dev/null +++ b/database/migrations/2020_06_26_090510_add_o_auth_provider_field.php @@ -0,0 +1,22 @@ +string('provider')->after('secret')->nullable(); + }); + } + + public function down() + { + Schema::table('oauth_clients', function (Blueprint $table) { + $table->removeColumn('provider'); + }); + } +}