diff options
| author | Christian Krinitsin <mail@krinitsin.com> | 2025-04-21 15:59:52 +0200 |
|---|---|---|
| committer | Christian Krinitsin <mail@krinitsin.com> | 2025-04-21 15:59:52 +0200 |
| commit | a7359cc7d19cb5bd95fd4873fb9765e5caaec63e (patch) | |
| tree | 1a902ebd3b66604dc66d7c3493916603433c444b /models/database.go | |
| parent | 0afc83fd6402ef8e4beb29aa77b89cae78f64b44 (diff) | |
| download | shopping-list-a7359cc7d19cb5bd95fd4873fb9765e5caaec63e.tar.gz shopping-list-a7359cc7d19cb5bd95fd4873fb9765e5caaec63e.zip | |
add all basic requests
Diffstat (limited to 'models/database.go')
| -rw-r--r-- | models/database.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/database.go b/models/database.go index 12d4253..2daaa1e 100644 --- a/models/database.go +++ b/models/database.go @@ -8,7 +8,7 @@ import ( ) type Entry struct { - ID uint + ID uint `gorm:"primaryKey"` Text string Checked bool CreatedAt time.Time |