Hi
I want to import some values for testing. But I use a Enum in my table. The Enum is pretty smple. It is defined in the schema file, like @val_type ~w[a, b, c]a
The input over the web is running. But I want to import in one Table. Over the seeds.exs there are values to fill my table. But how I can import a Enum value. I tried with a lot of strings.
When using the sigil w or W, they’re space separated, and you don’t need to include any other delimiters like commas, so that syntax would actually produce the equivalent of ["a,", "b,", "c"]. I’d wager it’s not what you wanted. If you correct for that by removing your commas, do you still have any remaining issues?