怎么突破附件售价65535的限制
怎么突破附件售价65535的限制求大佬解惑 这是数据表字段长度限制,如果需要突破,则需要修改数据表字段里的属性了 要怎么做- -。因为站点需要。所以要修改一下上限 数据库中找到“pre_forum_attachment_”开头数字结尾的十张表,所有的“price”字段的“smallint(6)”改为“int(11)”应该就可以了。
如果自己不会操作,可以有偿协助操作。QQ:341936031 就这个还要有偿,真服了 ALTER TABLE `pre_common_usergroup_field` CHANGE `maxprice` `maxprice` BIGINT( 10 ) UNSIGNED NOT NULL DEFAULT '0'ALTER TABLE `pre_forum_thread` CHANGE `price` `price` BIGINT( 10 ) UNSIGNED NOT NULL DEFAULT '0';ALTER TABLE `pre_forum_attachment_0` CHANGE `price` `price` BIGINT( 10 ) UNSIGNED NOT NULL DEFAULT '0';ALTER TABLE `pre_forum_attachment_1` CHANGE `price` `price` BIGINT( 10 ) UNSIGNED NOT NULL DEFAULT '0';ALTER TABLE `pre_forum_attachment_2` CHANGE `price` `price` BIGINT( 10 ) UNSIGNED NOT NULL DEFAULT '0';ALTER TABLE `pre_forum_attachment_3` CHANGE `price` `price` BIGINT( 10 ) UNSIGNED NOT NULL DEFAULT '0';ALTER TABLE `pre_forum_attachment_4` CHANGE `price` `price` BIGINT( 10 ) UNSIGNED NOT NULL DEFAULT '0';ALTER TABLE `pre_forum_attachment_5` CHANGE `price` `price` BIGINT( 10 ) UNSIGNED NOT NULL DEFAULT '0';ALTER TABLE `pre_forum_attachment_6` CHANGE `price` `price` BIGINT( 10 ) UNSIGNED NOT NULL DEFAULT '0';ALTER TABLE `pre_forum_attachment_7` CHANGE `price` `price` BIGINT( 10 ) UNSIGNED NOT NULL DEFAULT '0';ALTER TABLE `pre_forum_attachment_8` CHANGE `price` `price` BIGINT( 10 ) UNSIGNED NOT NULL DEFAULT '0';ALTER TABLE `pre_forum_attachment_9` CHANGE `price` `price` BIGINT( 10 ) UNSIGNED NOT NULL DEFAULT '0';
3.4以上的版本 执行这句就行
页:
[1]