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(); + }); + } +};