From c85a33be6a9d1cd66334f91bc378c07da69057d4 Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 5 Jul 2023 17:28:08 +0100 Subject: [PATCH] Change settings table `saml_idp_metadata` to MEDIUMTEXT Signed-off-by: snipe --- ..._table_increase_saml_idp_metadata_size.php | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 database/migrations/2023_07_05_092237_change_settings_table_increase_saml_idp_metadata_size.php diff --git a/database/migrations/2023_07_05_092237_change_settings_table_increase_saml_idp_metadata_size.php b/database/migrations/2023_07_05_092237_change_settings_table_increase_saml_idp_metadata_size.php new file mode 100644 index 0000000000..0e200e11b5 --- /dev/null +++ b/database/migrations/2023_07_05_092237_change_settings_table_increase_saml_idp_metadata_size.php @@ -0,0 +1,36 @@ +mediumText('saml_idp_metadata')->nullable()->default(null)->change(); + }); + + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('settings', function (Blueprint $table) { + $table->text('saml_idp_metadata')->nullable()->default(null)->change(); + }); + } +}