agrs-sequelize-sdk 1.2.18 → 1.2.20

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.
@@ -122,9 +122,10 @@ module.exports = (sequelize, DataTypes) => {
122
122
  },
123
123
  openedFromDashboard: {
124
124
  type: DataTypes.BOOLEAN,
125
- allowNull: false,
126
- defaultValue: false,
127
- comment: "Tracks if the campaign was opened/viewed from the dashboard",
125
+ allowNull: true,
126
+ defaultValue: null,
127
+ comment:
128
+ "Tracks if the campaign was opened/viewed from the dashboard, allow null for campaigns created before this field was added",
128
129
  },
129
130
  createdAt: {
130
131
  type: DataTypes.DATE,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agrs-sequelize-sdk",
3
- "version": "1.2.18",
3
+ "version": "1.2.20",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "start": "node index.js",