Re: [Dbmail] migrating data from 2.2 to 3.0

2012-02-09 Thread Paul J Stevens
The problem lies in changing fields that are involved in key constraints. ALTER TABLE dbmail_acl MODIFY COLUMN user_id BIGINT(20) UNSIGNED DEFAULT 0 NOT NULL; doesn't work because in your system dbmail_users.user_id is defined as a BIGINT(21) the definition on both ends of a foreign key need to

Re: [Dbmail] migrating data from 2.2 to 3.0

2012-02-09 Thread drsystems
Thank you, I am working on it. Dirce > > The problem lies in changing fields that are involved in key constraints. > > > ALTER TABLE dbmail_acl MODIFY COLUMN user_id BIGINT(20) UNSIGNED DEFAULT > 0 NOT NULL; > > doesn't work because in your system dbmail_users.user_id is defined as a > BIGINT(21

Re: [Dbmail] migrating data from 2.2 to 3.0

2012-02-09 Thread drsystems
I think Paul explained that sometimes the size of the integers were different because they were not explicitly specified in the creation of tables in dbmail 2.2, so perhaps different platforms or versions of Linux used different sizes of integers. Thanks, Dirce > the workaround is in the link yo