Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
notifications-bot
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
archives
notifications-bot
Commits
df9bf161
Commit
df9bf161
authored
Oct 25, 2021
by
Jonah Husson
Browse files
Options
Downloads
Patches
Plain Diff
Fix relationship from users to ephemerals
parent
fc3ed7cc
No related branches found
No related tags found
2 merge requests
!15
Release
,
!14
Fix relationship from users to ephemerals
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
storage/database.go
+1
-1
1 addition, 1 deletion
storage/database.go
with
1 addition
and
1 deletion
storage/database.go
+
1
−
1
View file @
df9bf161
...
@@ -53,7 +53,7 @@ type User struct {
...
@@ -53,7 +53,7 @@ type User struct {
type
Ephemeral
struct
{
type
Ephemeral
struct
{
ID
uint
`gorm:"primaryKey"`
ID
uint
`gorm:"primaryKey"`
Offset
int64
`gorm:"not null; index"`
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"`
EphemeralId
int64
`gorm:"not null; index"`
Epoch
int32
`gorm:"not null; index"`
Epoch
int32
`gorm:"not null; index"`
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment