diff app/model/Probe.js @ 1181:52bf58630e58 schema-update

Updated model.
author Raimund Renkert <raimund.renkert@intevation.de>
date Wed, 31 Aug 2016 15:54:12 +0200
parents d198946e5540
children eeed1b92341f
line wrap: on
line diff
--- a/app/model/Probe.js	Fri Jul 08 15:36:17 2016 +0200
+++ b/app/model/Probe.js	Wed Aug 31 15:54:12 2016 +0200
@@ -20,28 +20,21 @@
         type: 'boolean',
         persist: false
     }, {
-        name: 'probeIdAlt'
+        name: 'idAlt'
     }, {
         name: 'hauptprobenNr'
     }, {
         name: 'test',
         type: 'boolean'
     }, {
-        name: 'netzbetreiberId',
-        serialize: function(value) {
-            if (value === '') {
-                return null;
-            }
-            return value;
-        }
-    }, {
         name: 'mstId'
     }, {
         name: 'laborMstId'
     }, {
         name: 'datenbasisId'
     }, {
-        name: 'baId'
+        name: 'baId',
+        type: 'number'
     }, {
         name: 'probenartId'
     }, {
@@ -90,8 +83,6 @@
     }, {
         name: 'probeNehmerId'
     }, {
-        name: 'mpKat'
-    }, {
         name: 'mplId'
     }, {
         name: 'mprId'

http://lada.wald.intevation.org