update_020101.php 383 B

123456789101112131415
  1. <?php
  2. ###
  3. # @name Update to version 2.1.1
  4. # @author Tobias Reich
  5. # @copyright 2014 by Tobias Reich
  6. ###
  7. $result = $database->query("ALTER TABLE `lychee_settings` CHANGE `value` `value` VARCHAR( 200 ) NULL DEFAULT ''");
  8. if (!$result) return false;
  9. $result = $database->query("UPDATE lychee_settings SET value = '020101' WHERE `key` = 'version';");
  10. if (!$result) return false;
  11. ?>