add ignore for db
fix edge logic
remove trash in the db folder.