-
Notifications
You must be signed in to change notification settings - Fork 274
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add remote head hash in new codebases
- Loading branch information
1 parent
e376745
commit 1e9cb6c
Showing
3 changed files
with
3 additions
and
2 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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
-- Add a field for tracking the latest known causal hash for each remote project branch. | ||
-- It's helpful for when we need to tell Share how much we know about a branch. | ||
|
||
ALTER TABLE remote_project | ||
ALTER TABLE remote_project_branch | ||
-- Note that there isn't a guarantee this hash has actually been synced into the codebase. | ||
ADD COLUMN last_known_causal_hash INTEGER NULL REFERENCES hash(id) | ||
ON DELETE SET NULL; |
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