@ -25,7 +25,7 @@
"erusev/parsedown": "^1.6",
"illuminate/container": "5.5.*",
"illuminate/database": "5.5.*",
"illuminate/support": "^5.5",
"illuminate/support": "5.5.*",
"nikic/fast-route": "^1.3",
"psr/container": "^1.0",
"psr/http-server-middleware": "^1.0",
@ -44,7 +44,8 @@
},
"autoload": {
"psr-4": {
"Engelsystem\\": "src/"
"Engelsystem\\": "src/",
"Engelsystem\\Migrations\\": "db/migrations"
"files": [
"src/helpers.php"
@ -1,5 +1,7 @@
<?php
namespace Engelsystem\Migrations;
use Engelsystem\Database\Migration\Migration;
class ImportInstallSql extends Migration
class ImportUpdateSql extends Migration
use Illuminate\Database\Schema\Blueprint;
@ -114,7 +114,7 @@ class Migrate
$className = Str::studly(preg_replace('/\d+_/', '', $migration));
/** @var Migration $class */
$class = $this->app->make($className);
$class = $this->app->make('Engelsystem\\Migrations\\' . $className);
if (method_exists($class, $type)) {
$class->{$type}();
@ -2,7 +2,7 @@
namespace Engelsystem\Test\Unit\Database;
use AnotherStuff;
use Engelsystem\Migrations\AnotherStuff;
use Illuminate\Database\Schema\Builder as SchemaBuilder;
use PHPUnit\Framework\MockObject\MockBuilder;
use PHPUnit\Framework\TestCase;
class AnotherStuff extends Migration
class AddSomeFeature extends Migration