Files
duplicati/Duplicati/GUI/Datamodel/Database schema/6. Remove TimeSeparator and UseShortFilenames.sql
T
kenneth@hexad.dk a0521da54d Initial version of the new block-based storage format.
Still needs a work over in terms of error handling, progress reporting, warning output, refactoring etc.
Also misses the volume reuse/reclaim algorithms.
But it passes the unit tests now, with and without a local database.

git-svn-id: https://duplicati.googlecode.com/svn/sandboxes/Kenneth/ForestHash@1526 59da171f-624f-0410-aa54-27559c288bec
2013-02-12 21:43:14 +00:00

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';