1. 21 Nov, 2016 1 commit
  2. 05 Nov, 2016 1 commit
  3. 31 Oct, 2016 1 commit
  4. 26 Oct, 2016 1 commit
  5. 17 Oct, 2016 1 commit
  6. 14 Oct, 2016 1 commit
  7. 31 Aug, 2016 2 commits
  8. 28 Aug, 2016 1 commit
  9. 26 Aug, 2016 1 commit
  10. 11 Aug, 2016 1 commit
  11. 08 Aug, 2016 1 commit
  12. 08 Jul, 2016 1 commit
  13. 02 Jul, 2016 1 commit
  14. 29 Jun, 2016 1 commit
  15. 23 Jun, 2016 4 commits
  16. 15 Jun, 2016 1 commit
    • Thomas Markwalder's avatar
      [4275] Postgresql schema 3.0 now matches MySql schema 4.2 · a7db3554
      Thomas Markwalder authored
      Added 4.1 to 4.2 updates from MySQL and created upgrade
      script for 2.0 to 3.0
      
      src/share/database/scripts/pgsql/dhcpdb_create.pgsql
          - Enclosed the entire script in a single transaction
          - Removed DROP TABLE statements
          - Added host_identifier_type table and data
          - Added dhcp_option_scope table and data
          - Updated unqiue constraints for hosts table
          - Added scope_id and foreign key constraint to dhcp4_options table
          - Added scope_id and foreign key constraint to dhcp6_options table
          - Added unique contraint to ipv6_reservations table
          - Changed 'HWADDR_SOURCE_DOCSIS' to 'HWADDR_SOURCE_DOCSIS_CMTS'
          - Inserted row for 'HWADDR_SOURCE_UKNOWN'
      
      src/share/database/scripts/pgsql/dhcpdb_drop.pgsql
          Added drops for host_identifier_type and  dhcp_option_scope
      
      src/share/database/scripts/pgsql/upgrade_2.0_to_3.0.sh.in
          New file for upgrading Postgresql from 2.0 to 3.0
      
      configure.ac
          Added src/share/database/scripts/pgsql/upgrade_2.0_to_3.0.sh
      
      src/bin/admin/tests/pgsql_tests.sh.in
          - pgsql_upgrade_1_0_to_2_0 - new function which contains all the checks used
          to verify 1.0 to 2.0 upgrade (extracted from pgsql_upgrade_test)
          - pgsql_upgrade_2_0_to_3_0 - new function which contains all the checks used
          to verify 2.0 to 3.0 upgrade
          - pgsql_upgrade_test() - modified use new upgrade check fucntions
      
      src/share/database/scripts/pgsql/Makefile.am
          Added entry for upgrade_2.0_to_3.0.sh
      a7db3554
  17. 12 Apr, 2016 1 commit
  18. 09 Mar, 2016 1 commit
  19. 12 Jan, 2016 1 commit
  20. 16 Dec, 2015 2 commits
    • Thomas Markwalder's avatar
      [4237] Fixes #4238, adds lease dump order by, bumps MySQL schema to 4.1 · 36e5204e
      Thomas Markwalder authored
      Bumps MySQL schema version from 4.0 to 4.1.
      
      Fixes the issue spelled out in 4238 by adding an entry for hardware
      address source of zero. This change was added here to limit the
      number of schema version bumps.
      
      Changes the MySQL lease dump functions to order by the lease address.
      This ensures the dumps always ordered in a predictable manner.
      
      src/bin/admin/scripts/mysql/upgrade_4.0_to_4.1.sh.in
          New file to upgrade from 4.0 to 4.1
      
      configure.ac
          Added entry for mysql/upgrade_4.0_to_4.1.sh
      
      src/bin/admin/scripts/mysql/Makefile.am
          Added entry form upgrade_4.0_to_4.1.sh
      
      src/bin/admin/scripts/mysql/dhcpdb_create.mysql
          Added insert of HWADDR_SOURCE_UNKNOWN  into lease_hwaddr_source
          Added order by clauses to lease4DumpData and lease6DumpData
          Updated schema version from 4.0 to 4.1
      
      src/bin/admin/tests/mysql_tests.sh.in
          mysql_upgrade_test()
              Added test for 4.0 to 4.1 upgrade
              Changed final version check to 4.1
      36e5204e
    • Wlodzimierz Wencel's avatar
      [master] version update · 06a57765
      Wlodzimierz Wencel authored
      06a57765
  21. 15 Dec, 2015 2 commits
  22. 01 Dec, 2015 1 commit
  23. 14 Nov, 2015 4 commits
  24. 05 Nov, 2015 1 commit
  25. 04 Nov, 2015 1 commit
  26. 03 Nov, 2015 1 commit
  27. 26 Oct, 2015 1 commit
  28. 20 Oct, 2015 1 commit
    • Thomas Markwalder's avatar
      [3969] Added upgrade support from Postgres schema 1.0 to 2.0 · 49b0bac2
      Thomas Markwalder authored
      Upgrade adds state column to both lease tables, the state table,
      and the lease dump functions.
      
      src/bin/admin/scripts/pgsql/upgrade_1.0_to_2.0.sh -
          new script for upgrading postgres schema
      
      src/bin/admin/tests/dhcpdb_create_1.0.pgsql
          new sql script for creating 1.0 schema db
      
      configure.ac
          added entry for new upgrade script
      
      src/bin/admin/kea-admin.in
          pgsql_upgrade() - modified to set Postgres password env variable
          and pass in remaining args as psql expects them
      
      src/bin/admin/scripts/pgsql/Makefile.am
          added entry for new upgrade script
      
      src/bin/admin/tests/Makefile.am
          added entry for 1.0 schema script
      
      src/bin/admin/tests/pgsql_tests.sh.in
          pgsql_upgrade_test()  - revamped now that Postgres actually
          has its first upgrade script.
      49b0bac2
  29. 15 Oct, 2015 1 commit
  30. 01 Oct, 2015 1 commit
    • Thomas Markwalder's avatar
      [3967] Added MySQL schema upgrade from 3.0 to 4.0 support · bcf547a6
      Thomas Markwalder authored
      src/bin/admin/scripts/mysql/upgrade_3.0_to_4.0.sh.in
          New script file for upgrading from Schema 3.0 to 4.0
      
      configure.ac
          Added an entry for new MySQL uppgrade script, upgrade_3.0_to_4.0.sh.in
      
      src/bin/admin/scripts/mysql/Makefile.am
          Added entries for upgrade_3.0_to_4.0.sh.
          Reformatted list style to make adding entries a bit more convenient.
      
      src/bin/admin/tests/mysql_tests.sh.in
          mysql_upgrade_test() - extended the test to verify the upgrade step
          from 3.0 to 4.0.
      bcf547a6
  31. 20 Sep, 2015 1 commit