Migration system added.
Install scripts for database schema and dummy data too.
This commit is contained in:
10
Installer/Router.fs
Normal file
10
Installer/Router.fs
Normal file
@@ -0,0 +1,10 @@
|
||||
module DredgePos.Installer.Router
|
||||
|
||||
open DredgePos
|
||||
open Saturn
|
||||
open Giraffe
|
||||
|
||||
let router = router {
|
||||
pipe_through Ajax.Router.pipeline
|
||||
get "/" (warbler (fun _ -> htmlString (Controller.RunAllMigrations ())))
|
||||
}
|
||||
Reference in New Issue
Block a user