I just ran into a very scary situation with slick. My table definition referred to a wrong column and I noticed that the inserts where not inserting yet there was no error/exception about the issue. It just "silently" failed.
Is this normal slick behaviour?
So my table definition was like:
def expiredAt = column[Timestamp]["created_at"]
def createdAt = column[Timestamp]["created_at"]
As you can see, the column referenced for both is the same column "created_at". When I changed the expiredAt column to "expired_at" everything worked fine.
But the really issue for me is that there was no exception thrown at all.
Is this normal slick behaviour? What is going on under the covers? Does it not return 0 for updatedRows?
My save method looks like:
(users returning users.map(_.id)) += user
I am using slick3.