Commit Graph

5 Commits

Author SHA1 Message Date
Tom Russell
b6ef15949e Rewrite building to log changes, use database columns
- Typically returning all columns from 'buildings', possibly using other
  tables to join and filter.
- Using database types and constraints - let the db do validation and
  consistency checking!
- Using transaction around updating a building record, adding log entry
- Using JSON patch to record forward and reverse patches (hope this will
  give small data size compared to all-columns or before-and-after
  strategy)
2018-09-30 16:25:53 +01:00
Tom Russell
3e4beb5423 Query buildings by location or reference 2018-09-29 19:09:48 +01:00
Tom Russell
9fb4fa052a Handle building not found 2018-09-13 21:12:01 +01:00
Tom Russell
a2e995839e Handle POST/GET building 2018-09-11 23:30:17 +01:00
Tom Russell
a005643746 Merge frontend/api into universal react app 2018-09-09 22:22:44 +01:00