From ff2484a48f37567d6fd0b9394d8299ef0641d007 Mon Sep 17 00:00:00 2001 From: Hank Date: Mon, 25 May 2026 16:34:04 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=B8=85=E9=99=A4=E5=BB=A2=E6=A3=84?= =?UTF-8?q?=E7=9A=84=20DB=20=E8=A1=A8=E8=88=87=20Model?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增 migration 刪除 coach_profiles、coach_member、plans、subscriptions 四張廢棄表 - 刪除對應的空殼 Model:CoachProfile、Plan、Subscription Co-Authored-By: Claude Sonnet 4.6 --- app/Models/CoachProfile.php | 32 ------------------- app/Models/Plan.php | 10 ------ app/Models/Subscription.php | 10 ------ .../2026_05_25_083147_drop_unused_tables.php | 20 ++++++++++++ 4 files changed, 20 insertions(+), 52 deletions(-) delete mode 100644 app/Models/CoachProfile.php delete mode 100644 app/Models/Plan.php delete mode 100644 app/Models/Subscription.php create mode 100644 database/migrations/2026_05_25_083147_drop_unused_tables.php diff --git a/app/Models/CoachProfile.php b/app/Models/CoachProfile.php deleted file mode 100644 index 5efbf93..0000000 --- a/app/Models/CoachProfile.php +++ /dev/null @@ -1,32 +0,0 @@ - - */ - protected $fillable = [ - 'user_id', - 'bio', - 'expertise', - 'certification', - 'experience', - 'rating', - 'availability' - ]; - - /** - * 與用戶的關聯 - */ - public function user() - { - return $this->belongsTo(User::class); - } -} diff --git a/app/Models/Plan.php b/app/Models/Plan.php deleted file mode 100644 index e91899c..0000000 --- a/app/Models/Plan.php +++ /dev/null @@ -1,10 +0,0 @@ -