From 9dd47ed4a7c7ced8bc3e808f0ed3a71d70b3517f Mon Sep 17 00:00:00 2001 From: tabuna Date: Tue, 12 Mar 2024 05:47:43 +0300 Subject: [PATCH] WIP --- .../2023_11_17_150840_add_type_and_status_to_posts.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/database/migrations/2023_11_17_150840_add_type_and_status_to_posts.php b/database/migrations/2023_11_17_150840_add_type_and_status_to_posts.php index 841d9aca..97fb701c 100644 --- a/database/migrations/2023_11_17_150840_add_type_and_status_to_posts.php +++ b/database/migrations/2023_11_17_150840_add_type_and_status_to_posts.php @@ -12,8 +12,8 @@ public function up(): void { Schema::table('posts', function (Blueprint $table) { - $table->string('type')->default(\App\Casts\PostTypeEnum::Article); - $table->string('status')->default(\App\Casts\StatusEnum::Draft); + $table->string('type')->default(\App\Models\Enums\PostTypeEnum::Article); + $table->string('status')->default(\App\Models\Enums\StatusEnum::Draft); }); }