|
|
@@ -0,0 +1,24 @@
|
|
|
+using InABox.Database;
|
|
|
+using InABox.Database.SQLite;
|
|
|
+using System;
|
|
|
+using System.Collections.Generic;
|
|
|
+using System.Linq;
|
|
|
+using System.Text;
|
|
|
+using System.Threading.Tasks;
|
|
|
+
|
|
|
+namespace PRS.Shared.Database_Update_Scripts
|
|
|
+{
|
|
|
+ internal class Update_9_0_1 : DatabaseUpdateScript
|
|
|
+ {
|
|
|
+ public override VersionNumber Version => new(9, 0, 1);
|
|
|
+
|
|
|
+ public override bool Update()
|
|
|
+ {
|
|
|
+ if(DbFactory.ProviderFactory is SQLiteProviderFactory factory)
|
|
|
+ {
|
|
|
+ factory.DropRedundantTables();
|
|
|
+ }
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|