country, state,city,department and devision migration files should have lesser time stamps than employees migration file.
at present employee table is being created first before creating child tables like country,state, city, devision and department so it is giving error saying foreign key constraint wrongly framed.
so we need to create the child tables first so that employee table can have foreign keys for these child tables.
currently migration error is there, i resolved it by changing file name of the child tables,
I gave lesser date and executed following command,
country, state,city,department and devision migration files should have lesser time stamps than employees migration file.
at present employee table is being created first before creating child tables like country,state, city, devision and department so it is giving error saying foreign key constraint wrongly framed.
so we need to create the child tables first so that employee table can have foreign keys for these child tables.
currently migration error is there, i resolved it by changing file name of the child tables, I gave lesser date and executed following command,
"php artisan migrate"
migration was succesfully completed..