diff --git a/models/Note.go b/models/Note.go index adcde5a..0556d9a 100644 --- a/models/Note.go +++ b/models/Note.go @@ -9,7 +9,7 @@ type Note struct { Id int64 UserId int64 Title string - NoteHtml string `type(text)"` + NoteHtml string `orm:"type(text)"` Pid int64 Utime time.Time `orm:"auto_now_add;type(datetime)"` }