From 6184a1f300c9f06168658977ab48cf7cdd70a673 Mon Sep 17 00:00:00 2001 From: Daniel Date: Tue, 5 May 2026 09:45:17 +0200 Subject: [PATCH] migration --- migrations/Version20260504155350.php | 31 ++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 migrations/Version20260504155350.php 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'); + } +}