add(crm): added field json to crm_content table
This commit is contained in:
committed by
Denis Arh
parent
cebc4f1569
commit
687cd0b2e0
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
ALTER TABLE `crm_content` ADD `json` json DEFAULT NULL COMMENT 'Content in JSON format.' AFTER `user_id`;
|
||||
@@ -19,7 +19,7 @@ type (
|
||||
|
||||
Page *Page `json:"page,omitempty"`
|
||||
|
||||
Fields types.JSONText `json:"fields,omitempty" db:"-"`
|
||||
Fields types.JSONText `json:"fields,omitempty" db:"json"`
|
||||
|
||||
CreatedAt time.Time `db:"created_at" json:"createdAt,omitempty"`
|
||||
UpdatedAt *time.Time `db:"updated_at" json:"updatedAt,omitempty"`
|
||||
|
||||
Reference in New Issue
Block a user