I have a project that uses Ecto, so I have many schemas one by environment (3 environment), on that schemas we currently use @schema_prefix.
Nowadays I compile my project for each environment, but I want to compile my aplication on a single time and load all settings at runtime, for this I need to pass this value dinamically for example with Application.get_env(:my_app, :ecto_schema)
There is a way to set @schema_prefix at runtime? Or I always should to compile for different schemas.