Skip to content

Commit

Permalink
Update schema.sql
Browse files Browse the repository at this point in the history
  • Loading branch information
getvictor committed Dec 27, 2024
1 parent 35a3b8b commit 4115db7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/datastore/mysql/schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -886,7 +886,7 @@ CREATE TABLE `mdm_apple_declarations` (
`uploaded_at` timestamp(6) NULL DEFAULT NULL,
`auto_increment` bigint NOT NULL AUTO_INCREMENT,
`secrets_updated_at` datetime(6) DEFAULT NULL,
`token` binary(16) GENERATED ALWAYS AS (md5(concat(`raw_json`,ifnull(`secrets_updated_at`,_utf8mb4'')))) STORED,
`token` binary(16) GENERATED ALWAYS AS (unhex(md5(concat(`raw_json`,ifnull(`secrets_updated_at`,_utf8mb4''))))) STORED,
PRIMARY KEY (`declaration_uuid`),
UNIQUE KEY `idx_mdm_apple_declaration_team_identifier` (`team_id`,`identifier`),
UNIQUE KEY `idx_mdm_apple_declaration_team_name` (`team_id`,`name`),
Expand Down

0 comments on commit 4115db7

Please sign in to comment.