[chmod +x src/share/database/scripts/mysql/upgrade_022_to_023.sh])
AC_CONFIG_FILES([src/share/database/scripts/mysql/upgrade_023_to_024.sh],
[chmod +x src/share/database/scripts/mysql/upgrade_023_to_024.sh])
+AC_CONFIG_FILES([src/share/database/scripts/mysql/upgrade_024_to_025.sh],
+ [chmod +x src/share/database/scripts/mysql/upgrade_024_to_025.sh])
AC_CONFIG_FILES([src/share/database/scripts/mysql/wipe_data.sh],
[chmod +x src/share/database/scripts/mysql/wipe_data.sh])
AC_CONFIG_FILES([src/share/database/scripts/pgsql/Makefile])
[chmod +x src/share/database/scripts/pgsql/upgrade_022_to_023.sh])
AC_CONFIG_FILES([src/share/database/scripts/pgsql/upgrade_023_to_024.sh],
[chmod +x src/share/database/scripts/pgsql/upgrade_023_to_024.sh])
+AC_CONFIG_FILES([src/share/database/scripts/pgsql/upgrade_024_to_025.sh],
+ [chmod +x src/share/database/scripts/pgsql/upgrade_024_to_025.sh])
AC_CONFIG_FILES([src/share/database/scripts/pgsql/wipe_data.sh],
[chmod +x src/share/database/scripts/pgsql/wipe_data.sh])
AC_CONFIG_FILES([src/share/yang/Makefile])
/// @name Current database schema version values.
//@{
-const uint32_t MYSQL_SCHEMA_VERSION_MAJOR = 24;
+const uint32_t MYSQL_SCHEMA_VERSION_MAJOR = 25;
const uint32_t MYSQL_SCHEMA_VERSION_MINOR = 0;
//@}
namespace db {
/// @brief Define the PostgreSQL backend version.
-const uint32_t PGSQL_SCHEMA_VERSION_MAJOR = 24;
+const uint32_t PGSQL_SCHEMA_VERSION_MAJOR = 25;
const uint32_t PGSQL_SCHEMA_VERSION_MINOR = 0;
// Maximum number of parameters that can be used a statement
-- This line concludes the schema upgrade to version 24.0.
--- This line starts the schema upgrade to version 25.0
+-- This line starts the schema upgrade to version 25.0.
-- Add prefix exclude option to IPv6 reservations.
ALTER TABLE ipv6_reservations
UPDATE schema_version
SET version = '25', minor = '0';
--- This line concludes the schema upgrade to version 25.0
+-- This line concludes the schema upgrade to version 25.0.
# Notes:
#
-- This line concludes the schema upgrade to version 24.0.
--- This line starts the schema upgrade to version 25.0
+-- This line starts the schema upgrade to version 25.0.
-- Add prefix exclude option to IPv6 reservations.
ALTER TABLE ipv6_reservations
ADD COLUMN excluded_prefix INET DEFAULT NULL,
- ADD COLUMN excluded_prefix_len SMALLINT NOT NULL;
+ ADD COLUMN excluded_prefix_len SMALLINT NOT NULL DEFAULT '0';
-- Update the schema version number.
UPDATE schema_version