diff --git a/database/migrations/2025_06_23_133423_alert_courses_table.php b/database/migrations/2025_06_23_133423_alert_courses_table.php new file mode 100644 index 0000000..19a98d1 --- /dev/null +++ b/database/migrations/2025_06_23_133423_alert_courses_table.php @@ -0,0 +1,32 @@ +decimal('price', 10, 2)->nullable()->default(0)->comment('价格'); + $table->boolean('fee_type')->default(1)->nullable()->comment('缴费类型1上传缴费凭证2在线支付'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('courses', function (Blueprint $table) { + // + }); + } +};