Database should now set automatically