Skip to content
Snippets Groups Projects
Commit ee0c2a80 authored by Josh Brooks's avatar Josh Brooks
Browse files

Add gorm spec for RegistrationTimestamp

parent 1f6597dc
No related branches found
No related tags found
1 merge request!5Release
......@@ -50,7 +50,7 @@ type User struct {
Token string `gorm:"not null"`
Ephemerals []Ephemeral `gorm:"foreignKey:transmission_rsa_hash;references:transmission_rsa_hash;constraint:OnDelete:CASCADE;"`
// Time in which user has registered with the network (ie permissioning)
RegistrationTimestamp time.Time
RegistrationTimestamp time.Time `gorm:"not null"`
}
type Ephemeral struct {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment