7.5-update.sql 767 B

12345678910111213141516171819202122232425262728293031
  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. INSERT INTO `{%TABLE_PREFIX%}settings`
  6. (`name`, `value`) VALUES
  7. ('crop_images', '');
  8. ALTER TABLE `{%TABLE_PREFIX%}custom_fields`
  9. ADD `product_attribute` TINYINT(4) NOT NULL;
  10. ALTER TABLE `{%TABLE_PREFIX%}sales_listings`
  11. ADD `product_attributes` TEXT
  12. COLLATE 'utf8_general_ci' NULL
  13. AFTER `quantity`;
  14. ALTER TABLE `{%TABLE_PREFIX%}offers`
  15. ADD `product_attributes` TEXT
  16. COLLATE 'utf8_general_ci' NULL
  17. AFTER `amount`;
  18. ALTER TABLE `{%TABLE_PREFIX%}listings`
  19. ADD `stock_levels` TEXT
  20. COLLATE 'utf8_general_ci' NULL
  21. AFTER `quantity`;
  22. ALTER TABLE `{%TABLE_PREFIX%}users`
  23. ADD `sale_invoices_content` TEXT
  24. COLLATE 'utf8_general_ci' NOT NULL
  25. AFTER `bank_details`;