This commit is contained in:
2022-03-14 11:49:58 +01:00
parent 96e38a8a6d
commit 4ea72f7d9d
2 changed files with 34 additions and 27 deletions

View File

@@ -1,5 +1,12 @@
<?php
/**
* Chill is a software for social workers
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Chill\Migrations\ThirdParty;
@@ -12,6 +19,12 @@ use Doctrine\Migrations\AbstractMigration;
*/
final class Version20220311133150 extends AbstractMigration
{
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE chill_3party.third_party DROP firstname');
}
public function getDescription(): string
{
return 'Adding firstname to thirdparty';
@@ -22,10 +35,4 @@ final class Version20220311133150 extends AbstractMigration
// this up() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE chill_3party.third_party ADD firstname VARCHAR(255) DEFAULT \'\' NOT NULL');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE chill_3party.third_party DROP firstname');
}
}