Closed KungPaoChicken closed 5 years ago
+1, same problem with mix task looking in ex_money dir:
** (File.Error) could not read file "_build/dev/lib/ex_money/priv/SQL/postgres/create_money_with_currency.sql": no such file or directory
@KungPaoChicken, @njwest Apologies, I only just saw this issue (I'll check my GitHub notifications). I'll have this fixed in the next 24 hours.
No worries, it is a tiny issue which has an easy workaround :)
I have the fix developed. I'm just implementing a much delayed set of tests for migrations and db operations, should be done in the next 24 hours. Thanks for your patience.
I have pushed a new release and published version 1.1.0 to hex that I believe resolves this issue, and that of #2.
Hello,
First of all thanks for the package!
I have encountered an error when generating the migration using
mix money.gen.postgres.migration
. This is returned on my machine (Windows 10, Erlang/OTP 22, Elixir 1.8.2 compiled with Erlang/OTP 20):I believe that the package could not find the file since it looked in
ex_money
instead ofex_money_sql
, possibly following the package split, so I worked around it by copyingpriv/
fromex_money_sql
toex_money
. I am very new to Elixir so I don't know how to fix it in code, but I hope this helps :)