column of relation does not exist - mix ash.codegen

Hey, (I'm pretty new) I've been running mix ash.codegen --dev a couple of times during development. I'm now finished with this feature and want to run mix ash.codegen add_columns_for_something but I get ERROR 42703 (undefined_column) column "email" of relation "users" does not exist. Can I somehow... fix this? I'm not sure what I did wrong either, so if you can tell me what to avoid next time that'd be even better. Let me know if you need more details too.
1 Reply
ZachDaniel
ZachDaniel2mo ago
Hard to say exactly where the issue would be, but step 1 is to read the migration files and see why that column isn't getting added

Did you find this page helpful?