dropAccountType example

$this->connection->executeStatement('DELETE FROM `customer`');
    }

    public function testTimestampIsCorrect(): void
    {
        $migration = new Migration1676272000AddAccountTypeToCustomer();
        static::assertEquals('1676272000', $migration->getCreationTimestamp());
    }

    public function testAddAccountType(): void
    {
        $this->dropAccountType();

        $migration = new Migration1676272000AddAccountTypeToCustomer();
        $migration->update($this->connection);

        static::assertTrue(EntityDefinitionQueryHelper::columnExists($this->connection, 'customer', 'account_type'));
    }

    public function testAddAccountTypeMultiple(): void
    {
        $this->dropAccountType();

        
Home | Imprint | This part of the site doesn't use cookies.