From 9ed1f4d183d44543740cb99c754d030599c487ff Mon Sep 17 00:00:00 2001 From: Matthias Dittrich Date: Thu, 12 Mar 2015 21:27:43 +0100 Subject: [PATCH] enable extension methods again (disabled for documentation generation, see https://github.com/tpetricek/FSharp.Formatting/issues/201) --- src/source/Yaaf.Database/AbstractApplicationDbContext.fs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()