Skip to content

Commit d511d42

Browse files
committed
moving database folder
1 parent 3e5cfcf commit d511d42

7 files changed

Lines changed: 12 additions & 15 deletions

File tree

modules/base/Mage2/Core/Foundation/Application.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,18 @@ public function baseModulePath($path = '')
3131
return $this->basePath.DIRECTORY_SEPARATOR.'modules'. DIRECTORY_SEPARATOR . "base";
3232
}
3333

34+
/**
35+
* Get the path to the database directory.
36+
*
37+
* @param string $path Optionally, a path to append to the database path
38+
* @return string
39+
*/
40+
public function databasePath($path = '')
41+
{
42+
$baseModulePath = $this->baseModulePath();
43+
return $baseModulePath.DIRECTORY_SEPARATOR.'Mage2'. DIRECTORY_SEPARATOR . "Core". DIRECTORY_SEPARATOR ."database";
44+
}
45+
3446

3547

3648

database/.gitignore renamed to modules/base/Mage2/Core/database/.gitignore

File renamed without changes.

database/factories/ModelFactory.php renamed to modules/base/Mage2/Core/database/factories/ModelFactory.php

File renamed without changes.

database/migrations/2014_10_12_000000_create_users_table.php renamed to modules/base/Mage2/Core/database/migrations/2014_10_12_000000_create_users_table.php

File renamed without changes.

database/migrations/2014_10_12_100000_create_password_resets_table.php renamed to modules/base/Mage2/Core/database/migrations/2014_10_12_100000_create_password_resets_table.php

File renamed without changes.

database/seeds/DatabaseSeeder.php renamed to modules/base/Mage2/Core/database/seeds/DatabaseSeeder.php

File renamed without changes.

webpack.mix.js

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)