@@ -1,13 +1,13 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | // PATH aliases |
| 4 | -define('ROOT_PATH', __DIR__ ); |
|
| 5 | -define('MIGRATIONS_PATH', __DIR__ . '/app/database/migrations'); |
|
| 6 | -define('SEEDS_PATH', __DIR__ . '/app/database/seeds'); |
|
| 7 | -define('MODELS_PATH', __DIR__ . '/app/src/Model'); |
|
| 8 | -define('SCHEMAS_PATH', __DIR__ . '/app/src/Schema'); |
|
| 9 | -define('COMMANDS_PATH', __DIR__ . '/app/src/Console/Commands'); |
|
| 10 | -define('CODE_TEMPLATE_PATH', __DIR__ . '/app/src/Console/CodeTemplates'); |
|
| 11 | -define('CONFIG_PATH', __DIR__ . '/config'); |
|
| 12 | -define('APP_PATH', __DIR__ . '/app'); |
|
| 4 | +define('ROOT_PATH', __DIR__); |
|
| 5 | +define('MIGRATIONS_PATH', __DIR__.'/app/database/migrations'); |
|
| 6 | +define('SEEDS_PATH', __DIR__.'/app/database/seeds'); |
|
| 7 | +define('MODELS_PATH', __DIR__.'/app/src/Model'); |
|
| 8 | +define('SCHEMAS_PATH', __DIR__.'/app/src/Schema'); |
|
| 9 | +define('COMMANDS_PATH', __DIR__.'/app/src/Console/Commands'); |
|
| 10 | +define('CODE_TEMPLATE_PATH', __DIR__.'/app/src/Console/CodeTemplates'); |
|
| 11 | +define('CONFIG_PATH', __DIR__.'/config'); |
|
| 12 | +define('APP_PATH', __DIR__.'/app'); |
|
| 13 | 13 | |
@@ -53,7 +53,7 @@ |
||
| 53 | 53 | '<class>', |
| 54 | 54 | '<tableName>', |
| 55 | 55 | ]; |
| 56 | - $replacements = [ |
|
| 56 | + $replacements = [ |
|
| 57 | 57 | Helper::underscoreToCamelCase($migrationName, true), |
| 58 | 58 | strtolower($migrationName), |
| 59 | 59 | ]; |