laravel 체크인 경우 테이블이 열
if (Schema::hasTable('users')) {
// The "users" table exists...
}
if (Schema::hasColumn('users', 'email')) {
// The "users" table exists and has an "email" column...
}
이 존재하 id 에서 테이블에서 laravel 검증
'game_id' => 'required|exists:games,id,another_column,NULL',