Andrei Pavel
9ca8b2fcc7
[ #1574 ] make all shell scripts POSIX compliant
...
* solve all shellcheck warnings
* shebang in all scripts
* set -eu everywhere
* make scripts callable from everywhere
* quote variables to prevent globbing and word splitting
* add missing copyrights
* remove unused variables
* use $() instead of backticks ``
... and so on
2020-12-14 12:08:11 +02:00
Thomas Markwalder
3efe07d261
[ #853 , !26-p] Update schema scripts and tests
...
src/bin/admin/tests/mysql_tests.sh.in
Updated expected column names
Added check of column names for 8.0 to 8.2 upgrade
src/share/database/scripts/mysql/dhcpdb_create.mysql
Changed array column to is_array in dhcp4/6_option_def tables
src/share/database/scripts/mysql/dhcpdb_drop.mysql
Added missing drops for createOptionAuditDHCP4/6
src/share/database/scripts/mysql/upgrade_6.0_to_7.0.sh.in
Changed array column to is_array in dhcp4/6_option_def tables
src/share/database/scripts/mysql/upgrade_8.1_to_8.2.sh.in
Added logic to conditionally change column names
2019-08-26 09:39:05 -04:00
Marcin Siodelski
946faa16a5
[ #845 ] Addressed review comments.
...
Added better commentary in the dhcpdb_create.mysql script and the 8.2
upgrade script.
2019-08-20 07:56:08 -04:00
Marcin Siodelski
a0b2fbcbd1
[ #845 ] Changes to MySQL to update parent object when option is set.
...
Prior to this change, when an option is set or deleted, the owning subnet,
shared network or pool would not update its modification timestamp. As a
result, the server would not fecth the updated configuration.
2019-08-20 07:56:08 -04:00
Marcin Siodelski
818100a6cc
[#659,!387] Changed "fields" to "columns" in the MySQL creation script.
...
As a result of review.
2019-08-16 17:47:34 +02:00
Francis Dupont
32bcae557c
[659-how-configure-client-class-for-pools-in-db] Addressed not doc comments
2019-08-16 17:47:34 +02:00
Francis Dupont
c0be63572b
[659-how-configure-client-class-for-pools-in-db] Checkpoint: code done, todo new unit tests
2019-08-16 17:47:34 +02:00
Marcin Siodelski
b9ae064aef
[#680,!426] Updated MySQL upgrade script from 8.1 to 8.2.
2019-07-25 03:58:11 -04:00
Marcin Siodelski
f27f45ec3b
[#680,!426] Delete embedded options when subnet gets deleted in mysql_cb.
2019-07-25 03:58:11 -04:00