From e7f4c1ebd16b9dba3fbeff9c55595a897ead1466 Mon Sep 17 00:00:00 2001 From: Arthur Pariente Date: Tue, 2 Jul 2024 18:50:15 +0200 Subject: [PATCH] Fix token columns type for OAuth --- ...640_update_tokens_in_user_oauth_tokens.php | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 app/Database/migrations/2024_07_02_164640_update_tokens_in_user_oauth_tokens.php diff --git a/app/Database/migrations/2024_07_02_164640_update_tokens_in_user_oauth_tokens.php b/app/Database/migrations/2024_07_02_164640_update_tokens_in_user_oauth_tokens.php new file mode 100644 index 000000000..5d3ffceaf --- /dev/null +++ b/app/Database/migrations/2024_07_02_164640_update_tokens_in_user_oauth_tokens.php @@ -0,0 +1,24 @@ +text('token')->change(); + $table->text('refresh_token')->change(); + }); + } + + public function down(): void + { + Schema::table('user_oauth_tokens', function (Blueprint $table) { + $table->string('token')->change(); + $table->string('refresh_token')->change(); + }); + } +};