about summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/model.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/model.go b/lib/model.go
index be86378..c8538fa 100644
--- a/lib/model.go
+++ b/lib/model.go
@@ -3,7 +3,7 @@ package lib
 import "time"
 
 type File struct {
-	Id            int       `db:"id"`
+	Id            string    `db:"id"`
 	User_id       string    `db:"user_id"`
 	Absolute_path string    `db:"absolute_path"`
 	Contents      string    `db:"contents"`