Closed (fixed)
Project:
Content moderation
Version:
6.x-1.3
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Apr 2010 at 19:33 UTC
Updated:
1 May 2010 at 12:58 UTC
After update.php:
user warning: Table 'myprefix_drupal.content_moderation_states' doesn't exist query: ALTER TABLE `content_moderation_states` ADD `weight` SMALLINT NOT NULL DEFAULT '0' in /disk1/www/vhosts/myprefix.com/httpdocs/sites/all/modules/content_moderation/content_moderation.install on line 101.
The following queries were executed
content_moderation module
Update #6003
No queries
Comments
Comment #1
eugenmayer commentedWas it the first installation for you? MYSQL or postgresql?
Comment #2
eugenmayer commentedComment #3
TyraelTLK commentedI was updating my 1.2 installation (that was an update of a previus version). Mysql.
Comment #4
eugenmayer commentedDo you use prefixes?
Comment #5
eugenmayer commentedWell yes, my bad:
content_moderation.install
Please change the method
to
And run the update.php script once again.
This is not urgent as weights are not yet used, they will be part of the next release. So you can also wait for 1.4 without problems
Comment #6
TyraelTLK commentedOK thanks!
Comment #7
TyraelTLK commentedops :)
Comment #8
broonActually we should use drupals update functionality in order to display performed database actions.
I'll put that on my todo list for code cleanup.
Comment #9
eugenmayer commentedPaul use 6004 due to this error
Comment #10
broonOf course, this was just an example. When cleaning up the code I will increment the numbers.
Comment #11
eugenmayer commentedreleased in in 1.4