حل خطأ MySQL Error : Unknown column 'infractiongroupid' in 'field list'

Abdul Rahim

[ أعضاء فى القلب ]
30 مايو 2011
3,386
23
0
بسم الله الرحمن الرحيم

الخطأ:
كود:
MySQL Error : Unknown column 'infractiongroupid' in 'field list'

الحل:
كود:
ALTER TABLE `infractiongroup` ADD `infractiongroupid` int(10) unsigned NOT NULL auto_increment;
أو
كود:
ALTER TABLE user ADD `infractiongroupid` smallint(5) unsigned NOT NULL default '0' ;