Commit Graph

4 Commits

Author SHA1 Message Date
5e24738bba Turn all models into GraphQL(Input)Objects 2019-07-09 12:23:58 +02:00
f8bff689e6 Add relation resolving methods to all models 2019-07-09 12:23:31 +02:00
1559936d4b Add new (insertable) models and associations to models
Also make models updateable (by deriving `AsChangeset`), debuggable
(by deriving `Debug`) and identifiable (by deriving `Identifiable`).

Note that the `CompanyInfo` is not updateable as a new revision
should be created.  Leaving this derive out ensure we cannot
accidentally update it.
2019-06-10 10:24:53 +02:00
4a8b3a48e1 Add first version of the diesel schema and models 2019-06-10 10:24:50 +02:00