ここの情報は古いです。ご理解頂いた上でお取り扱いください。

Changeset 12173


Ignore:
Timestamp:
Jul 7, 2009, 6:09:39 PM (11 years ago)
Author:
ebihara
Message:

#4101:changed openpne:generate-migrations for using generated model files instead of yaml schema file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE3/trunk/lib/task/openpneGenerateMigrationsTask.class.php

    r12165 r12173  
    3232    $migrationsPath = sfConfig::get('sf_data_dir').'/migrations/generated';
    3333
     34    $config = $this->getCliConfig();
     35
    3436    $this->callDoctrineCli('generate-models-db', array('models_path' => $tmpdir));
    35     $this->callDoctrineCli('generate-migrations-diff', array('models_path' => $tmpdir, 'migrations_path' => $migrationsPath));
     37    $this->callDoctrineCli('generate-migrations-diff', array('models_path' => $tmpdir, 'migrations_path' => $migrationsPath, 'yaml_schema_path' => $config['models_path']));
    3638  }
    3739}
Note: See TracChangeset for help on using the changeset viewer.