Skip to content

Commit

Permalink
bad sql design
Browse files Browse the repository at this point in the history
  • Loading branch information
ayooby committed Aug 24, 2015
1 parent 083c945 commit 535f737
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public function up()
{
$table->increments('id');
$table->integer('user_id')->references('id')->on('users');
$table->integer('question_id')->references('id')->on('questions');
$table->integer('answer_id')->references('id')->on('answer');
$table->integer('user_rate');
});
}
Expand Down

0 comments on commit 535f737

Please sign in to comment.