mirror of
https://github.com/Telecominfraproject/wlan-cloud-ucentralsec.git
synced 2025-10-29 18:02:29 +00:00
Refactor users/tokens into orm.
This commit is contained in:
@@ -32,11 +32,11 @@ namespace OpenWifi {
|
||||
return ORM::IndexVec{
|
||||
{std::string(shortname + "_user_id_index"),
|
||||
ORM::IndexEntryVec{
|
||||
{std::string("UserName"),
|
||||
{std::string("userName"),
|
||||
ORM::Indextype::ASC}}},
|
||||
{std::string(shortname + "_refresh_index"),
|
||||
ORM::IndexEntryVec{
|
||||
{std::string("RefreshToken"),
|
||||
{std::string("refreshToken"),
|
||||
ORM::Indextype::ASC}}}
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user