AnselUpgradeStyle::down PHP Method

down() public method

Downgrade, though all style information will be lost and reverted to 'ansel_default'.
public down ( )
    public function down()
    {
        $sql = "UPDATE ansel_shares set attribute_style = 'ansel_default'";
        $this->_connection->execute($sql);
        $this->changeColumn('ansel_shares', 'attribute_style', 'string', array('limit' => 255));
        $this->dropTable('ansel_hashes');
    }