Not 100% tested, because it is supposed to go away soon, but right now it is the only way to create a new backup. Also moved database schema and upgrade information/code into the data model project. git-svn-id: https://duplicati.googlecode.com/svn/trunk@1275 59da171f-624f-0410-aa54-27559c288bec
9 lines
564 B
SQL
9 lines
564 B
SQL
-- Remove unused options
|
|
DELETE FROM TaskExtension WHERE [Name] LIKE 'File Time Seperator';
|
|
DELETE FROM TaskExtension WHERE [Name] LIKE 'Short Filenames';
|
|
|
|
-- Remove any empty filename prefixes which should be most common
|
|
DELETE FROM TaskExtension WHERE [Name] LIKE 'Filename Prefix' AND ([Value] LIKE '' OR [Value] IS NULL);
|
|
|
|
-- Move any non-empty filename prefixes into the manual settings override
|
|
INSERT INTO TaskOverride ([TaskID], [Name], [Value]) SELECT [TaskID], 'filename-prefix', [Value] FROM TaskExtension WHERE [Name] LIKE 'Filename Prefix'; |