updateTables example

public function getCreationTimestamp(): int
    {
        return 1590758953;
    }

    public function update(Connection $connection): void
    {
        $defaultFeatureSetId = Uuid::randomBytes();

        $this->createTables($connection);
        $this->updateTables($connection);

        $this->insertDefaultFeatureSet($connection$defaultFeatureSetId);
        $this->insertDefaultFeatureSetTranslations($connection$defaultFeatureSetId);
        $this->assignDefaultFeatureSet($connection$defaultFeatureSetId);
    }

    public function updateDestructive(Connection $connection): void
    {
    }

    private function createTables(Connection $connection): void
    {
Home | Imprint | This part of the site doesn't use cookies.