keep existing repo_type on explicit empty PUT; repair wiped locals as local
This commit is contained in:
@@ -1 +1 @@
|
||||
UPDATE remotes SET repo_type = 'remote' WHERE repo_type = '' OR repo_type IS NULL;
|
||||
UPDATE remotes SET repo_type = CASE WHEN COALESCE(base_url, '') = '' THEN 'local' ELSE 'remote' END WHERE repo_type = '' OR repo_type IS NULL;
|
||||
|
||||
Reference in New Issue
Block a user