Added migrations and disabled auto-migrations to better protect users' databases
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
gballan committed 2022-12-13 18:58:14 -05:00
1 parent b8700c1ba3
commit 8119f49b4d
7 files changed
+921 -200

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
{
"development": {
"storage": "./data/overseer.db",
"dialect": "sqlite"
},
"test": {
"username": "root",
"password": null,
"database": "database_test",
"host": "127.0.0.1",
"dialect": "mysql"
},
"production": {
"username": "root",
"password": null,
"database": "database_production",
"host": "127.0.0.1",
"dialect": "mysql"
}
}