Skip to content

Commit

Permalink
Fixed migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
jeppekroghitk committed Jan 2, 2025
1 parent fc61183 commit 21a3c0c
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 41 deletions.
41 changes: 0 additions & 41 deletions migrations/Version20241218105400.php

This file was deleted.

31 changes: 31 additions & 0 deletions migrations/Version20250102120303.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<?php

declare(strict_types=1);

namespace DoctrineMigrations;

use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;

/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20250102120303 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}

public function up(Schema $schema): void
{
// this up() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE worker ADD include_in_reports TINYINT(1) DEFAULT 1 NOT NULL');
}

public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE worker DROP include_in_reports');
}
}

0 comments on commit 21a3c0c

Please sign in to comment.