Add automatic database creation on create entity