tari_ootle_wallet_storage_sqlite 0.28.9

The Tari wallet SQLite storage library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//   Copyright 2023 The Tari Project
//   SPDX-License-Identifier: BSD-3-Clause

use diesel::{Identifiable, Queryable};
use time::PrimitiveDateTime;

use crate::schema::config;

#[derive(Debug, Clone, Identifiable, Queryable)]
#[diesel(table_name = config)]
pub struct Config {
    pub id: i32,
    pub key: String,
    pub value: String,
    pub is_encrypted: bool,
    pub updated_at: PrimitiveDateTime,
    pub created_at: PrimitiveDateTime,
}