A workaround is to leave the unique=true requirement off when you create the table, and run an ALTER TABLE query to create the required index, before re-adding unique=true to the model. sad trombone -- Og B. Maciel omaciel foresightlinux org ogmaciel gnome org ogmaciel ubuntu com GPG Keys: D5CFC202 http://www.ogmaciel.com (en_US) http://blog.ogmaciel.com (pt_BR)