Minor refactorings

This commit is contained in:
Eike Kettner
2020-12-13 01:36:12 +01:00
parent d6f28d3eca
commit 613696539f
47 changed files with 450 additions and 326 deletions

View File

@ -141,7 +141,7 @@ object RegexNerFile {
def latestUpdate(collective: Ident): ConnectionIO[Option[Timestamp]] = {
def max_(col: Column[_], cidCol: Column[Ident]): Select =
Select(List(max(col).as("t")), from(col.table), cidCol === collective)
Select(max(col).as("t"), from(col.table), cidCol === collective)
val sql = union(
max_(ROrganization.T.updated, ROrganization.T.cid),