Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
15 | public function up(Schema $schema): void |
||
16 | { |
||
17 | // this up() migration is auto-generated, please modify it to your needs |
||
18 | $this->abortIf($this->connection->getDatabasePlatform()->getName() !== 'postgresql', 'Migration can only be executed safely on \'postgresql\'.'); |
||
19 | |||
20 | $this->addSql('ALTER TABLE users_profiles ADD country_code VARCHAR(3) DEFAULT NULL'); |
||
21 | } |
||
22 | |||
32 |