- WIP on Alter table for lean-console

This commit is contained in:
mcndave committed 2023-03-30 15:24:48 +00:00
1 parent 9514a46ae7
commit 2ad52aba85
11 files changed
+63 -11

No files matched your search

+1 -1
View File
@@ -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";
}