Skip to content

Commit

Permalink
[#3587] Add update type update to create scripts
Browse files Browse the repository at this point in the history
Changes to be committed:
	modified:   mysql/dhcpdb_create.mysql
    modified:   pgsql/dhcpdb_create.pgsql
  • Loading branch information
tmarkwalder committed Oct 28, 2024
1 parent 31754d8 commit 00ecd98
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/share/database/scripts/mysql/dhcpdb_create.mysql
Original file line number Diff line number Diff line change
Expand Up @@ -6032,6 +6032,8 @@ ALTER TABLE dhcp4_options
ALTER TABLE dhcp6_options
ADD COLUMN client_classes LONGTEXT DEFAULT NULL;

UPDATE option_def_data_type SET name='int8' where id = 3;

-- Rename require_client_classes and only_if_required.
ALTER TABLE dhcp4_shared_network
RENAME COLUMN require_client_classes TO evaluate_additional_classes;
Expand Down
2 changes: 2 additions & 0 deletions src/share/database/scripts/pgsql/dhcpdb_create.pgsql
Original file line number Diff line number Diff line change
Expand Up @@ -6493,6 +6493,8 @@ ALTER TABLE dhcp4_options
ALTER TABLE dhcp6_options
ADD COLUMN client_classes TEXT DEFAULT NULL;

UPDATE option_def_data_type SET name='int8' where id = 3;

-- Rename require_client_classes and only_if_required.
ALTER TABLE dhcp4_shared_network
RENAME COLUMN require_client_classes TO evaluate_additional_classes;
Expand Down

0 comments on commit 00ecd98

Please sign in to comment.