adds reactivity when undoing an event

This commit is contained in:
2019-10-28 16:08:05 +01:00
parent 8d1344e0b6
commit 1f2a940968
5 changed files with 39 additions and 29 deletions

View File

@@ -5,7 +5,7 @@ use crate::models::{self, item::Loot};
use crate::schema::claims;
/// A Claim is a request by a single player on an item from group chest.
#[derive(Identifiable, Queryable, Associations, Serialize, Deserialize, Debug)]
#[derive(Identifiable, Queryable, Associations, Serialize, Deserialize, Clone, Copy, Debug)]
#[belongs_to(Loot)]
pub struct Claim {
/// DB Identifier