mirror of
https://github.com/JustKato/FreePad.git
synced 2026-02-23 15:50:46 +02:00
* hotfix
This commit is contained in:
@@ -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")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user