add basic migrations

This commit is contained in:
sam 2024-01-15 20:45:39 +01:00
parent 00eca2801f
commit 97d089c284
10 changed files with 251 additions and 29 deletions

View file

@ -10,9 +10,11 @@ pub enum Payload {
recipients: Vec<String>,
},
Hello,
Identify { token: String },
Identify {
token: String,
},
}
#[derive(Debug, Serialize, Deserialize)]
#[serde(tag = "t", content = "d", rename_all = "SCREAMING_SNAKE_CASE")]
pub enum DispatchEvent {}
pub enum DispatchEvent {}

View file

@ -1,3 +1,3 @@
mod event;
pub use event::{Payload, DispatchEvent};
pub use event::{DispatchEvent, Payload};