codigo actual del servidor, con avances de joan

This commit is contained in:
Jose Sanchez
2023-08-07 15:52:04 -04:00
commit 3cd9b8bbe8
3070 changed files with 532255 additions and 0 deletions

15
sqlupdates/v32.sql Normal file
View File

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