| Total Complexity | 4 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | final class Version20201101130541 extends AbstractMigration |
||
| 14 | { |
||
| 15 | public function getDescription() : string |
||
| 16 | { |
||
| 17 | return ''; |
||
| 18 | } |
||
| 19 | |||
| 20 | public function postUp(Schema $schema): void { |
||
| 21 | $this->connection->exec('UPDATE user_role SET priority = 0'); |
||
|
|
|||
| 22 | } |
||
| 23 | |||
| 24 | public function up(Schema $schema) : void |
||
| 25 | { |
||
| 26 | // this up() migration is auto-generated, please modify it to your needs |
||
| 27 | $this->addSql('ALTER TABLE user_role ADD priority INT NOT NULL'); |
||
| 28 | } |
||
| 29 | |||
| 30 | public function down(Schema $schema) : void |
||
| 34 | } |
||
| 35 | } |
||
| 36 |
This function has been deprecated. The supplier of the function has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the function will be removed and what other function to use instead.