schema/mysql: allow for larger filenames

This commit is contained in:
Thomas Gelf 2015-12-11 21:36:58 +01:00
parent 23655240cb
commit 8ebc1cdf87
2 changed files with 3 additions and 1 deletions

View File

@ -0,0 +1,2 @@
ALTER TABLE director_generated_config_file MODIFY file_path VARCHAR(128) NOT NULL COMMENT 'e.g. zones/nafta/hosts.conf';

View File

@ -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)