aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--database/migrations/2020_10_18_142620_create_posts_table.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/database/migrations/2020_10_18_142620_create_posts_table.php b/database/migrations/2020_10_18_142620_create_posts_table.php
index 923295d..f14dce6 100644
--- a/database/migrations/2020_10_18_142620_create_posts_table.php
+++ b/database/migrations/2020_10_18_142620_create_posts_table.php
@@ -15,6 +15,7 @@ class CreatePostsTable extends Migration
{
Schema::create('posts', function (Blueprint $table) {
$table->id();
+ $table->string('title', 255);
$table->string('author', 255)->nullable();
$table->longText('text');
$table->timestamps();