Minor fixes to GDPR files
This commit is contained in:
@ -1,5 +1,14 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This file is part of the 2amigos/yii2-usuario project.
|
||||||
|
*
|
||||||
|
* (c) 2amigOS! <http://2amigos.us/>
|
||||||
|
* @author E. Alamo <erosdelalamo@gmail.com>
|
||||||
|
*
|
||||||
|
* For the full copyright and license information, please view
|
||||||
|
* the LICENSE file that was distributed with this source code.
|
||||||
|
*/
|
||||||
|
|
||||||
namespace Da\User\Form;
|
namespace Da\User\Form;
|
||||||
|
|
||||||
@ -74,4 +83,4 @@ class GdprDeleteForm extends Model
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -17,8 +17,8 @@ class m000000_000009_add_gdpr_consent_fields extends Migration
|
|||||||
{
|
{
|
||||||
public function safeUp()
|
public function safeUp()
|
||||||
{
|
{
|
||||||
$this->addColumn('{{%user}}', 'gdpr_consent', $this->boolean());
|
$this->addColumn('{{%user}}', 'gdpr_consent', $this->boolean()->defaultValue(0));
|
||||||
$this->addColumn('{{%user}}', 'gdpr_consent_date', $this->integer(11));
|
$this->addColumn('{{%user}}', 'gdpr_consent_date', $this->integer(11)->null());
|
||||||
$this->addColumn('{{%user}}', 'gdpr_deleted', $this->boolean()->defaultValue(0));
|
$this->addColumn('{{%user}}', 'gdpr_deleted', $this->boolean()->defaultValue(0));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user