feat: custom content types backend
This commit is contained in:
1 parent
ed67b7e70d
commit
58d58f5a04
41 files changed
+4086
-2
No files matched your search
@@ -0,0 +1,13 @@
|
||||
package models
|
||||
|
||||
import "time"
|
||||
|
||||
type Entry struct {
|
||||
ID uint32 `gorm:"primaryKey;autoIncrement"`
|
||||
ContentTypeID uint32 `gorm:"not null;index"`
|
||||
Data string `gorm:"type:text;not null"`
|
||||
CreatedBy uint32 `gorm:"not null"`
|
||||
UpdatedBy uint32 `gorm:"not null"`
|
||||
CreatedAt time.Time `gorm:"autoCreateTime"`
|
||||
UpdatedAt time.Time `gorm:"autoUpdateTime"`
|
||||
}
|
||||
Reference in new issue
Block a user