diff --git a/migrations/Version20260504155350.php b/migrations/Version20260504155350.php new file mode 100644 index 0000000..f530d7c --- /dev/null +++ b/migrations/Version20260504155350.php @@ -0,0 +1,31 @@ +addSql('ALTER TABLE sale CHANGE turnover turnover DOUBLE PRECISION NOT NULL, CHANGE profit profit DOUBLE PRECISION DEFAULT NULL'); + } + + public function down(Schema $schema): void + { + // this down() migration is auto-generated, please modify it to your needs + $this->addSql('ALTER TABLE sale CHANGE turnover turnover INT NOT NULL, CHANGE profit profit INT DEFAULT NULL'); + } +}