Refactor users/tokens into orm.

This commit is contained in:
stephb9959
2021-12-27 20:45:17 -08:00
parent f31195e854
commit b869da3b09

View File

@@ -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}}}
};
}