Comment 1 for bug 393858

Revision history for this message
Freerk Kalsbeek (Mindswitch BV) (f-kalsbeek) wrote :

When creating a new database, I see the same logs:

[2009-06-30 15:31:02,457] DEBUG:orm:creating new column translate of table ir_model_fields
[2009-06-30 15:31:02,720] DEBUG:sql:bad query: alter table "ir_model_data" add constraint "ir_model_data_module_name_uniq" unique(name, module)
[2009-06-30 15:31:02,720] DEBUG:sql:[01]: index "ir_model_data_module_name_uniq" kon niet worden aangemaakt
[2009-06-30 15:31:02,721] DEBUG:sql:[02]: DETAIL: De tabel bevat gedupliceerde waarden.
[2009-06-30 15:31:02,721] WARNING:orm:[01]: unable to add 'unique(name, module)' constraint on table ir_model_data !
[2009-06-30 15:31:02,721] WARNING:orm:[02]: If you want to have it, you should update the records and execute manually:
[2009-06-30 15:31:02,721] WARNING:orm:[03]: ALTER table ir_model_data ADD CONSTRAINT ir_model_data_module_name_uniq unique(name, module)