Skip to content

Commit

Permalink
Bump version to 0.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
matthid committed Mar 12, 2015
1 parent 6c225f0 commit 6181d66
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
7 changes: 6 additions & 1 deletion doc/ReleaseNotes.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
### 0.0.4
### 0.0.5

* Added Upgrade API.
* Remove Automatic Migrations (cannot be done in a sane way, now the application should just call the new Upgrade API)

### 0.0.4

* Pin versions && disable automatic migrations.

Expand Down
8 changes: 4 additions & 4 deletions src/SolutionInfo.fs
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ open System.Reflection
[<assembly: AssemblyCompanyAttribute("Yaaf.Database")>]
[<assembly: AssemblyProductAttribute("Yaaf.Database")>]
[<assembly: AssemblyCopyrightAttribute("Yaaf.Database Copyright © Matthias Dittrich 2015")>]
[<assembly: AssemblyVersionAttribute("0.0.4")>]
[<assembly: AssemblyFileVersionAttribute("0.0.4")>]
[<assembly: AssemblyInformationalVersionAttribute("0.0.4")>]
[<assembly: AssemblyVersionAttribute("0.0.5")>]
[<assembly: AssemblyFileVersionAttribute("0.0.5")>]
[<assembly: AssemblyInformationalVersionAttribute("0.0.5")>]
do ()

module internal AssemblyVersionInformation =
let [<Literal>] Version = "0.0.4"
let [<Literal>] Version = "0.0.5"
5 changes: 2 additions & 3 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,8 +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 6181d66

Please sign in to comment.