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
<FromGitter> <bajro17> Is it possible generate API with fields in db?
<FromGitter> <bajro17> I find this
<FromGitter> <anonyo> Hey guys, did anyone have any success deploying to Heroku lately? I keep getting: ⏎ ⏎ ```remote: Waiting for release.... failed.``` [https://gitter.im/amberframework/amber?at=5bb0c66e435c2a518e2dfa4a]
<FromGitter> <bajro17> I have problem with allow cross origin
<FromGitter> <bajro17> on api
<FromGitter> <elorest> @anonyo Not sure if the automatic build pack still works or not. I'm not a big heroku user. However, I'd try compiling it in linux or docker and then just moving the binary, config folder, and public folder up to heroku. You shouldn't need anything else.
<FromGitter> <elorest> You only need the ./bin/amber for migrations but you could also do those for a remote db before deploying.
<FromGitter> <bajro17> I fix all now I have one more problem
<FromGitter> <bajro17> how to put date and timestamp without timezone from json to postgres
<FromGitter> <elorest> @bajro17 Not sure you actually want to remove the timestamp. I'd recommend using Crystals Time.parse to import the time and then pass it to postgres.
<FromGitter> <elorest> If you actually just want to remove it then it's an easy string operation. My guess is that you actually just want to convert to UTC though.
<FromGitter> <bajro17> @elorest I just need it because time come from android application
<FromGitter> <bajro17> it all save to db just this 2 fields what I need it write null