changeset 692:c31644b3d445

added owner-field
author Dustin Demuth <dustin@intevation.de>
date Thu, 26 Mar 2015 14:13:47 +0100
parents e88381fb3bdb
children 817524db4017
files app/model/MKommentar.js app/model/Messung.js app/model/Messwert.js app/model/Ort.js app/model/PKommentar.js app/model/Probe.js app/model/Probenzusatz.js app/model/Status.js app/model/Zusatzwert.js
diffstat 9 files changed, 29 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/app/model/MKommentar.js	Wed Mar 25 16:46:48 2015 +0100
+++ b/app/model/MKommentar.js	Thu Mar 26 14:13:47 2015 +0100
@@ -15,6 +15,9 @@
     fields: [{
         name: 'id'
     }, {
+        name: 'owner',
+        type: 'boolean'
+    }, {
         name: 'messungsId'
     }, {
         name: 'erzeuger'
--- a/app/model/Messung.js	Wed Mar 25 16:46:48 2015 +0100
+++ b/app/model/Messung.js	Thu Mar 26 14:13:47 2015 +0100
@@ -15,6 +15,9 @@
     fields: [{
         name: 'id'
     }, {
+        name: 'owner',
+        type: 'boolean'
+    }, {
         name: 'probeId'
     }, {
         name: 'mmtId'
--- a/app/model/Messwert.js	Wed Mar 25 16:46:48 2015 +0100
+++ b/app/model/Messwert.js	Thu Mar 26 14:13:47 2015 +0100
@@ -15,6 +15,9 @@
     fields: [{
         name: 'id'
     }, {
+        name: 'owner',
+        type: 'boolean'
+    }, {
         name: 'messungsId'
     }, {
         name: 'messgroesseId'
--- a/app/model/Ort.js	Wed Mar 25 16:46:48 2015 +0100
+++ b/app/model/Ort.js	Thu Mar 26 14:13:47 2015 +0100
@@ -15,6 +15,9 @@
     fields: [{
         name: 'id'
     }, {
+        name: 'owner',
+        type: 'boolean'
+    }, {
         name: 'ort'
     }, {
         name: 'probeId'
--- a/app/model/PKommentar.js	Wed Mar 25 16:46:48 2015 +0100
+++ b/app/model/PKommentar.js	Thu Mar 26 14:13:47 2015 +0100
@@ -15,6 +15,9 @@
     fields: [{
         name: 'id'
     }, {
+        name: 'owner',
+        type: 'boolean'
+    }, {
         name: 'probeId'
     }, {
         name: 'erzeuger'
--- a/app/model/Probe.js	Wed Mar 25 16:46:48 2015 +0100
+++ b/app/model/Probe.js	Thu Mar 26 14:13:47 2015 +0100
@@ -16,6 +16,10 @@
     fields: [{
         name: 'id'
     }, {
+        name: 'owner',
+        type: 'boolean',
+        persist: false
+    }, {
         name: 'probeIdAlt'
     }, {
         name: 'hauptprobenNr'
@@ -113,7 +117,7 @@
         defaultValue: new Date()
     }, {
         name: 'readonly',
-        type: 'bool',
+        type: 'boolean',
         persist: false
     }, {
         name: 'treeModified'
--- a/app/model/Probenzusatz.js	Wed Mar 25 16:46:48 2015 +0100
+++ b/app/model/Probenzusatz.js	Thu Mar 26 14:13:47 2015 +0100
@@ -23,6 +23,9 @@
     fields: [{
         name: 'id'
     }, {
+        name: 'owner',
+        type: 'boolean'
+    }, {
         name: 'beschreibung'
     }, {
         name: 'mehId',
--- a/app/model/Status.js	Wed Mar 25 16:46:48 2015 +0100
+++ b/app/model/Status.js	Thu Mar 26 14:13:47 2015 +0100
@@ -15,6 +15,9 @@
     fields: [{
         name: 'id'
     }, {
+        name: 'owner',
+        type: 'boolean'
+    }, {
         name: 'messungsId'
     }, {
         name: 'erzeuger'
--- a/app/model/Zusatzwert.js	Wed Mar 25 16:46:48 2015 +0100
+++ b/app/model/Zusatzwert.js	Thu Mar 26 14:13:47 2015 +0100
@@ -15,6 +15,9 @@
     fields: [{
         name: 'id'
     }, {
+        name: 'owner',
+        type: 'boolean'
+    }, {
         name: 'probeId'
     }, {
         name: 'pzsId'

http://lada.wald.intevation.org