#213 Migration sql syntax fix (#214)

This commit is contained in:
Aleksey Kazakov
2018-07-28 11:00:38 +03:00
committed by Lorenzo Milesi
parent bdf48cd2d9
commit ebf2e53d2c
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
# CHANGELOG # CHANGELOG
## 1.1.5 - Work in progress ## 1.1.5 - Work in progress
- Fix #213: Migration sql syntax fix (Dezinger)
- Ehn #131: 2FA libraries now optional (maxxer) - Ehn #131: 2FA libraries now optional (maxxer)
- Ehn #187: Add GDPR features (Eseperio) - Ehn #187: Add GDPR features (Eseperio)
- Enh #184: Add `last-login-ip` capture capability (kartik-v) - Enh #184: Add `last-login-ip` capture capability (kartik-v)

View File

@ -16,7 +16,7 @@ class m000000_000008_add_last_login_ip extends Migration
*/ */
public function safeUp() public function safeUp()
{ {
$this->addColumn('{{%user}}', 'last_login_ip', Schema::TYPE_STRING . '(45) DEFAULT NULL AFTER last_login_at'); $this->addColumn('{{%user}}', 'last_login_ip', $this->string(45)->null()->after('last_login_at'));
} }
/** /**