Migration system added.

Install scripts for database schema and dummy data too.
This commit is contained in:
2022-02-26 22:23:30 +10:00
parent 6439b4326c
commit 207edf0de3
122 changed files with 774 additions and 148 deletions

10
Installer/Router.fs Normal file
View 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 ())))
}