Add (publish date): Change to datetime, show on view, save publishdate properly

add (composer): rss feed
This commit is contained in:
2023-07-31 00:21:18 +08:00
parent 3812976c0f
commit ad384c5fc2
44 changed files with 440 additions and 156 deletions

View File

@@ -12,7 +12,7 @@
public function up(): void
{
Schema::table('posts', function (Blueprint $table) {
$table->date('publish_date')->nullable()->after('author_id');
$table->datetime('publish_date')->nullable()->after('author_id');
});
}