Active
Project:
Schema
Version:
7.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Jul 2015 at 15:05 UTC
Updated:
16 May 2021 at 10:31 UTC
Jump to comment: Most recent
After switching from MySQL to PostgreSQL I have a lot of table with the same mismatch. For example for the Comment module :
column status - difference on: size
declared: array('description' => 'TODO: please describe this field!', 'type' => 'int', 'unsigned' => TRUE, 'size' => 'small', 'not null' => TRUE, 'default' => 1)
actual: array('description' => 'TODO: please describe this field!', 'type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'default' => 1)
I have the same difference on size on something like 100+ columns in a lot of different tables. Any idea about how I can fix it ?
Thank you in advance
Comments
Comment #1
bzrudi71 commentedGuess we need a bit more background information here. How did you switch/migrate from MySQL exactly? Which tools in use?
Comment #3
roderikThis seems like a Schema thing.
At first sight, this looks like the database is not wrong - but the report is wrong for flagging those differences. I'm not sure though; people in the Schema queue can comment on this.
(I suspect "switching from MySQL to PostgreSQL" in the original bug report just means "reinstalling a fresh Drupal on PostgreSQL".)