Skip to content

Commit f0a1a62

Browse files
committed
fix - comment migration
1 parent c183f81 commit f0a1a62

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

migrations/2020_10_16_121230_create_hessam_comments_table.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ public function up()
1717
$table->increments('id');
1818

1919
$table->unsignedInteger("post_id")->index();
20-
$table->foreign('post_id')->references('id')->on('hessam_posts');
2120
$table->unsignedInteger("user_id")->nullable()->index()->comment("if user was logged in");
2221

2322
$table->string("ip")->nullable()->comment("if enabled in the config file");

0 commit comments

Comments
 (0)