Adds reports page.
This commit is contained in:
27
src/clj/auto_ap/datomic/migrate/reports.clj
Normal file
27
src/clj/auto_ap/datomic/migrate/reports.clj
Normal file
@@ -0,0 +1,27 @@
|
||||
(ns auto-ap.datomic.migrate.reports)
|
||||
|
||||
(def norms-map {::add-reports
|
||||
{:txes [[{:db/ident :report/client
|
||||
:db/doc "Which client(s) this is for"
|
||||
:db/valueType :db.type/ref
|
||||
:db/cardinality :db.cardinality/many}
|
||||
|
||||
{:db/ident :report/name
|
||||
:db/doc "A description for the report"
|
||||
:db/valueType :db.type/string
|
||||
:db/cardinality :db.cardinality/one}
|
||||
|
||||
{:db/ident :report/key
|
||||
:db/doc "The s3 key for the report"
|
||||
:db/valueType :db.type/string
|
||||
:db/cardinality :db.cardinality/one}
|
||||
|
||||
{:db/ident :report/created
|
||||
:db/doc "When this report was created"
|
||||
:db/valueType :db.type/instant
|
||||
:db/cardinality :db.cardinality/one}
|
||||
|
||||
{:db/ident :report/url
|
||||
:db/doc "Where to download the report"
|
||||
:db/valueType :db.type/string
|
||||
:db/cardinality :db.cardinality/one}]]}})
|
||||
Reference in New Issue
Block a user