db working, reorganize minecraft socket code
This commit is contained in:
@ -11,12 +11,12 @@ use crate::status::ServerStatus;
|
||||
#[diesel(table_name = dockermcmgr::schema::servers)]
|
||||
#[diesel(check_for_backend(diesel::pg::Pg))]
|
||||
pub struct Servers {
|
||||
pub id: i32,
|
||||
pub id: i64,
|
||||
pub name: String,
|
||||
pub volume_path: String,
|
||||
pub last_login: Option<SystemTime>,
|
||||
pub container_id: Option<String>,
|
||||
pub status: i16,
|
||||
pub status: ServerStatus,
|
||||
pub redirect_ip: Option<i32>
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user