From 2dd0dfac87150a0decc23c0036a982d83f7aec2d Mon Sep 17 00:00:00 2001 From: xboard Date: Sun, 19 Nov 2023 20:51:52 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9v2=5Fsetting=E7=9A=84v?= =?UTF-8?q?alue=E4=B8=BAtext=E7=B1=BB=E5=9E=8B=EF=BC=8C=E9=98=B2=E6=AD=A2?= =?UTF-8?q?=E8=BF=87=E9=95=BF=E7=9A=84=E9=85=8D=E7=BD=AE=E6=8A=B1=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...ange_column_value_to_v2_settings_table.php | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 database/migrations/2023_11_19_205026_change_column_value_to_v2_settings_table.php diff --git a/database/migrations/2023_11_19_205026_change_column_value_to_v2_settings_table.php b/database/migrations/2023_11_19_205026_change_column_value_to_v2_settings_table.php new file mode 100644 index 0000000..97ad5d6 --- /dev/null +++ b/database/migrations/2023_11_19_205026_change_column_value_to_v2_settings_table.php @@ -0,0 +1,28 @@ +text('value')->comment('设置值')->nullable()->change(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('v2_settings', function (Blueprint $table) { + $table->string('value')->comment('设置值')->nullable()->change(); + }); + } +};