Ad

If I Migrate Locally, Can I Execute The Same Migration On The Server?

- 1 answer

Before I execute a migration on localhost I want to be sure that I can still execute the same migration on my server.

Will i still be able to execute the same migration remotely or will laravel mark that migration as done somewhere?

Ad

Answer

The migration information is stored inside the database that was migrated (in a "migrations" table). As long as your localhost and your server are not looking at the same database, you'll be fine.

Ad
source: stackoverflow.com
Ad