NOTES (674B)
1 So; if we want something API compatible... 2 3 The thing is an API server with an OpenAPI spec! So use a generator to handle all that boilerplate 4 5 https://github.com/oapi-codegen/oapi-codegen 6 7 OK cool one server interface implemented :) 8 9 10 Decision: 11 - use sqlite and your own db schema, 'inspired' by the original or 12 - use postgres and use the _exact_ same schema as immich; aim for backwards compatibility 13 14 The latter would allow things like partial migration. But it would also require postgres; wheras having a sqlite db (since this is effectively single-user software) is pretty desirable. 15 16 I'll go with 'inspired by' although I'll start with a mechanical translation.