mirror of
https://github.com/phishingclub/phishingclub.git
synced 2026-10-11 01:28:57 +02:00
Initial open source release
This commit is contained in:
commit
11cf01f08e
488 files changed
+97180
No files matched your search
@@ -0,0 +1,18 @@
|
||||
package database
|
||||
|
||||
import (
|
||||
"github.com/google/uuid"
|
||||
)
|
||||
|
||||
const (
|
||||
IDENTIFIER_TABLE = "identifiers"
|
||||
)
|
||||
|
||||
type Identifier struct {
|
||||
ID *uuid.UUID `gorm:"primary_key;not null;unique;type:uuid"`
|
||||
Name string `gorm:"not null;uniqueIndex"`
|
||||
}
|
||||
|
||||
func (Identifier) TableName() string {
|
||||
return IDENTIFIER_TABLE
|
||||
}
|
||||
Reference in new issue
Block a user