Implementation of default db