I am trying to deploy latest changes on Forge. It gives me error:
SQLSTATE[HY000]: General error: 1824 Failed to open the referenced table 'users'
There is migration file for users table in migration folder. Also db has users table.
The timestamp of the users migration file is also before the Meetings migration file.
Could you please help me to find why i see this error?
@mabdullahsari The name of the users table migration file is 2014_10_12_000000_create_users_table.php and the name of the meetings table migration file is 2021_12_27_200254_create_meetings_table.php . Also there is users table in db and it has data. I know the error says it couldnt find the users table. But there is.
@mrmercan any chance that your migrate command is running with some env flag or similar, making it run on the wrong connection? Did you try ssh into the server and running it manually?