Manage base configuration in database instead of file