Compare commits

...

2 Commits

Author SHA1 Message Date
ce5a97ce45 Merge branch 'master' of https://git.mcnd.ca/mcndave/lean-console 2023-10-30 15:24:26 +00:00
ea82d8dd08 - WIP on assets 2023-10-30 15:24:12 +00:00
3 changed files with 9 additions and 3 deletions

View File

@ -39,5 +39,5 @@ class Column extends InformationSchema\Column
} }
}; };
} }
*/
} }

View File

@ -38,5 +38,5 @@ class Column extends Sqlite
} }
}; };
} }
*/
} }

View File

@ -2,6 +2,8 @@
namespace Lean\Console\Lib; namespace Lean\Console\Lib;
use Ulmus\Adapter\SqlAdapterInterface;
class DatabaseMigrations class DatabaseMigrations
{ {
public array $folderList; public array $folderList;
@ -27,7 +29,11 @@ class DatabaseMigrations
continue; continue;
} }
$this->entities[$entity] = $entity::resolveEntity(); $resolve = $entity::resolveEntity();
if ( $resolve->sqlAdapter()->adapter() instanceof SqlAdapterInterface) {
$this->entities[$entity] = $resolve;
}
} }
} }