Soft delete with Ecto 3 and Postgres
One thing that folks sometimes want or need to do is to be able to "soft delete" records in a database. This means that instead of actually removing the record from a database, you in some way keep it there but make it "invisible" to your application. ยป