mirror of
https://github.com/Blah-IM/blahrs.git
synced 2025-07-06 22:25:34 +00:00
Use simplified Snowflake ID generation
This prevents leaking server information to client with little effort.
This commit is contained in:
parent
59d51937da
commit
a7f260027d
5 changed files with 36 additions and 12 deletions
|
@ -10,7 +10,7 @@ static INIT_SQL: &str = include_str!("../schema.sql");
|
|||
|
||||
// Simple and stupid version check for now.
|
||||
// `echo -n 'blahd-database-0' | sha256sum | head -c5` || version
|
||||
const APPLICATION_ID: i32 = 0xd9e_8401;
|
||||
const APPLICATION_ID: i32 = 0xd9e_8402;
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct Database {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue