- WIP on Alter table for lean-console
This commit is contained in:
1 parent
9514a46ae7
commit
2ad52aba85
11 files changed
+63
-11
No files matched your search
@@ -392,7 +392,7 @@ class QueryBuilder implements Query\QueryBuilderInterface
|
||||
|
||||
public function alter(Adapter\AdapterInterface $adapter, array $fieldlist, string $table, ? string $database = null, ? string $schema = null) : self
|
||||
{
|
||||
if ( null === $this->getFragment(Query\Create::class) ) {
|
||||
if ( null === $this->getFragment(Query\Alter::class) ) {
|
||||
if ( $schema ) {
|
||||
$table = "$schema.$table";
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user