changeset 1174:6d06ae7c553c schema-update

Updated references for new Database model.
author Raimund Renkert <raimund.renkert@intevation.de>
date Fri, 08 Jul 2016 15:36:17 +0200
parents b98e3af27424
children 52bf58630e58
files app/model/MKommentar.js app/model/Messprogramm.js app/model/MessprogrammKategorie.js app/model/PKommentar.js app/model/Status.js app/view/grid/MKommentar.js app/view/grid/MessprogrammKategorie.js app/view/grid/PKommentar.js app/view/grid/Status.js
diffstat 9 files changed, 8 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/app/model/MKommentar.js	Fri Jun 24 13:47:11 2016 +0200
+++ b/app/model/MKommentar.js	Fri Jul 08 15:36:17 2016 +0200
@@ -24,7 +24,7 @@
     }, {
         name: 'messungsId'
     }, {
-        name: 'erzeuger'
+        name: 'mstId'
     }, {
         name: 'datum',
         type: 'date',
--- a/app/model/Messprogramm.js	Fri Jun 24 13:47:11 2016 +0200
+++ b/app/model/Messprogramm.js	Fri Jul 08 15:36:17 2016 +0200
@@ -31,8 +31,6 @@
     }, {
         name: 'laborMstId'
     }, {
-        name: 'name'
-    }, {
         name: 'datenbasisId'
     }, {
         name: 'baId'
--- a/app/model/MessprogrammKategorie.js	Fri Jun 24 13:47:11 2016 +0200
+++ b/app/model/MessprogrammKategorie.js	Fri Jul 08 15:36:17 2016 +0200
@@ -17,7 +17,7 @@
     }, {
         name: 'netzbetreiberId'
     }, {
-        name: 'mplId'
+        name: 'code'
     }, {
         name: 'bezeichnung'
     }, {
--- a/app/model/PKommentar.js	Fri Jun 24 13:47:11 2016 +0200
+++ b/app/model/PKommentar.js	Fri Jul 08 15:36:17 2016 +0200
@@ -24,7 +24,7 @@
     }, {
         name: 'probeId'
     }, {
-        name: 'erzeuger'
+        name: 'mstId'
     }, {
         name: 'datum',
         type: 'date',
--- a/app/model/Status.js	Fri Jun 24 13:47:11 2016 +0200
+++ b/app/model/Status.js	Fri Jul 08 15:36:17 2016 +0200
@@ -24,7 +24,7 @@
     }, {
         name: 'messungsId'
     }, {
-        name: 'erzeuger'
+        name: 'mstId'
     }, {
         name: 'statusStufe',
         type: 'int'
--- a/app/view/grid/MKommentar.js	Fri Jun 24 13:47:11 2016 +0200
+++ b/app/view/grid/MKommentar.js	Fri Jul 08 15:36:17 2016 +0200
@@ -66,7 +66,7 @@
             width: 110
         }, {
             header: 'Erzeuger',
-            dataIndex: 'erzeuger',
+            dataIndex: 'mstId',
             renderer: function(value) {
                 var r = '';
                 if (!value || value === '') {
--- a/app/view/grid/MessprogrammKategorie.js	Fri Jun 24 13:47:11 2016 +0200
+++ b/app/view/grid/MessprogrammKategorie.js	Fri Jul 08 15:36:17 2016 +0200
@@ -103,7 +103,7 @@
             }
         }, {
             header: i18n.getMsg('mplId'),
-            dataIndex: 'mplId',
+            dataIndex: 'code',
             editor: {
                 xtype: 'textfield',
                 maxLength: 3,
--- a/app/view/grid/PKommentar.js	Fri Jun 24 13:47:11 2016 +0200
+++ b/app/view/grid/PKommentar.js	Fri Jul 08 15:36:17 2016 +0200
@@ -72,7 +72,7 @@
             width: 110
         }, {
             header: 'Erzeuger',
-            dataIndex: 'erzeuger',
+            dataIndex: 'mstId',
             width: 140,
             renderer: function(value) {
                 var r = '';
--- a/app/view/grid/Status.js	Fri Jun 24 13:47:11 2016 +0200
+++ b/app/view/grid/Status.js	Fri Jul 08 15:36:17 2016 +0200
@@ -85,7 +85,7 @@
             sortable: false
         }, {
             header: i18n.getMsg('statusgrid.header.erzeuger'),
-            dataIndex: 'erzeuger',
+            dataIndex: 'mstId',
             renderer: function(value) {
                 var r = '';
                 if (!value || value === '') {

http://lada.wald.intevation.org