Skip to content

Commit

Permalink
fix event type name size (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
Maël Gaonach authored Jan 4, 2023
1 parent 551ef81 commit a2b049e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion schema/1_tables.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2026,7 +2026,7 @@ DROP TABLE IF EXISTS `EventType`;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `EventType` (
`eventTypeId` int(11) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL,
`name` varchar(30) NOT NULL,
PRIMARY KEY (`eventTypeId`),
UNIQUE KEY `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='Defines the list of event types which can occur during a data collection.';
Expand Down
2 changes: 1 addition & 1 deletion schema/updates/2022_11_21_SSX_experiment.sql
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ CREATE TABLE `EventChain` (

CREATE TABLE `EventType` (
`eventTypeId` int(11) unsigned PRIMARY KEY AUTO_INCREMENT,
`name` varchar(255) UNIQUE NOT NULL
`name` varchar(30) UNIQUE NOT NULL
) ENGINE = InnoDB AUTO_INCREMENT = 0 DEFAULT CHARSET = utf8mb4 COMMENT = 'Defines the list of event types which can occur during a data collection.';

INSERT INTO
Expand Down

0 comments on commit a2b049e

Please sign in to comment.