[#issue-27] tenant_id should be of type integer, and not string

(got used to rails add_reference, can't help it)