Fixed production database setup