adds message title, adds sender delete

- message now contains a second string
  which is meant for unencrypted title
  information, which can be displayed
  without e2e encryption.
- senders can now be deleted
- the same sender / token connection is
  no longer added to the database
This commit is contained in:
2022-01-03 13:07:33 +01:00
parent a1cccbf270
commit d2fe15d3ae
9 changed files with 53 additions and 17 deletions

View File

@ -4,6 +4,7 @@ defmodule Bump.Messages.Message do
schema "messages" do
field :sender, :string
field :title, :string, default: ""
field :data, :string, default: ""
field :timestamp, :utc_datetime
timestamps()