Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpidb
mpg_gfk
Commits
1d1b4350
Commit
1d1b4350
authored
Nov 21, 2016
by
Gerd Schachtschneider
Browse files
add field substition in list_gefahr
parent
10a2216f
Changes
4
Show whitespace changes
Inline
Side-by-side
conf.ini
View file @
1d1b4350
...
@@ -35,7 +35,7 @@ driver = "mysqli"
...
@@ -35,7 +35,7 @@ driver = "mysqli"
[_own]
[_own]
dn
=
"mpi-magdeburg.mpg.de"
dn
=
"mpi-magdeburg.mpg.de"
notify
=
30
notify
=
30
version
=
1.0.0
6
version
=
1.0.0
7
mailto
=
"db-responsable@<domain>.mpg.de"
mailto
=
"db-responsable@<domain>.mpg.de"
mailname
=
"db-admin"
mailname
=
"db-admin"
...
...
install/updateDB_1000.sql
View file @
1d1b4350
...
@@ -178,6 +178,22 @@ END IF;
...
@@ -178,6 +178,22 @@ END IF;
END
IF
;
END
IF
;
-- CHANGES V1.0.07 - 2016-11-21
-- ****************************
-- fs|db::list_gefahr - add field substition
IF
(
SELECT
MAX
(
version
)
FROM
dataface__version
)
<
'1007'
THEN
-- list_gefahr
ALTER
TABLE
list_gefahr
CHANGE
cmr
cmr
TINYINT
(
1
)
NOT
NULL
DEFAULT
'0'
;
ALTER
TABLE
list_gefahr
ADD
substition
TINYINT
(
1
)
NOT
NULL
DEFAULT
'0'
AFTER
anweisung
;
TRUNCATE
dataface__version
;
INSERT
INTO
dataface__version
(
version
)
VALUES
(
'1007'
);
END
IF
;
END
;
END
;
$$
$$
DELIMITER
;
DELIMITER
;
...
...
tables/list_gefahr/fields.ini
View file @
1d1b4350
...
@@ -31,10 +31,16 @@ filter = 1
...
@@ -31,10 +31,16 @@ filter = 1
; Typ: tinyint(1)
; Typ: tinyint(1)
widget:
type
=
checkbox
widget:
type
=
checkbox
vocabulary
=
anweisung
vocabulary
=
anweisung
widget:
label
=
BA notwendig
widget:
label
=
"
BA notwendig
"
column:
label
=
BA notw.
column:
label
=
"
BA notw.
"
filter
=
1
filter
=
1
[substition]
widget:
type
=
checkbox
vocabulary
=
substition
widget:
label
=
"Substition prüfen"
column:
label
=
"Subst."
[lgk]
[lgk]
widget:
label
=
"Lagerklasse"
widget:
label
=
"Lagerklasse"
widget:
type
=
"select"
widget:
type
=
"select"
...
...
tables/list_gefahr/list_gefahr.php
View file @
1d1b4350
...
@@ -53,6 +53,10 @@ class tables_list_gefahr {
...
@@ -53,6 +53,10 @@ class tables_list_gefahr {
return
array
(
0
=>
'nein'
,
1
=>
'ja'
);
return
array
(
0
=>
'nein'
,
1
=>
'ja'
);
}
}
function
valuelist__substition
()
{
return
array
(
0
=>
'nein'
,
1
=>
'ja'
);
}
}
}
?>
?>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment