Try adding the $tbl to the closure... not 100% sure it will work with Schema but worth a shot.
Schema::table($tbl['tableName'], function(Blueprint $table) use ($tbl) {
Yes that worked perfect! Thanks so much.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community