# HG changeset patch # User Dustin Demuth # Date 1427375627 -3600 # Node ID c31644b3d44533be48bb7f1d34667899ec1115a8 # Parent e88381fb3bdb77dc8628b1b74476ce1b4c429a37 added owner-field diff -r e88381fb3bdb -r c31644b3d445 app/model/MKommentar.js --- 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' diff -r e88381fb3bdb -r c31644b3d445 app/model/Messung.js --- 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' diff -r e88381fb3bdb -r c31644b3d445 app/model/Messwert.js --- 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' diff -r e88381fb3bdb -r c31644b3d445 app/model/Ort.js --- 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' diff -r e88381fb3bdb -r c31644b3d445 app/model/PKommentar.js --- 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' diff -r e88381fb3bdb -r c31644b3d445 app/model/Probe.js --- 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' diff -r e88381fb3bdb -r c31644b3d445 app/model/Probenzusatz.js --- 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', diff -r e88381fb3bdb -r c31644b3d445 app/model/Status.js --- 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' diff -r e88381fb3bdb -r c31644b3d445 app/model/Zusatzwert.js --- 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'