Daniel Whyte
Daniel Whyte
While trying to deploy a new version of a Elixir/Phoenix and Elm app to heroku, I kept getting this error and failing to deploy: ``` remote: > [email protected] install /tmp/build_aed45373ab53117201137c6bfc2c1e04/assets/node_modules/elm...
Although we are never deleting any records from our append only database, we still need a way to mark data as 'deleted', so it isn't shown to to users. One...
An issue that arose when implementing this into a project was 'how do we deal with associated schemas in an append only way?'. The main problem was that associating two...
Requesting a large dataset at the moment causes an elasticsearch error. We can set up an endpoint that uses the scroll api, like we are here: https://github.com/TheScienceMuseum/collectionsonline/tree/reindex to allow people...
Our [guide for creating an Append Only Log](https://github.com/dwyl/phoenix-ecto-append-only-log-example/) is good for explaining the concepts, but as an example is a bit abstract. We should create a few (fairly) simple apps...
ref #38 Begins conversion of Alog to Ecto Adapter. ### Not ready for merge. @RobStallion @SimonLab Feel free to work from/add to this branch, and add any details to any...
Part of #38 https://hexdocs.pm/ecto_sql/Ecto.Adapters.SQL.Connection.html#c:all/1 We need to implement this callback so that it returns the latest version of all rows that match the query parameter. @RobStallion has already done some...
Part of #38 https://hexdocs.pm/ecto_sql/Ecto.Adapters.SQL.Connection.html#c:insert/6 For this function, we need to generate a [cid](https://github.com/dwyl/cid) based on the given data, as well as create an ["entry id"](https://github.com/dwyl/phoenix-ecto-append-only-log-example/issues/23) for ease of lookup.
part of #38 https://hexdocs.pm/ecto_sql/Ecto.Adapters.SQL.Connection.html#c:update/5 Our update implementation needs to work in much the same way as our [insert](#45), but it also needs to compare the newly generated cid to the...
Part of #38 https://hexdocs.pm/ecto_sql/Ecto.Adapters.SQL.Connection.html#c:execute_ddl/1 This is the function we use to run migrations. The existing implementation of this has multiple function clauses, so it's likely that we can use some...