-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #283 from TencentBlueKing/develop
v1.12.10
- Loading branch information
Showing
1,204 changed files
with
435,987 additions
and
29,514 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
CREATE TABLE `bkiam`.`subject_template_group` ( | ||
`pk` int(10) unsigned NOT NULL AUTO_INCREMENT, | ||
`subject_pk` int(10) unsigned NOT NULL, | ||
`template_id` int(10) unsigned NOT NULL, | ||
`group_pk` int(10) unsigned NOT NULL, | ||
`expired_at` int(10) unsigned NOT NULL, | ||
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, | ||
`updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, | ||
PRIMARY KEY (`pk`), | ||
UNIQUE KEY `idx_uk_subject_template_group` (`subject_pk`,`group_pk`,`template_id`), | ||
INDEX `idx_group_template_subject` (`group_pk`, `template_id`,`subject_pk`) | ||
) ENGINE=InnoDB DEFAULT CHARSET=utf8; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
CREATE INDEX `idx_subject_role_type` ON `bkiam`.`subject_role` (`subject_pk`,`role_type`); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.