Final Class Yiisoft\Db\Migration\DatabaseSet
| Inheritance | Yiisoft\ |
|---|
Configuration of a named database and its migrations.
Public Properties
Public Methods
| Method | Description | Defined By |
|---|---|---|
| __construct() | Yiisoft\ |
Property Details
Method Details
| public mixed __construct ( \ | ||
| $db | \ |
|
| $newMigrationNamespace | string | |
| $newMigrationPath | string | |
| $sourceNamespaces | string[] | |
| $sourcePaths | string[] | |
| $historyTable | string | |
| $migrationNameLimit | ?int | |
| $useTablePrefix | boolean | |
| $maxSqlOutputLength | ?int | |
public function __construct(
public readonly ConnectionInterface $db,
public readonly string $newMigrationNamespace = '',
public readonly string $newMigrationPath = '',
public readonly array $sourceNamespaces = [],
public readonly array $sourcePaths = [],
public readonly string $historyTable = '{{%migration}}',
public readonly ?int $migrationNameLimit = 180,
public readonly bool $useTablePrefix = true,
public readonly ?int $maxSqlOutputLength = null,
) {}
User Contributed Notes
Leave a comment
Join the conversation to share a note.