Merge pull request #112 from MKiselev/issue_111
Close #111 | Fix migration for PostgreSQL
This commit is contained in:
@ -1,6 +1,7 @@
|
|||||||
# CHANGELOG
|
# CHANGELOG
|
||||||
|
|
||||||
## 1.1.1 - Work in progress
|
## 1.1.1 - Work in progress
|
||||||
|
- Bug #111: Fix migration for PostgreSQL DBMS (MKiselev)
|
||||||
- Bug #106: Correct exception value returned in `MailEvent::getException` (kartik-v)
|
- Bug #106: Correct exception value returned in `MailEvent::getException` (kartik-v)
|
||||||
- Enh #99: Added German translation (jkmssoft)
|
- Enh #99: Added German translation (jkmssoft)
|
||||||
- Enh #100: Added pt-BR translation (gugoan)
|
- Enh #100: Added pt-BR translation (gugoan)
|
||||||
|
|||||||
@ -18,7 +18,7 @@ class m000000_000006_add_two_factor_fields extends Migration
|
|||||||
public function safeUp()
|
public function safeUp()
|
||||||
{
|
{
|
||||||
$this->addColumn('{{%user}}', 'auth_tf_key', $this->string(16));
|
$this->addColumn('{{%user}}', 'auth_tf_key', $this->string(16));
|
||||||
$this->addColumn('{{%user}}', 'auth_tf_enabled', $this->boolean()->defaultValue(0));
|
$this->addColumn('{{%user}}', 'auth_tf_enabled', $this->boolean()->defaultValue(false));
|
||||||
}
|
}
|
||||||
|
|
||||||
public function safeDown()
|
public function safeDown()
|
||||||
|
|||||||
Reference in New Issue
Block a user