Schema::create('sex', function (Blueprint $table){

$table->bigIncrements('id');

$table->timestamp();

$table->integer('category_id');

});


마이그레이션할때 이런식으로 테이블값을 넣지 않습니까?


category_id의 경우에는 외래키인데, 요기서 외래키로 맞춰주려면 어떻게 해야합니까?