Skip to content

Commit 9dd47ed

Browse files
committed
WIP
1 parent 39d0058 commit 9dd47ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

database/migrations/2023_11_17_150840_add_type_and_status_to_posts.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
public function up(): void
1313
{
1414
Schema::table('posts', function (Blueprint $table) {
15-
$table->string('type')->default(\App\Casts\PostTypeEnum::Article);
16-
$table->string('status')->default(\App\Casts\StatusEnum::Draft);
15+
$table->string('type')->default(\App\Models\Enums\PostTypeEnum::Article);
16+
$table->string('status')->default(\App\Models\Enums\StatusEnum::Draft);
1717
});
1818
}
1919

0 commit comments

Comments
 (0)