Skip to content
  • 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