1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2025-10-10 13:24:42 +00:00

database_structure => constants

This commit is contained in:
2020-05-26 17:51:11 +02:00
parent cca7f02f8e
commit 175266f397
6 changed files with 21 additions and 16 deletions

View File

@@ -2,7 +2,7 @@ use crate::data::api_client::APIClient;
use crate::data::error::{ExecError, ResultBoxError};
use crate::data::user::UserID;
use crate::data::user_token::UserAccessToken;
use crate::database_structure::USER_ACCESS_TOKENS_TABLE;
use crate::constants::database_tables_names::USER_ACCESS_TOKENS_TABLE;
use crate::helpers::{database, user_helper};
use crate::helpers::database::{QueryInfo, InsertQuery, DeleteQuery};
use crate::utils::crypt_utils::{crypt_pass, rand_str};

View File

@@ -1,7 +1,7 @@
use crate::data::api_client::APIClient;
use crate::helpers::database;
use crate::helpers::database::QueryInfo;
use crate::database_structure::SERVICES_TABLES;
use crate::constants::database_tables_names::SERVICES_TABLES;
use crate::data::error::ResultBoxError;
/// API helper

View File

@@ -1,7 +1,7 @@
use crate::data::error::ResultBoxError;
use crate::data::user::{User, UserID, UserPageStatus, AccountImageVisibility};
use crate::helpers::database;
use crate::database_structure::USERS_TABLE;
use crate::constants::database_tables_names::USERS_TABLE;
/// User helper
///