12345678910111213141516171819202122232425262728293031 |
- <?php
- namespace Application\Migrations\Schema\V111;
- use Application\Migrations\AbstractMigrationChamilo;
- use Doctrine\DBAL\Schema\Schema;
- class Version20160418113000 extends AbstractMigrationChamilo
- {
-
- public function up(Schema $schema)
- {
- $this->addSql('ALTER TABLE user ADD address VARCHAR(250) DEFAULT NULL;');
- }
-
- public function down(Schema $schema)
- {
- $this->addSql('ALTER TABLE user DROP COLUMN address');
- }
- }
|