Closed (fixed)
Project:
Metatag
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Nov 2011 at 04:30 UTC
Updated:
2 Dec 2011 at 01:00 UTC
"metatag_config.cid is part of the primary key but is not specified to be 'not null'."
How I can fix my database for the error above?
Could you provide some sql command to fix it?
Comments
Comment #1
dave reidThanks. This is now fixed in 7.x-1.x-dev with http://drupalcode.org/project/metatag.git/commit/4674b5c
Comment #2
dropbydrop commentedI did like that
drush dl metatag --select
I chose dev version
then
drush @sites updb
(no updates)
drush @sites cc all
I still have the same error at schema warning.
column cid - difference on: not null
declared: array('description' => 'TODO: please describe this field!', 'type' => 'serial', 'unsigned' => TRUE, 'not null' => FALSE)
actual: array('description' => 'TODO: please describe this field!', 'type' => 'serial', 'unsigned' => TRUE, 'not null' => TRUE)
metatag_config.cid is part of the primary key but is not specified to be 'not null'.
Maybe the fix commit is not included in the 17-nov dev version?
Comment #3
dropbydrop commentedFIXED.
drupal.org now gave me the correct dev version.
How much time it takes from commit, for drupal.org to give the correct dev version at the same date?
Comment #4
dave reid-dev builds are regenerated every 12 hours. You'll only get the most recent changes if you have the code checked out using Git. Otherwise always wait 12 hours to test.
Comment #5
dropbydrop commented