Skip to content
Snippets Groups Projects

Fix relationship from users to ephemerals

1 open thread
5 files
+ 10
10
Compare changes
  • Side-by-side
  • Inline

Files

+ 1
1
@@ -17,7 +17,7 @@ type database interface {
@@ -17,7 +17,7 @@ type database interface {
GetAllUsers() ([]*User, error)
GetAllUsers() ([]*User, error)
DeleteUserByHash(transmissionRsaHash []byte) error
DeleteUserByHash(transmissionRsaHash []byte) error
upsertEphemeral(ephemeral *Ephemeral) error
insertEphemeral(ephemeral *Ephemeral) error
GetEphemeral(ephemeralId int64) ([]*Ephemeral, error)
GetEphemeral(ephemeralId int64) ([]*Ephemeral, error)
GetLatestEphemeral() (*Ephemeral, error)
GetLatestEphemeral() (*Ephemeral, error)
DeleteOldEphemerals(currentEpoch int32) error
DeleteOldEphemerals(currentEpoch int32) error
Loading