-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
So I just installed this command and from what I read, it's awesome. I develop a lot of things as modules in my app, so this is coming in handy.
Hoooooowever....
shared.php (included by console.php, used in yiic.php):
'modules'=>array(
"user",
),In console.php:
<?php return array_merge(
require_once(__DIR__."/shared.php"),
[
'commandMap' => array(
'migrate' => array(
'class' => 'composer.yiiext.migrate-command.EMigrateCommand',
'migrationPath' => 'application.migrations',
'migrationTable' => 'tbl_migration',
'applicationModuleName' => 'BIRD3',
'migrationSubPath' => 'migrations',
'connectionID'=>'db',
'disabledModules' => array(
# Empty.
),
'templateFile'=>'application.migration_template',
),
),
]
);I simplified my modules property - because, ALL of them are disabled.
Ingwie@Ingwies-MBP.Speedport_W723_V_Typ_A_1_01_010 ~/W/BIRD3 $ npm run yiic migrate
> BIRD3@3.0.0-dev.72 yiic /Users/Ingwie/Work/BIRD3
> php protected/yiic.php "migrate"
Yii Migration Tool v1.0 (based on Yii v1.1.16)
extended with EMigrateCommand by cebe <mail@cebe.cc>
Active database component (connectionString):
mysql:host=localhost;dbname=bird3
The following modules are disabled: user[...] <-----
No new migration found. Your system is up-to-date.
(I use NPM and Composer together.)
What can I do to automatically get it enabled? Or is it because it does not have a migrations subfolder?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels