After installing the new release 6.x-1.x-dev, running update.php didn't change the db scheme from previous version. Adding/listing/editing previously existing embed_widget throws error:
user warning: Unknown column 'sources' in 'field list' query: INSERT INTO txtdomain_embed_widgets (title, description, sources, footer, standalone) VALUES ('test', 'test', 'a:1:{i:0;a:3:{s:4:\"type\";s:4:\"page\";s:4:\"path\";s:6:\"node/1\";s:5:\"title\";s:10:\"Test Page \";}}', 'test', '0') in H:\xampp\htdocs\drupal62\sites\all\modules\embed_widgets\embed_widgets.module on line 188.
Inspection of code suggest missing update hook for drupal_load_updates.
See following for reference:
http://api.drupal.org/api/function/drupal_load_updates/6/references
http://blamcast.net/articles/update-module-install-database-schema
Comments
Comment #1
jtsnow commentedI added the following code to the install file. It should provide an updated schema.
Comment #2
rpfilomeno commentedWorked like a charm.
Comment #3
nedjoGreat.
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.