CC-1938 - DB Migration Tool
-small comment added to code
This commit is contained in:
parent
ba81e947ec
commit
cbc1270b9f
1 changed files with 5 additions and 0 deletions
|
@ -1,4 +1,9 @@
|
||||||
<?php
|
<?php
|
||||||
|
/* to enable this script, make sure phar files are enabled
|
||||||
|
* phar.readonly = Off
|
||||||
|
* in /etc/php5/cli/php.ini
|
||||||
|
*/
|
||||||
|
|
||||||
$dir = __DIR__;
|
$dir = __DIR__;
|
||||||
$command = "php $dir/../library/doctrine/migrations/doctrine-migrations.phar --configuration=$dir/../install/DoctrineMigrations/migrations.xml --db-configuration=$dir/../library/doctrine/migrations/migrations-db.php --no-interaction migrations:generate";
|
$command = "php $dir/../library/doctrine/migrations/doctrine-migrations.phar --configuration=$dir/../install/DoctrineMigrations/migrations.xml --db-configuration=$dir/../library/doctrine/migrations/migrations-db.php --no-interaction migrations:generate";
|
||||||
system($command);
|
system($command);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue