Style fixes.
This commit is contained in:
parent
a7a59b690a
commit
8b44550f06
42 changed files with 186 additions and 148 deletions
|
|
@ -11,11 +11,11 @@ class CreateCallbackTable extends AbstractMigration
|
|||
$table->addColumn('public_id', 'string', [
|
||||
'length' => 12,
|
||||
'null' => false,
|
||||
])->addIndex('public_id', [ 'name' => 'UNIQUE_public_id', 'unique' => true ]);
|
||||
])->addIndex('public_id', ['name' => 'UNIQUE_public_id', 'unique' => true]);
|
||||
|
||||
$table->addColumn('userid', 'integer', [
|
||||
'null' => true,
|
||||
])->addForeignKey('userid', 'user', ['id'], [ 'constraint' => 'FK_user' ]);
|
||||
])->addForeignKey('userid', 'user', ['id'], ['constraint' => 'FK_user']);
|
||||
|
||||
$table->addColumn('name', 'string', [
|
||||
'length' => 64,
|
||||
|
|
|
|||
Reference in a new issue