Add movie schema to fixtures.

This commit is contained in:
Richard Newman 2017-05-30 11:12:16 -07:00
parent 7e42aafcc0
commit b6152cfd4b

38
fixtures/movie.edn Normal file
View file

@ -0,0 +1,38 @@
[
{:db/ident :movie/title
:db/valueType :db.type/string
:db/cardinality :db.cardinality/one}
{:db/ident :movie/year
:db/valueType :db.type/long
:db/cardinality :db.cardinality/one}
{:db/ident :movie/director
:db/valueType :db.type/ref
:db/cardinality :db.cardinality/many}
{:db/ident :movie/sequel
:db/valueType :db.type/ref
:db/cardinality :db.cardinality/one}
{:db/ident :movie/cast
:db/valueType :db.type/ref
:db/cardinality :db.cardinality/many}
{:db/ident :person/name
:db/valueType :db.type/string
:db/unique :db.unique/identity
:db/cardinality :db.cardinality/one}
{:db/ident :person/born
:db/valueType :db.type/instant
:db/cardinality :db.cardinality/one}
{:db/ident :person/death
:db/valueType :db.type/instant
:db/cardinality :db.cardinality/one}
{:db/ident :movie/trivia
:db/valueType :db.type/string
:db/cardinality :db.cardinality/many}
]