migrations/Version20250425071205.php line 1

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. namespace DoctrineMigrations;
  4. use Doctrine\DBAL\Schema\Schema;
  5. use Doctrine\Migrations\AbstractMigration;
  6. /**
  7.  * Auto-generated Migration: Please modify to your needs!
  8.  */
  9. final class Version20250425071205 extends AbstractMigration
  10. {
  11.     public function getDescription(): string
  12.     {
  13.         return '';
  14.     }
  15.     public function up(Schema $schema): void
  16.     {
  17.         // this up() migration is auto-generated, please modify it to your needs
  18.         $this->addSql('UPDATE product SET publish = 0');
  19.         $this->addSql("INSERT INTO product (`title`, `tagline`, `description`, `slug`, `created_at`, `updated_at`, `created_by`, `updated_by`, `publish`, `position`, `category_id`) VALUES ('Contribution', 'Content Acquisition and enhacement Infrastructure', 'Content Acquisition and enhacement Infrastructure', 'contribution', '2017-11-21 00:00:00', '2017-11-21 00:00:00', 'bd7d231e-ac70-6d4c-e040-007f01001e43', 'bd7d231e-ac70-6d4c-e040-007f01001e43', 1, 30, 64)");
  20.         $this->addSql("INSERT INTO product (`title`, `tagline`, `description`, `slug`, `created_at`, `updated_at`, `created_by`, `updated_by`, `publish`, `position`, `category_id`) VALUES ('Distribution', 'Content Distribution across all channels', 'Content Distribution across all channels', 'distribution', '2017-11-21 00:00:00', '2017-11-21 00:00:00', 'bd7d231e-ac70-6d4c-e040-007f01001e43', 'bd7d231e-ac70-6d4c-e040-007f01001e43', 1, 31, 64)");
  21.         $this->addSql("INSERT INTO product (`title`, `tagline`, `description`, `slug`, `created_at`, `updated_at`, `created_by`, `updated_by`, `publish`, `position`, `category_id`) VALUES ('Major Events', 'High-profile events supported by a team of sports profesionals', 'High-profile events supported by a team of sports profesionals', 'major-events', '2017-11-21 00:00:00', '2017-11-21 00:00:00', 'bd7d231e-ac70-6d4c-e040-007f01001e43', 'bd7d231e-ac70-6d4c-e040-007f01001e43', 1, 32, 64)");
  22.         $this->addSql("INSERT INTO product (`title`, `tagline`, `description`, `slug`, `created_at`, `updated_at`, `created_by`, `updated_by`, `publish`, `position`, `category_id`) VALUES ('Dedicated Services', 'On-site dedicated services', 'On-site dedicated services', 'dedicated-services', '2017-11-21 00:00:00', '2017-11-21 00:00:00', 'bd7d231e-ac70-6d4c-e040-007f01001e43', 'bd7d231e-ac70-6d4c-e040-007f01001e43', 1, 33, 64)");
  23.         $this->addSql("INSERT INTO product (`title`, `tagline`, `description`, `slug`, `created_at`, `updated_at`, `created_by`, `updated_by`, `publish`, `position`, `category_id`) VALUES ('Aggregation Services', 'Aggregation of content and delivery to customers', 'Aggregation of content and delivery to customers', 'aggregation-services', '2017-11-21 00:00:00', '2017-11-21 00:00:00', 'bd7d231e-ac70-6d4c-e040-007f01001e43', 'bd7d231e-ac70-6d4c-e040-007f01001e43', 1, 34, 64)");
  24.         $this->addSql("INSERT INTO product (`title`, `tagline`, `description`, `slug`, `created_at`, `updated_at`, `created_by`, `updated_by`, `publish`, `position`, `category_id`) VALUES ('Permanent Services', 'Connectivity and video services', 'Connectivity and video services', 'permanent-services', '2017-11-21 00:00:00', '2017-11-21 00:00:00', 'bd7d231e-ac70-6d4c-e040-007f01001e43', 'bd7d231e-ac70-6d4c-e040-007f01001e43', 1, 35, 64)");
  25.     }
  26.     public function down(Schema $schema): void
  27.     {
  28.         // this down() migration is auto-generated, please modify it to your needs
  29.     }
  30. }