agrs-sequelize-sdk 1.3.48 → 1.3.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -19,7 +19,8 @@ module.exports = (sequelize, DataTypes) => {
|
|
|
19
19
|
allowNull: true, // ✅ Made nullable - user-uploaded templates won't have a template_id
|
|
20
20
|
unique: true,
|
|
21
21
|
field: "template_id",
|
|
22
|
-
comment:
|
|
22
|
+
comment:
|
|
23
|
+
"Reference to templateConfig.json ID (1-59), null for user-uploaded templates",
|
|
23
24
|
},
|
|
24
25
|
name: {
|
|
25
26
|
type: DataTypes.STRING(255),
|
|
@@ -168,7 +169,8 @@ module.exports = (sequelize, DataTypes) => {
|
|
|
168
169
|
type: DataTypes.TEXT,
|
|
169
170
|
allowNull: true,
|
|
170
171
|
field: "user_uploaded_image_url",
|
|
171
|
-
comment:
|
|
172
|
+
comment:
|
|
173
|
+
"URL of the original banner image uploaded by user (stored in GCP)",
|
|
172
174
|
},
|
|
173
175
|
uploadedBy: {
|
|
174
176
|
type: DataTypes.STRING(100),
|
|
@@ -181,7 +183,8 @@ module.exports = (sequelize, DataTypes) => {
|
|
|
181
183
|
allowNull: false,
|
|
182
184
|
defaultValue: true,
|
|
183
185
|
field: "is_user_generated",
|
|
184
|
-
comment:
|
|
186
|
+
comment:
|
|
187
|
+
"True if template was uploaded/analyzed by user, false if system template",
|
|
185
188
|
},
|
|
186
189
|
|
|
187
190
|
// ===== Preview =====
|