7.3-update.sql 1016 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. SET NAMES utf8;
  2. SET time_zone = '+00:00';
  3. SET foreign_key_checks = 0;
  4. SET sql_mode = 'NO_AUTO_VALUE_ON_ZERO';
  5. ALTER TABLE `{%TABLE_PREFIX%}categories`
  6. ADD `html_header` TEXT NOT NULL;
  7. INSERT INTO `{%TABLE_PREFIX%}settings`
  8. (`name`, `value`) VALUES
  9. ('enable_custom_start_time', '1'),
  10. ('enable_custom_end_time', '1');
  11. INSERT INTO `{%TABLE_PREFIX%}settings`
  12. (`name`, `value`) VALUES
  13. ('search_subtitle', '1'),
  14. ('search_description', '0'),
  15. ('search_category_name', '0');
  16. ALTER TABLE `{%TABLE_PREFIX%}fees`
  17. ADD `type` VARCHAR(50) NOT NULL DEFAULT 'default'
  18. AFTER `name`,
  19. CHANGE `type` `calculation_type` ENUM('flat', 'percent') NOT NULL
  20. AFTER `amount`;
  21. UPDATE `{%TABLE_PREFIX%}fees` SET `type` = 'default' WHERE `type` = '';
  22. INSERT INTO `{%TABLE_PREFIX%}settings`
  23. (`name`, `value`) VALUES
  24. ('recaptcha_email_friend', '0');
  25. INSERT INTO `{%TABLE_PREFIX%}settings`
  26. (`name`, `value`) VALUES
  27. ('enable_reputation', '1');
  28. INSERT INTO `{%TABLE_PREFIX%}settings`
  29. (`name`, `value`) VALUES
  30. ('bcc_emails', '0');