Skip to content

Commit

Permalink
increase size of system_information.private_network_cidr to varchar(8…
Browse files Browse the repository at this point in the history
…192)
  • Loading branch information
davehorton committed Aug 14, 2024
1 parent c695170 commit a2e5cf7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion db/jambones-sql.sql
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ CREATE TABLE system_information
domain_name VARCHAR(255),
sip_domain_name VARCHAR(255),
monitoring_domain_name VARCHAR(255),
private_network_cidr VARCHAR(255)
private_network_cidr VARCHAR(8192)
);

CREATE TABLE users
Expand Down
2 changes: 1 addition & 1 deletion db/jambones.sqs
Original file line number Diff line number Diff line change
Expand Up @@ -2828,7 +2828,7 @@
</SQLField>
<SQLField>
<name><![CDATA[private_network_cidr]]></name>
<type><![CDATA[VARCHAR(255)]]></type>
<type><![CDATA[VARCHAR(8192)]]></type>
<uid><![CDATA[45A2CE92-0BA7-4156-AE05-750D63F386F3]]></uid>
</SQLField>
<labelWindowIndex><![CDATA[3]]></labelWindowIndex>
Expand Down
2 changes: 1 addition & 1 deletion db/upgrade-jambonz-db.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ const sql = {
'ALTER TABLE sip_gateways ADD COLUMN use_sips_scheme BOOLEAN NOT NULL DEFAULT 0',
],
9002: [
'ALTER TABLE system_information ADD COLUMN private_network_cidr VARCHAR(255)',
'ALTER TABLE system_information ADD COLUMN private_network_cidr VARCHAR(8192)',
]
};

Expand Down

0 comments on commit a2e5cf7

Please sign in to comment.