Fixed: db relations