Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Lines | 8 |
Ratio | 100 % |
Changes | 0 |
1 | <?php |
||
10 | public function up(Schema $schema): void |
||
11 | { |
||
12 | $this->addSql('ALTER TABLE user ADD gdpr_deletion TINYINT(1) DEFAULT 0 NOT NULL;'); |
||
13 | $this->addSql('ALTER TABLE caches ADD gdpr_deletion TINYINT(1) DEFAULT 0 NOT NULL;'); |
||
14 | $this->addSql('ALTER TABLE cache_logs ADD gdpr_deletion TINYINT(1) DEFAULT 0 NOT NULL;'); |
||
15 | |||
16 | $this->addSql('UPDATE user SET gdpr_deletion = 1 WHERE username like \'delete_%\''); |
||
17 | } |
||
18 | |||
23 |
This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the type will be removed from the class and what other constant to use instead.