add basic migrations
This commit is contained in:
parent
00eca2801f
commit
97d089c284
10 changed files with 251 additions and 29 deletions
|
@ -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 {}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
mod event;
|
||||
|
||||
pub use event::{Payload, DispatchEvent};
|
||||
pub use event::{DispatchEvent, Payload};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue