diff options
Diffstat (limited to 'database/migrations/2018_08_24_102141_create_posts_table.php')
-rw-r--r-- | database/migrations/2018_08_24_102141_create_posts_table.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/database/migrations/2018_08_24_102141_create_posts_table.php b/database/migrations/2018_08_24_102141_create_posts_table.php index f841c69..644ad81 100644 --- a/database/migrations/2018_08_24_102141_create_posts_table.php +++ b/database/migrations/2018_08_24_102141_create_posts_table.php @@ -13,7 +13,7 @@ class CreatePostsTable extends Migration */ public function up() { - Schema::create('text_posts', function (Blueprint $table) { + Schema::create('posts', function (Blueprint $table) { $table->increments('id'); $table->integer('post_types_id'); $table->integer('user_id'); @@ -28,6 +28,6 @@ class CreatePostsTable extends Migration */ public function down() { - Schema::drop('text_posts'); + Schema::drop('posts'); } } |