[DB] Remove unique constraint from GSActor.nickname and fix register and related functionality

This commit is contained in:
2021-04-11 11:03:32 +00:00
parent 68de1b09b1
commit faa362e2e2
6 changed files with 31 additions and 23 deletions

View File

@@ -149,6 +149,12 @@ abstract class DB
}
}
public static function count(string $table, array $criteria)
{
$repo = self::getRepository($table);
return $repo->count($table, $criteria);
}
/**
* Intercept static function calls to allow refering to entities
* without writing the namespace (which is deduced from the call