Added schema compare and re-synced database