Welcome to mirror list, hosted at ThFree Co, Russian Federation.

DbUpgradesRegistry.cs « DBSchemaUpgrades « SQLiteHelper « Library « Duplicati - github.com/duplicati/duplicati.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a0eecc779dbf50ee38051cd73cace9e3998da8da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
using System.Collections.Generic;
using Duplicati.Library.SQLiteHelper.DBUpdates;

namespace Duplicati.Library.SQLiteHelper.DBSchemaUpgrades
{
    class DbUpgradesRegistry
    {
        /// <summary>
        /// Registry of custom code to be executed along a SQL schema upgrade. The key of the map
        /// represents a 1-based version the upgrade code applies to (after performing the update 
        /// the database will be at that version), the value is an instance of upgrader that 
        /// implements the hooks code.
        /// </summary>
        public static readonly IDictionary<int, IDbSchemaUpgrade> CodeChanges = 
            new Dictionary<int, IDbSchemaUpgrade>()
            {
            };
    }
}