v32.sql 769 B

123456789101112131415
  1. ALTER TABLE `pages` CHANGE `content` `content` LONGTEXT CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL;
  2. INSERT INTO `business_settings` (`id`, `type`, `value`, `created_at`, `updated_at`) VALUES (NULL, 'google_recaptcha', '0', CURRENT_TIMESTAMP, CURRENT_TIMESTAMP);
  3. ALTER TABLE `users` ADD `new_email_verificiation_code` TEXT NULL DEFAULT NULL AFTER `email_verified_at`;
  4. ALTER TABLE `products` ADD `min_qty` INT NOT NULL DEFAULT '1' AFTER `unit`;
  5. UPDATE `business_settings` SET `value` = '3.2' WHERE `business_settings`.`type` = 'current_version';
  6. ALTER TABLE `users` ADD COLUMN `verification_code` TEXT NULL DEFAULT NULL AFTER `email_verified_at`;
  7. ALTER TABLE `users` CHANGE `verification_code` `verification_code` TEXT NULL DEFAULT NULL;
  8. COMMIT;