make this upgrade conditional on the row not already being there

git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@424 a1433add-5e2c-0410-b055-b7f2511e0802
postfixadmin-2.3
David Goodwin 16 years ago
parent 6b34e374ef
commit e15068af3a

@ -211,17 +211,6 @@ function _drop_index ($table, $index) {
}
}
function upgrade_1() {
# inserting the version number is a good start ;-)
db_insert(
'config',
array(
'name' => 'version',
'value' => '1',
)
);
echo "upgrade_1";
}
function upgrade_1_mysql() {
// CREATE MYSQL DATABASE TABLES.

Loading…
Cancel
Save