Does migration work only for default DbGroups? |
Hi,
I am using Version 4.1.8. I create a migration script for a database a migration script for database with group as "sqlite3" as follows: Code: php spark make:migration --dbgroup "sqlite3" Code: Unable to connect to the database.
DB migration creates `migrations` table in the default DbGroup.
spark migrate --g "sqlite3" runs migration files with $DBGroup = 'sqlite3'.
Quote:Then what is the purpose of the --dbgroup parameter when creating the migration script using spark? It has nothing to do with the migration file you creates. It is only to create the migration file for database session. --dbgroup Database group to use for database sessions. Default: "default". Code: $ php spark help make:migration |
Welcome Guest, Not a member yet? Register Sign In |