Add new table newUsers

Description

  • add new table newUsers into scripts/base.sql (notify people in a mail list about your variant of its structure)

  • add two methods into QueryExecutor class (use its methods as example):

    • const QSharedPointer<User>& isTmpUserExists(const QSharedPointer<User>& user) (check does user with specified login exists in newUsers table, return it if success, in other cases return null)

    • bool deleteTmpUser(const QSharedPointer<User>& user) (find user from arguments in newUsers table and run transaction for it deleteing from table, return transaction result)

    • bool insertNewTmpUser(const QSharedPointer<User>& user,const QString& email) (add new record into newUsers for user and email specifed in arguments with current time and return result of this transaction)

  • add method void checkTmpUsers() in UpdateThread class. It should be runned in a UpdateThread::run() and delete old records from newUSers table

Environment

None

Test scenario

None

Parent branch

devel

Status

Assignee

Edward Ryabikov

Reporter

Mark Zaslavskiy

Labels

None

External issue ID

None

Leader

Sergey Balandin

Architect

Kirill Krinkin

Customer visible

None

Fix versions

Priority

00.Blocker
Configure