Skip to content

Commit

Permalink
fix(mbi) change the type of metric_unit column (#1117)
Browse files Browse the repository at this point in the history
  • Loading branch information
s-duret authored Mar 27, 2023
1 parent c75e1a3 commit 4beebd1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ sub createTempTable {
my $db = $self->{"centstorage"};
$db->query({ query => "DROP TABLE IF EXISTS `".$self->{"tmpTable"}."`" });
my $query = "CREATE TABLE `".$self->{"tmpTable"}."` (";
$query .= "`metric_id` int(11) NOT NULL,`metric_name` varchar(255) NOT NULL,`metric_unit` char(10) DEFAULT NULL,";
$query .= "`metric_id` int(11) NOT NULL,`metric_name` varchar(255) NOT NULL,`metric_unit` char(32) DEFAULT NULL,";
$query .= "`service_id` int(11) NOT NULL,`service_description` varchar(255) DEFAULT NULL,";
$query .= "`sc_id` int(11) DEFAULT NULL,`sc_name` varchar(255) DEFAULT NULL,";
$query .= "`host_id` int(11) DEFAULT NULL,`host_name` varchar(255) DEFAULT NULL,";
Expand Down

0 comments on commit 4beebd1

Please sign in to comment.