ignore repo history
implement db functions