Skip to content
Snippets Groups Projects
Commit 15a6c40c authored by Laurent's avatar Laurent
Browse files

fix patch from master -> stable migration

parent 23465c76
Branches
Tags
3 merge requests!999Master,!992Master,!991Master
<?php
$adapter = Zend_Db_Table_Abstract::getDefaultAdapter();
$adapter->query("ALTER TABLE album ADD status tinyint(1) unsigned DEFAULT NULL");
\ No newline at end of file
try {
$adapter->query("select status from album");
} catch (Exception $e) {
$adapter->query("ALTER TABLE album ADD status tinyint(1) unsigned DEFAULT NULL");
}
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment