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