diff options
| author | JP Dillingham <jp@dillingham.me> | 2025-05-25 17:53:31 -0500 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2025-05-25 17:53:31 -0500 |
| commit | 930df71e94dedd5de5267418c3e7666a86eea416 (patch) | |
| tree | 083ea0dd1f3147c7f8e38a82e2df788562897c97 /src/slskd/Core/Data/Migrator.cs | |
| parent | 7a44729293863b494fd929b91f349f47b8603e7c (diff) | |
| download | slskd-930df71e94dedd5de5267418c3e7666a86eea416.tar.gz | |
final tweaks
Diffstat (limited to 'src/slskd/Core/Data/Migrator.cs')
| -rw-r--r-- | src/slskd/Core/Data/Migrator.cs | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/slskd/Core/Data/Migrator.cs b/src/slskd/Core/Data/Migrator.cs index 4cc56147..e359d334 100644 --- a/src/slskd/Core/Data/Migrator.cs +++ b/src/slskd/Core/Data/Migrator.cs @@ -28,26 +28,6 @@ using slskd.Migrations; /// <summary> /// Applies database migrations. /// </summary> -public interface IMigration -{ - /// <summary> - /// Determines whether the migration needs to be applied. - /// </summary> - /// <remarks> - /// This method MUST be read-only and should contain no side effects. - /// </remarks> - /// <returns>A value indicating whether the migration needs to be applied.</returns> - bool NeedsToBeApplied(); - - /// <summary> - /// Applies the migration. - /// </summary> - void Apply(); -} - -/// <summary> -/// Applies database migrations. -/// </summary> public class Migrator { /// <summary> |
