Migrate specific migration
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Migrate specific migration
Hello,
PHP version: 8.1
Laravel version: 10
Aimeos version: 2023.10
Environment: Linux
In my package "setup/default/schema" directory I have two migration files: "index.php" and "price.php". I want to run only "index.php" migration via "php artisan aimeos:setup" command. Does is exist any prefix for this command or any another solution ? In my situation I must run only specific migration.
PHP version: 8.1
Laravel version: 10
Aimeos version: 2023.10
Environment: Linux
In my package "setup/default/schema" directory I have two migration files: "index.php" and "price.php". I want to run only "index.php" migration via "php artisan aimeos:setup" command. Does is exist any prefix for this command or any another solution ? In my situation I must run only specific migration.
Re: Migrate specific migration
It's not possible to execute a specific setup task to do only one migration because they depend on each other and must migrate the database from a previous state to the latest state completely. Thus, you have to implement your setup tasks in a way so they detect the current state and update the database if necessary - just like the Aimeos core setup task do.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star