I think you need to make sure the auth tables is created before the db.country table with this line:
auth.define_tables()
I think you need to make sure the auth tables is created before the db.country table with this line:
auth.define_tables()