Sources
This commit is contained in:
@ -20,19 +20,13 @@ final class CreateSources extends AbstractMigration
|
||||
{
|
||||
$this->table('sources', [
|
||||
'id' => false,
|
||||
'primary_key' => ['id'],
|
||||
'primary_key' => ['currency_id', 'url'],
|
||||
'engine' => 'InnoDB',
|
||||
'encoding' => 'utf8mb4',
|
||||
'collation' => 'utf8mb4_general_ci',
|
||||
'comment' => '',
|
||||
'row_format' => 'DYNAMIC',
|
||||
])
|
||||
->addColumn('id', 'integer', [
|
||||
'null' => false,
|
||||
'limit' => '10',
|
||||
'signed' => false,
|
||||
'identity' => 'enable',
|
||||
])
|
||||
->addColumn('currency_id', 'integer', [
|
||||
'null' => false,
|
||||
'limit' => '10',
|
||||
|
Reference in New Issue
Block a user