Skip to content

Commit f391ae9

Browse files
author
Anand
committed
ref issue #28 - added active field
1 parent 668258f commit f391ae9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

db.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ type Entry struct {
3434
Email string `gorm:"email"` // Email - for ID card types
3535
PhoneNumber string `gorm:"phone_number"` // Phone number - for ID card types
3636

37+
Active bool `gorm:"active;default:true"` // Is the id card/CC active ?
3738
User string `gorm:"column:user"`
3839
Url string `gorm:"column:url"`
3940
Password string `gorm:"column:password"`

0 commit comments

Comments
 (0)