SqlPlatform
SqlPlatform.php
:
19
Enum: string
Database platforms an {@see AbstractSqlMigration} can target.
Unlike DatabasePlatformName, MariaDB is a platform of its own here: it runs MySQL's SQL, but some DDL (JSON columns, for instance) has to match what Doctrine DBAL generates for MariaDB.
Cases
MYSQL ¶
SqlPlatform.php
:
21
|
|
|
MARIADB ¶
SqlPlatform.php
:
23
|
|
|
POSTGRESQL ¶
SqlPlatform.php
:
25
|
|
|
SQLITE ¶
SqlPlatform.php
:
27
|
|
|
Methods¶
all()
¶
SqlPlatform.php
:
32
|
|
|
Return values
array<int, self>