From df9bf161c9b1c85c73c7ea66d449e5ded40d1634 Mon Sep 17 00:00:00 2001
From: jbhusson <jonah@elixxir.io>
Date: Mon, 25 Oct 2021 14:00:31 -0400
Subject: [PATCH] Fix relationship from users to ephemerals

---
 storage/database.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/storage/database.go b/storage/database.go
index a120299..04785da 100644
--- a/storage/database.go
+++ b/storage/database.go
@@ -53,7 +53,7 @@ type User struct {
 type Ephemeral struct {
 	ID                  uint   `gorm:"primaryKey"`
 	Offset              int64  `gorm:"not null; index"`
-	TransmissionRSAHash []byte `gorm:"not null; unique; references users(transmission_rsa_hash)"`
+	TransmissionRSAHash []byte `gorm:"not null; references users(transmission_rsa_hash)"`
 	EphemeralId         int64  `gorm:"not null; index"`
 	Epoch               int32  `gorm:"not null; index"`
 }
-- 
GitLab