@churchsoln/dbms 1.0.17 → 1.0.18
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.
package/models/church/user.js
CHANGED
|
@@ -109,7 +109,6 @@ module.exports = (sequelize, DataTypes) => {
|
|
|
109
109
|
directoryVisibility: { type: DataTypes.BOOLEAN, defaultValue: false },
|
|
110
110
|
userLoginAccess: { type: DataTypes.BOOLEAN, defaultValue: false },
|
|
111
111
|
isEmailSubscribed: { type: DataTypes.BOOLEAN, defaultValue: false },
|
|
112
|
-
isPublic: { type: DataTypes.BOOLEAN, defaultValue: true },
|
|
113
112
|
status: { type: DataTypes.BOOLEAN, defaultValue: true },
|
|
114
113
|
createdAt: { type: DataTypes.DATE },
|
|
115
114
|
updatedAt: { type: DataTypes.DATE },
|
|
@@ -185,7 +184,6 @@ module.exports = (sequelize, DataTypes) => {
|
|
|
185
184
|
"directoryVisibility",
|
|
186
185
|
"userLoginAccess",
|
|
187
186
|
"isEmailSubscribed",
|
|
188
|
-
"isPublic",
|
|
189
187
|
"status",
|
|
190
188
|
"createdAt",
|
|
191
189
|
"updatedAt",
|
|
@@ -239,7 +237,6 @@ module.exports = (sequelize, DataTypes) => {
|
|
|
239
237
|
"userLoginAccess",
|
|
240
238
|
"isEmailSubscribed",
|
|
241
239
|
"membershipTypeId",
|
|
242
|
-
"isPublic",
|
|
243
240
|
"status",
|
|
244
241
|
];
|
|
245
242
|
user.listFields = [
|
|
@@ -254,7 +251,6 @@ module.exports = (sequelize, DataTypes) => {
|
|
|
254
251
|
"address",
|
|
255
252
|
"isUserAuthenticated",
|
|
256
253
|
"membershipTypeId",
|
|
257
|
-
"isPublic",
|
|
258
254
|
"status",
|
|
259
255
|
];
|
|
260
256
|
user.transferFields = [
|
package/package.json
CHANGED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
module.exports = {
|
|
4
|
-
up: async (queryInterface, DataTypes) => {
|
|
5
|
-
return Promise.all([
|
|
6
|
-
queryInterface.addColumn("User", "isPublic", {
|
|
7
|
-
type: DataTypes.BOOLEAN,
|
|
8
|
-
defaultValue: true
|
|
9
|
-
})
|
|
10
|
-
]);
|
|
11
|
-
},
|
|
12
|
-
down: async (queryInterface) => {},
|
|
13
|
-
};
|