Jeremy Woertink
Jeremy Woertink
The ability to use enums in your models is pretty nice, but the current interface did require a small bit of hacking around some of the type restrictions. This has...
These methods are all over the place, and a bit confusing to read. Here's the `select_sum` method ``` ❯ ack "select_sum" src src/avram/criteria.cr 143: def select_sum src/avram/query_builder.cr 217: def select_sum(column...
I don't know if we can do this, but if there's a way to make this error better, we definitely need to... > Unhandled exception: PG::ResultSet#read returned a Nil. A...
I think it would be awesome to have a time based validator where you could say ```crystal validate_time cc_exp_date, after: 1.day.from_now validate_time expired_at, before: 1.year.from_now ```
We saw an issue in the Discord chat where someone was working locally, but using a remote DB on digitalocean. When running the `db.create` task, it was failing with this...
Would be awesome to have a built-in validator for handling URLs. I think to start, it would just run through `URI.parse`, and then validate that it has a valid scheme,...
When you want to remove a belongs_to, postgres will throw an error like: > cannot drop column whatever because other objects depend on it This is due to the foreign...
After almost a year of working on a new app, I have over 100 migrations. It would be cool if we had some sort of `lucky db.migrations.consolidate` task that pulled...
Related: https://github.com/luckyframework/avram/pull/733 Also sort of related: https://github.com/luckyframework/lucky/discussions/1583#discussioncomment-1382134 When we run a query, each column method on the query object is actually an instance of `Criteria`. In this Criteria object, we...
I just tried to rename a Bool column to `primary`, but postgres said it was a syntax error. It wasn't really a "syntax" error, but more just the fact that...