diff --git a/schema/mysql-changes/upgrade_54.sql b/schema/mysql-changes/upgrade_54.sql new file mode 100644 index 00000000..1b659638 --- /dev/null +++ b/schema/mysql-changes/upgrade_54.sql @@ -0,0 +1,2 @@ +ALTER TABLE director_generated_config_file MODIFY file_path VARCHAR(128) NOT NULL COMMENT 'e.g. zones/nafta/hosts.conf'; + diff --git a/schema/mysql.sql b/schema/mysql.sql index 0e840a63..c972e519 100644 --- a/schema/mysql.sql +++ b/schema/mysql.sql @@ -58,7 +58,7 @@ CREATE TABLE director_generated_file ( CREATE TABLE director_generated_config_file ( config_checksum VARBINARY(20) NOT NULL, file_checksum VARBINARY(20) NOT NULL, - file_path VARCHAR(64) NOT NULL COMMENT 'e.g. zones/nafta/hosts.conf', + file_path VARCHAR(128) NOT NULL COMMENT 'e.g. zones/nafta/hosts.conf', CONSTRAINT director_generated_config_file_config FOREIGN KEY config (config_checksum) REFERENCES director_generated_config (checksum)