diff --git a/src/source/Yaaf.Database/AbstractApplicationDbContext.fs b/src/source/Yaaf.Database/AbstractApplicationDbContext.fs index aaa4341..ac723fb 100644 --- a/src/source/Yaaf.Database/AbstractApplicationDbContext.fs +++ b/src/source/Yaaf.Database/AbstractApplicationDbContext.fs @@ -39,7 +39,7 @@ type IUpgradeDatabaseProvider = abstract GetMigrator : unit -> DbMigrator abstract FixScript : string -> string -//[] +[] module DatabaseUpgrade = let internal notImpl () = (raise <| System.NotSupportedException("Migration is not supported by this type, please implement GetMigrator.")) @@ -50,7 +50,7 @@ module DatabaseUpgrade = "from information_schema.columns where", "FROM information_schema.columns WHERE table_schema = SCHEMA() AND") - //[] + [] let Upgrade (provider:IUpgradeDatabaseProvider) = let migrator = try provider.GetMigrator()