·设为首页收藏本站📧邮箱修改🎁免费下载专区💎积分✅卡密📒收藏夹👽聊天室
返回列表 发布新帖

[已处理] Discuz!X3.5修复 tinyint的相关修改在x3.5上导致部分数值无法正常存储需要升级的字段

222 0
发表于 2021-12-10 13:17:50 | 查看全部 阅读模式

马上注册,免费下载更多dz插件网资源。

您需要 登录 才可以下载或查看,没有账号?立即注册

×
Discuz!X3.5修复 tinyint的相关修改在x3.5上导致部分数值无法正常存储需要升级的数据库语句:

  1. ALTER TABLE `pre_common_card` CHANGE `status` `status` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0';

  2. ALTER TABLE `pre_common_district` CHANGE `usetype` `usetype` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0';

  3. ALTER TABLE `pre_common_failedip` CHANGE `count` `count` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0';

  4. ALTER TABLE `pre_common_failedlogin` CHANGE `count` `count` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0';

  5. ALTER TABLE `pre_common_magiclog` CHANGE `credit` `credit` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0';

  6. ALTER TABLE `pre_common_member_field_forum` CHANGE `customshow` `customshow` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0';

  7. ALTER TABLE `pre_common_plugin` CHANGE `adminid` `adminid` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0';

  8. ALTER TABLE `pre_common_secquestion` CHANGE `type` `type` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0';

  9. ALTER TABLE `pre_common_session` CHANGE `action` `action` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0';

  10. ALTER TABLE `pre_common_usergroup_field` CHANGE `allowmagics` `allowmagics` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0';
  11. ALTER TABLE `pre_common_usergroup_field` CHANGE `tradestick` `tradestick` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0';
  12. ALTER TABLE `pre_common_usergroup_field` CHANGE `exempt` `exempt` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0';
  13. ALTER TABLE `pre_common_usergroup_field` CHANGE `allowrecommend` `allowrecommend` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0';
  14. ALTER TABLE `pre_common_usergroup_field` CHANGE `allowbuildgroup` `allowbuildgroup` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0';
  15. ALTER TABLE `pre_common_usergroup_field` CHANGE `allowgroupdirectpost` `allowgroupdirectpost` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0';
  16. ALTER TABLE `pre_common_usergroup_field` CHANGE `allowgroupposturl` `allowgroupposturl` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0';
  17. ALTER TABLE `pre_common_usergroup_field` CHANGE `allowfollowcollection` `allowfollowcollection` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0';
  18. ALTER TABLE `pre_common_usergroup_field` CHANGE `forcelogin` `forcelogin` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0';

  19. ALTER TABLE `pre_common_payment_transfer` CHANGE `status` `status` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0';

  20. ALTER TABLE `pre_forum_attachment` CHANGE `tableid` `tableid` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0';

  21. ALTER TABLE `pre_forum_bbcode` CHANGE `params` `params` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0';

  22. ALTER TABLE `pre_forum_medal` CHANGE `credit` `credit` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0';

  23. ALTER TABLE `pre_forum_ratelog` CHANGE `extcredits` `extcredits` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0';

  24. ALTER TABLE `pre_forum_trade` CHANGE `quality` `quality` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0';

  25. ALTER TABLE `pre_forum_tradelog` CHANGE `paytype` `paytype` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0';

  26. ALTER TABLE `pre_forum_tradelog` CHANGE `quality` `quality` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0';

  27. ALTER TABLE `pre_home_doing` CHANGE `status` `status` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0';

  28. ALTER TABLE `pre_home_pic` CHANGE `status` `status` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0';
复制代码


UC数据库部分:【以下是独立的数据库前缀,如果是论坛一体的,请在前面加pre_,例如:pre_uc_】
  1. ALTER TABLE `uc_failedlogins` CHANGE `count` `count` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0';

  2. ALTER TABLE `uc_protectedmembers` CHANGE `appid` `appid` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0';

  3. ALTER TABLE `uc_pm_lists` CHANGE `pmtype` `pmtype` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0';

  4. ALTER TABLE `uc_pm_messages_0` CHANGE `delstatus` `delstatus` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0';
  5. ALTER TABLE `uc_pm_messages_1` CHANGE `delstatus` `delstatus` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0';
  6. ALTER TABLE `uc_pm_messages_2` CHANGE `delstatus` `delstatus` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0';
  7. ALTER TABLE `uc_pm_messages_3` CHANGE `delstatus` `delstatus` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0';
  8. ALTER TABLE `uc_pm_messages_4` CHANGE `delstatus` `delstatus` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0';
  9. ALTER TABLE `uc_pm_messages_5` CHANGE `delstatus` `delstatus` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0';
  10. ALTER TABLE `uc_pm_messages_6` CHANGE `delstatus` `delstatus` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0';
  11. ALTER TABLE `uc_pm_messages_7` CHANGE `delstatus` `delstatus` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0';
  12. ALTER TABLE `uc_pm_messages_8` CHANGE `delstatus` `delstatus` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0';
  13. ALTER TABLE `uc_pm_messages_9` CHANGE `delstatus` `delstatus` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0';
复制代码



我要说一句 收起回复
一花一世界,一叶一追寻。一曲一场叹,一生为一人。

回复

 懒得打字嘛,点击右侧快捷回复【查看最新发布】   【应用商城享更多资源】
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

创宇盾启航版免费网站防御网站加速服务
投诉/建议联系

discuzaddons@vip.qq.com

未经授权禁止转载,复制和建立镜像,
如有违反,按照公告处理!!!
  • 联系QQ客服
  • 添加微信客服

联系DZ插件网微信客服|最近更新|Archiver|手机版|小黑屋|DZ插件网! ( 鄂ICP备20010621号-1 )|网站地图 知道创宇云防御

您的IP:3.138.69.145,GMT+8, 2024-12-22 02:29 , Processed in 0.217920 second(s), 79 queries , Gzip On, Redis On.

Powered by Discuz! X5.0 Licensed

© 2001-2024 Discuz! Team.

关灯 在本版发帖
扫一扫添加微信客服
QQ客服返回顶部
快速回复 返回顶部 返回列表