diff options
author | Mateja <mail@matejamaric.com> | 2020-10-19 20:01:23 +0200 |
---|---|---|
committer | Mateja <mail@matejamaric.com> | 2020-10-19 20:01:23 +0200 |
commit | 74c8b5a9fba331e0151a05814cd1f9b35079a87f (patch) | |
tree | d3107cb5dc0621e2a9f05aff9c6968138fea1e14 /database/migrations | |
parent | 4f956151936eed1cf15d91e57b3148f235d03215 (diff) | |
download | yota-laravel-74c8b5a9fba331e0151a05814cd1f9b35079a87f.tar.gz yota-laravel-74c8b5a9fba331e0151a05814cd1f9b35079a87f.zip |
Add title to posts migration
Diffstat (limited to 'database/migrations')
-rw-r--r-- | database/migrations/2020_10_18_142620_create_posts_table.php | 1 |
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(); |