changeset 689:c07419f07a0c

Added field treeModified to models.
author Raimund Renkert <raimund.renkert@intevation.de>
date Wed, 25 Mar 2015 16:45:29 +0100
parents 6a6d1b02a1a3
children e88381fb3bdb
files app/model/Messung.js app/model/Messwert.js app/model/Ort.js app/model/Probe.js app/model/Status.js app/model/Zusatzwert.js
diffstat 6 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/app/model/Messung.js	Wed Mar 25 15:59:45 2015 +0100
+++ b/app/model/Messung.js	Wed Mar 25 16:45:29 2015 +0100
@@ -49,6 +49,8 @@
         type: 'boolean'
     }, {
         name: 'messungsIdAlt'
+    }, {
+        name: 'treeModified'
     }],
 
     idProperty: 'id',
--- a/app/model/Messwert.js	Wed Mar 25 15:59:45 2015 +0100
+++ b/app/model/Messwert.js	Wed Mar 25 16:45:29 2015 +0100
@@ -44,6 +44,8 @@
             return new Date(v);
         },
         defaultValue: new Date()
+    }, {
+        name: 'treeModified'
     }],
 
     idProperty: 'id',
--- a/app/model/Ort.js	Wed Mar 25 15:59:45 2015 +0100
+++ b/app/model/Ort.js	Wed Mar 25 16:45:29 2015 +0100
@@ -32,6 +32,8 @@
             return new Date(v);
         },
         defaultValue: new Date()
+    }, {
+        name: 'treeModified'
     }],
 
     idProperty: 'id',
--- a/app/model/Probe.js	Wed Mar 25 15:59:45 2015 +0100
+++ b/app/model/Probe.js	Wed Mar 25 16:45:29 2015 +0100
@@ -115,6 +115,8 @@
         name: 'readonly',
         type: 'bool',
         persist: false
+    }, {
+        name: 'treeModified'
     }],
 
     idProperty: 'id',
--- a/app/model/Status.js	Wed Mar 25 15:59:45 2015 +0100
+++ b/app/model/Status.js	Wed Mar 25 16:45:29 2015 +0100
@@ -32,6 +32,8 @@
         defaultValue: new Date()
     }, {
         name: 'skommentar'
+    }, {
+        name: 'treeModified'
     }],
 
     idProperty: 'id',
--- a/app/model/Zusatzwert.js	Wed Mar 25 15:59:45 2015 +0100
+++ b/app/model/Zusatzwert.js	Wed Mar 25 16:45:29 2015 +0100
@@ -37,6 +37,8 @@
             return new Date(v);
         },
         defaultValue: new Date()
+    }, {
+        name: 'treeModified'
     }],
 
     idProperty: 'id',

http://lada.wald.intevation.org