Added defaults and keys to the database script.