Fix foreign key unit test for unsigned ints

Commit 8393a98b590529 forced "Automatic mysql ID to be unsigned as default" which made this unit test to fail, because it tries to create a foreign key from signed ref_table_id to unsigned id.