faustinoaq changed the topic of #amber to: Welcome to Amber Framework community! | https://amberframework.org | Developer happiness, productivity and bare metal performance | GH: https://github.com/amberframework | Docs: https://docs.amberframework.org | Gitter: https://gitter.im/amberframework/amber | IRC Logger: https://irclog.whitequark.org/amber | Amber::Server.start
_whitelogger has joined #amber
_whitelogger has joined #amber
_whitelogger has joined #amber
feepbot has quit [Ping timeout: 268 seconds]
feepbot has joined #amber
feepbot has quit [Ping timeout: 272 seconds]
feepbot has joined #amber
<FromGitter> <valenciaj> Hio there!
<FromGitter> <DwightConrad_twitter> hello
<FromGitter> <valenciaj> I'm in a trouble with Granite ORM, how to use a legacy table with a column named with a dash? Something like ```original-name```
<FromGitter> <DwightConrad_twitter> can't you call `table_name "original-name"` in your model?
<FromGitter> <valenciaj> it's a column not table
<FromGitter> <DwightConrad_twitter> oh my bad, good question
<FromGitter> <valenciaj> it's!
_whitelogger has joined #amber
<FromGitter> <Willyboar> @drujensen in the fix of the bug I reported I found a typo.
<FromGitter> <Willyboar> My mistake. I haven't seen the fix.
<FromGitter> <drujensen> @Willyboar I assume you are talking about this one (https://github.com/amberframework/amber/pull/1000/commits/bfdb01acf55f741dbdeac95bd357d6f7e4ef7cac)
<FromGitter> <Willyboar> yeap
<FromGitter> <Willyboar> i was from my mobile and didn’t see it.
<FromGitter> <Willyboar> sorry...
<FromGitter> <drujensen> no worries
<FromGitter> <Blacksmoke16> Probably best to rename the column to use an underscore
<FromGitter> <Blacksmoke16> I don't think crystal allows you to use a hyphen in property names
<FromGitter> <drujensen> @valenciaj We would need to add someway of overwriting the `db_column` name in the field definition.
<FromGitter> <drujensen> Can you open an issue?
_whitelogger has joined #amber