pub const DB_FILE_NAME: &str = "notes.db"; pub const DB_SCHEMA_VERSION: i64 = 1; pub const LOGIN_TOKEN_EXPIRE_SECS: i64 = 40 * 24 * 3600; /// Upon a request less than this before the expiration time, the token is refreshed. pub const LOGIN_TOKEN_REFRESH_MARGIN: i64 = 20 * 24 * 3600;