Kesalahan Sintaks atau Pelanggaran Akses: 1072 Kolom Kunci user_id tidak ada di tabel (sql: ubah tabel `grup` tambahkan kendala` grup_user_id_foreign` kunci asing (`user_id`) Referensi` pengguna` (`id`)))
// You forgot to create the column before creating the relationship
// Do something like (add unsigned before the relationship):
$table->integer('user_id')->unsigned();
$table->foreign('user_id')->references('id')->on('users');
Tough Tarsier