Style fixes.
This commit is contained in:
parent
a7a59b690a
commit
be4950ff88
43 changed files with 187 additions and 149 deletions
|
|
@ -8,11 +8,11 @@ class PasswordLink extends AbstractMigration
|
|||
public function up()
|
||||
{
|
||||
$this->table('password_link')
|
||||
->addColumn('public_id', 'string', ['length' => 12 ])
|
||||
->addColumn('public_id', 'string', ['length' => 12])
|
||||
->addColumn('user_id', 'integer')
|
||||
->addForeignKey('user_id', 'user', ['id'], [ 'constraint' => 'FK_password_link_user' ])
|
||||
->addColumn('date', 'datetime', [ 'default' => 'CURRENT_TIMESTAMP' ])
|
||||
->addColumn('password', 'string', [ 'limit' => 255, 'null' => true ])
|
||||
->addForeignKey('user_id', 'user', ['id'], ['constraint' => 'FK_password_link_user'])
|
||||
->addColumn('date', 'datetime', ['default' => 'CURRENT_TIMESTAMP'])
|
||||
->addColumn('password', 'string', ['limit' => 255, 'null' => true])
|
||||
->save();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue