Skip to content

Commit

Permalink
enable extension methods again (disabled for documentation generation…
Browse files Browse the repository at this point in the history
  • Loading branch information
matthid committed Mar 12, 2015
1 parent 6181d66 commit 9ed1f4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/source/Yaaf.Database/AbstractApplicationDbContext.fs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ type IUpgradeDatabaseProvider =
abstract GetMigrator : unit -> DbMigrator
abstract FixScript : string -> string

//[<System.Runtime.CompilerServices.Extension>]
[<System.Runtime.CompilerServices.Extension>]
module DatabaseUpgrade =
let internal notImpl () =
(raise <| System.NotSupportedException("Migration is not supported by this type, please implement GetMigrator."))
Expand All @@ -50,7 +50,7 @@ module DatabaseUpgrade =
"from information_schema.columns where",
"FROM information_schema.columns WHERE table_schema = SCHEMA() AND")

//[<System.Runtime.CompilerServices.Extension>]
[<System.Runtime.CompilerServices.Extension>]
let Upgrade (provider:IUpgradeDatabaseProvider) =
let migrator =
try provider.GetMigrator()
Expand Down

0 comments on commit 9ed1f4d

Please sign in to comment.