diff --git a/uffd/role/models.py b/uffd/role/models.py
index 533d3677f36f885189c7730a84cdfee4e6ecdcb1..5371d65e4bb594edbacf65ffc44281bacccdd3a9 100644
--- a/uffd/role/models.py
+++ b/uffd/role/models.py
@@ -18,10 +18,10 @@ class LdapMapping:
 		return Column(ForeignKey('role.id'))
 
 class RoleGroup(LdapMapping, db.Model):
-	pass
+	__tablename__ = 'role-group'
 
 class RoleUser(LdapMapping, db.Model):
-	pass
+	__tablename__ = 'role-user'
 
 def update_user_groups(user):
 	user.groups.clear()