Skip to content

Commit

Permalink
Merge pull request #1042 from proditis/master
Browse files Browse the repository at this point in the history
add team_allowed field on target_instance
  • Loading branch information
proditis authored Nov 14, 2023
2 parents 6a4a9b5 + e0db219 commit fac17ae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion contrib/findingsd-federated.sql
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ CREATE TABLE `target_instance` (
`ip` int(11) unsigned DEFAULT 0,
`reboot` tinyint(3) unsigned NOT NULL DEFAULT 0,
`created_at` datetime(3) NOT NULL DEFAULT current_timestamp(3),
`updated_at` datetime(3) NOT NULL DEFAULT current_timestamp(3)
`updated_at` datetime(3) NOT NULL DEFAULT current_timestamp(3),
`team_allowed` tinyint(1) NOT NULL DEFAULT 0
) ENGINE=FEDERATED DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci CONNECTION='mysql://{{db_user}}:{{db_pass}}@{{db_host}}:3306/{{db_name}}/target_instance';

DROP TABLE IF EXISTS `target`;
Expand Down

0 comments on commit fac17ae

Please sign in to comment.