Skip to content

Commit

Permalink
enable mysql win
Browse files Browse the repository at this point in the history
  • Loading branch information
msimerson committed Feb 18, 2024
1 parent 2014f70 commit d393847
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sql/01_nt_group.sql
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,18 @@ CREATE TABLE nt_group_log(
PRIMARY KEY (`nt_group_log_id`),
KEY `nt_group_log_idx1` (`nt_group_id`),
KEY `nt_group_log_idx2` (`timestamp`)
/* CONSTRAINT `nt_group_log_ibfk_1` FOREIGN KEY (`nt_group_id`) REFERENCES `nt_group` (`nt_group_id`) ON DELETE CASCADE ON UPDATE CASCADE */
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin ROW_FORMAT=COMPRESSED;


DROP TABLE IF EXISTS nt_group_subgroups;
CREATE TABLE nt_group_subgroups(
nt_group_id INT UNSIGNED NOT NULL,
nt_subgroup_id INT UNSIGNED NOT NULL,
rank INT UNSIGNED NOT NULL,
`rank` INT UNSIGNED NOT NULL,
KEY `nt_group_subgroups_idx1` (`nt_group_id`),
KEY `nt_group_subgroups_idx2` (`nt_subgroup_id`)
/* CONSTRAINT `nt_group_subgroups_ibfk_1` FOREIGN KEY (`nt_group_id`) REFERENCES `nt_group` (`nt_group_id`) ON DELETE CASCADE ON UPDATE CASCADE */
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;

INSERT INTO `nt_group` (`nt_group_id`, `parent_group_id`, `name`)
Expand Down

0 comments on commit d393847

Please sign in to comment.