Merge ~twom/launchpad:ocirecipe-git-path-allow-null into launchpad:db-devel
Proposed by
Tom Wardill
Status: | Merged |
---|---|
Approved by: | Tom Wardill |
Approved revision: | 0975e9fe364e2270a15b2aeaac0a1dcdf4144a38 |
Merge reported by: | Otto Co-Pilot |
Merged at revision: | not available |
Proposed branch: | ~twom/launchpad:ocirecipe-git-path-allow-null |
Merge into: | launchpad:db-devel |
Diff against target: |
14 lines (+8/-0) 1 file modified
database/schema/patch-2210-08-4.sql (+8/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Colin Watson (community) | db | Approve | |
Review via email: mp+380038@code.launchpad.net |
Commit message
Allow OCIRecipe.git_path to be null and add constraints
Description of the change
We want to be able to 'detach' the OCIRecipe from it's repository (for instance, allowing the repo to be deleted, but maintaining the history and configuration of the recipe).
Allow git_path to be NULL, the same as git_repository, and add a constraint that if one is NULL, the other should be too.
Matches the behaviour of Snap*
To post a comment you must log in.