Closed bigardone closed 1 year ago
Thanks for the issue. Yes, thats not good at all! Will fix in the next few hours.
I can create a PR if you want :)
Always gratefully accepted!Sent from my iPhoneOn 2 Nov 2023, at 18:43, Ricardo García Vega @.***> wrote: I can create a PR if you want :)
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>
I've published ex_money_sql version 1.10.1 with the following changelog entry:
Fix compilation warnings on Elixir 1.16.
Fix migration generator for money_with_currency
type. Thanks to @bigardone for the issue and PR. Closes #37, closes #38.
Thanks again for the support and the PR.
Hi @kipcole9 👋🏼 After upgrading to
1.10.0
, I get the following error while trying to run the migration formin
andmax
:I saw a similar closed issue from some years ago. I think the issue is here:
https://github.com/kipcole9/money_sql/blob/493de0770d3ac56cef2423ed7f0ff2e3d019178e/lib/money/migration.ex#L19
Maybe it should be using something like https://github.com/kipcole9/money_sql/blob/493de0770d3ac56cef2423ed7f0ff2e3d019178e/lib/money/ddl.ex#L256 instead.