Archived
2

introduced first_id to reference new template versions to original

This commit is contained in:
VLE2FE
2020-05-29 15:24:24 +02:00
parent ea336f4ebc
commit 0fcb902499
7 changed files with 29 additions and 20 deletions

View File

@ -1,6 +1,7 @@
import mongoose from 'mongoose';
const ConditionTemplateSchema = new mongoose.Schema({
first_id: mongoose.Schema.Types.ObjectId,
name: String,
version: Number,
parameters: [{

View File

@ -1,6 +1,7 @@
import mongoose from 'mongoose';
const MeasurementTemplateSchema = new mongoose.Schema({
first_id: mongoose.Schema.Types.ObjectId,
name: String,
version: Number,
parameters: [{