Convert job record

This commit is contained in:
Eike Kettner
2020-12-12 01:56:06 +01:00
parent 1aa1f4367e
commit e3f6892abd
20 changed files with 445 additions and 297 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(select(max(col).as("t")), from(col.table), cidCol === collective)
Select(List(max(col).as("t")), from(col.table), cidCol === collective)
val sql = union(
max_(ROrganization.T.updated, ROrganization.T.cid),