mirror of https://github.com/JustKato/FreePad.git
* hotfix
This commit is contained in:
parent
9bb1471c22
commit
473170e542
|
@ -1,6 +1,7 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"fmt"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"github.com/JustKato/FreePad/models/database"
|
"github.com/JustKato/FreePad/models/database"
|
||||||
|
@ -32,7 +33,12 @@ func main() {
|
||||||
// TODO: Sockets: https://gist.github.com/supanadit/f6de65fc5896e8bb0c4656e451387d0f
|
// TODO: Sockets: https://gist.github.com/supanadit/f6de65fc5896e8bb0c4656e451387d0f
|
||||||
|
|
||||||
// Try and run migrations
|
// Try and run migrations
|
||||||
database.MigrateMysql()
|
err := database.MigrateMysql()
|
||||||
|
if err != nil {
|
||||||
|
fmt.Println("Error")
|
||||||
|
fmt.Println(err)
|
||||||
|
fmt.Println("Error")
|
||||||
|
}
|
||||||
|
|
||||||
router.Run(":8080")
|
router.Run(":8080")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue