Update (admin): Improve admin post ux

This commit is contained in:
2023-08-02 00:36:42 +08:00
parent 3bf6c0475e
commit ab9222aaca
27 changed files with 102 additions and 83 deletions

View File

@@ -18,7 +18,7 @@ public function up(): void
$table->mediumText('excerpt')->nullable();
$table->foreignId('author_id')->nullable();
$table->boolean('featured')->default(false);
$table->string('featured_image');
$table->string('featured_image')->nullable();
$table->enum('editor', ['editorjs'])->default('editorjs');
$table->json('body')->nullable();
$table->enum('post_format', ['standard'])->default('standard');