@brimble/models 3.8.20 → 3.8.21
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/dist/project/index.js +0 -2
- package/package.json +1 -1
- package/project/index.ts +1 -2
package/dist/project/index.js
CHANGED
|
@@ -244,8 +244,6 @@ const projectSchema = new mongoose_1.Schema({
|
|
|
244
244
|
default: null,
|
|
245
245
|
},
|
|
246
246
|
}, { timestamps: true });
|
|
247
|
-
// Partial index for the free-tier lifecycle crons. Restricts the index to
|
|
248
|
-
// rows that actually carry an expiry, so paid/legacy projects stay out of it.
|
|
249
247
|
projectSchema.index({ free_tier_expires_at: 1, serviceType: 1, status: 1 }, {
|
|
250
248
|
partialFilterExpression: { free_tier_expires_at: { $type: "date" } },
|
|
251
249
|
name: "free_tier_lifecycle",
|
package/package.json
CHANGED
package/project/index.ts
CHANGED
|
@@ -247,8 +247,6 @@ const projectSchema = new Schema(
|
|
|
247
247
|
{ timestamps: true },
|
|
248
248
|
);
|
|
249
249
|
|
|
250
|
-
// Partial index for the free-tier lifecycle crons. Restricts the index to
|
|
251
|
-
// rows that actually carry an expiry, so paid/legacy projects stay out of it.
|
|
252
250
|
projectSchema.index(
|
|
253
251
|
{ free_tier_expires_at: 1, serviceType: 1, status: 1 },
|
|
254
252
|
{
|
|
@@ -258,4 +256,5 @@ projectSchema.index(
|
|
|
258
256
|
);
|
|
259
257
|
|
|
260
258
|
export default model<IProject>("Project", projectSchema);
|
|
259
|
+
|
|
261
260
|
export const DeletedProject = model<IProject>("DeletedProject", projectSchema);
|