- A lot of work done on bug fixing. Added a new SQLite adapter
This commit is contained in:
1 parent
667df92e52
commit
c14644cdda
28 files changed
+727
-234
No files matched your search
@@ -5,8 +5,13 @@ namespace Ulmus\Adapter;
|
||||
use Ulmus\Common\PdoObject;
|
||||
|
||||
use Ulmus\Exception\AdapterConfigurationException;
|
||||
use Ulmus\Migration\FieldDefinition;
|
||||
use Ulmus\{Entity\InformationSchema\Table, Repository, QueryBuilder};
|
||||
|
||||
class MsSQL implements AdapterInterface {
|
||||
use DefaultAdapterTrait;
|
||||
|
||||
const DSN_PREFIX = "sqlsrv";
|
||||
|
||||
public int $port;
|
||||
|
||||
@@ -129,7 +134,7 @@ class MsSQL implements AdapterInterface {
|
||||
$parts[] = "WSID={$this->wsid}";
|
||||
}
|
||||
|
||||
return "sqlsrv:" . implode(';', $parts);
|
||||
return static::DSN_PREFIX . ":" . implode(';', $parts);
|
||||
}
|
||||
|
||||
public function setup(array $configuration) : void
|
||||
|
||||
Reference in new issue
Block a user