src/Rbac/Migrations/m140506_102106_rbac_init.php
public function safeDown(ConnectionInterface $connection)
    {
        $authManager = $this->getAuthManager();
        $this->db = $authManager->db;

        $promises = [];
        if ($this->isMSSQL()) {
            $promises[] = $this->execute('DROP TRIGGER dbo.trigger_auth_item_child;');
        }

        $promises[] = $this->dropTable($authManager->assignmentTable);
        $promises[] = $this->dropTable($authManager->itemChildTable);
        $promises[] = $this->dropTable($authManager->itemTable);
        $promises[] = $this->dropTable($authManager->ruleTable);
        return allInOrder($promises);
    }
public function safeDown(ConnectionInterface $connection)
    {
        $authManager = $this->getAuthManager();
        $this->db = $authManager->db;

        $promises = [];
        if ($this->isMSSQL()) {
            $promises[] = $this->execute('DROP TRIGGER dbo.trigger_auth_item_child;');
        }

        $promises[] = $this->dropTable($authManager->assignmentTable);
        $promises[] = $this->dropTable($authManager->itemChildTable);
        $promises[] = $this->dropTable($authManager->itemTable);
        $promises[] = $this->dropTable($authManager->ruleTable);
        return allInOrder($promises);
    }
{@inheritdoc}