agrs-sequelize-sdk 1.0.14 → 1.0.16

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.
Files changed (2) hide show
  1. package/models/Ad.js +2 -2
  2. package/package.json +1 -1
package/models/Ad.js CHANGED
@@ -22,7 +22,7 @@ module.exports = (sequelize, DataTypes) => {
22
22
  type: DataTypes.STRING,
23
23
  allowNull: true,
24
24
  references: {
25
- model: "AdCreative", // Assuming you have an AdCreative model
25
+ model: "AdCreatives", // Assuming you have an AdCreative model
26
26
  key: "id",
27
27
  },
28
28
  },
@@ -60,7 +60,7 @@ module.exports = (sequelize, DataTypes) => {
60
60
  allowNull: true,
61
61
  },
62
62
  websiteUrl: {
63
- type: DataTypes.STRING,
63
+ type: DataTypes.STRING(1000), // Increase limit for longer URLs
64
64
  allowNull: true,
65
65
  },
66
66
  actionTypes: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agrs-sequelize-sdk",
3
- "version": "1.0.14",
3
+ "version": "1.0.16",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "start": "node index.js",