Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[memories] Replace
cluster_visits
with context_annotations
table.
- This is CL 1 of 5 merging `ClusterVisitDatabase` with `VisitAnnotationsDatabase`. - This naming is consistent with the `content_annotations` table. - Also drops the `cluster_visit_id` column & field; we'll instead use `visit_id`s as the primary key as `context_annotations` have a 1-or-0 : 1 relationship with `visits`. This too is consistent with `content_annotations`. - Likewise, drops the `url_id` column & field; it's redundant since `context_annotations` are join with `visits` which already have `url_id`. - Renames the `cluster_visit_context_signal_bitmask` column to `context_annotation_flags` to be consistent with `content_annotations`'s `annotation_flags` column. Associated variables and methods will be renamed in a followup CL, but the column rename is done here to avoid an additional migration. - Removes `NOT NULL` requirement on some columns. - Follow up CLs will rename `ClusterVisit`, related structs, method names, and file names with `VisitContextAnnotations`. This is consistent with `VisitContentAnnotations`. Bug: 1179068, 1184879, 1184875, 1171352 Change-Id: I8ae50c70908c955a3547ab6da342c064a45e743f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2869588 Commit-Queue: manuk hovanesian <manukh@chromium.org> Reviewed-by: Scott Violet <sky@chromium.org> Reviewed-by: Tommy Li <tommycli@chromium.org> Cr-Commit-Position: refs/heads/master@{#879611}
- Loading branch information
manukh
authored and
Chromium LUCI CQ
committed
May 5, 2021
1 parent
1e744db
commit 7b8a8ae
Showing
14 changed files
with
200 additions
and
141 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
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
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
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.