zolern (6) [Avatar] Offline
#1
In procedure "follow" table of followers is wrongly named as "Follower", should be "Following" instead.

Correct code is:

proc follow*(database: Database, follower: User, user: User) =
  database.db.exec(sql"INSERT INTO Following VALUES (?, ?);",
    follower.username, user.username)
dom96 (74) [Avatar] Offline
#2
Thanks, will fix smilie