mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Add extras for crash detection
This commit is contained in:
parent
005ac1216e
commit
42062004a2
16
app/migrations/20210915205501_crash.py
Normal file
16
app/migrations/20210915205501_crash.py
Normal file
@ -0,0 +1,16 @@
|
||||
# Generated by database migrator
|
||||
import peewee
|
||||
|
||||
def migrate(migrator, database, **kwargs):
|
||||
migrator.add_columns('server_stats', crashed=peewee.BooleanField(default=False))
|
||||
"""
|
||||
Write your migrations here.
|
||||
"""
|
||||
|
||||
|
||||
|
||||
def rollback(migrator, database, **kwargs):
|
||||
migrator.drop_columns('server_stats', ['crashed'])
|
||||
"""
|
||||
Write your rollback migrations here.
|
||||
"""
|
@ -118,7 +118,8 @@
|
||||
"starting": "Delayed-Start",
|
||||
"delay-explained": "The service/agent has recently started and is delaying the start of the minecraft server instance",
|
||||
"no-servers": "There are currently no servers. To get started, click",
|
||||
"welcome": "Welcome to Crafty Controller"
|
||||
"welcome": "Welcome to Crafty Controller",
|
||||
"crashed": "Crashed"
|
||||
},
|
||||
"accessDenied": {
|
||||
"accessDenied": "Access Denied",
|
||||
|
Loading…
Reference in New Issue
Block a user