[{:db/valueType :db.type/double,
  :db/cardinality :db.cardinality/one,
  :db/noHistory true
  :db/doc "The cached running balance for the account this line item is for",
  :db/ident :journal-entry-line/running-balance,
  }
 {:db/valueType   :db.type/boolean,
  :db/cardinality :db.cardinality/one,
  :db/noHistory   true
  :db/doc         "Whether or not this journal entry line  is dirty and needs to recalculate balances",
  :db/ident       :journal-entry-line/dirty,
  }
 {:db/valueType :db.type/tuple
  :db/tupleTypes [:db.type/ref  :db.type/ref :db.type/string :db.type/instant]
  :db/cardinality :db.cardinality/one,
  :db/ident :journal-entry-line/client+account+location+date
  :db/doc         "Used to find accounts and locations quickly",
  :db/noHistory   true
  }
 ]
