Skip to content

Commit aaa874b

Browse files
Add Slug
1 parent a49bcb9 commit aaa874b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

database/migrations/2023_10_26_164941_create_contents_table.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public function up(): void
2121
$table->integer('category_id');
2222
$table->string('content_status');
2323
$table->string('featured_image_url')->nullable();
24-
$table->string('slug')->unique()
24+
$table->string('slug')->unique();
2525
$table->timestamps();
2626

2727
$table->foreign('author_id')->references('author_id')->on('authors');

0 commit comments

Comments
 (0)