# Ecto.Schema / Ecto.Changeset - optional, conditionally present fields

**URL:** <https://forum.elixirforum.com/t/ecto-schema-ecto-changeset-optional-conditionally-present-fields/68817>\
**Category:** Questions\
**Tags:** ecto, ecto-schema\
**Created:** [January 18, 2025, 10:23pm UTC](https://forum.elixirforum.com/t/ecto-schema-ecto-changeset-optional-conditionally-present-fields/68817 "2025-01-18T22:23:21Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![silverdr](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/silverdr/32/23771_2.png) [@silverdr](https://forum.elixirforum.com/u/silverdr)\
**Post date:** [January 19, 2025, 2:39pm UTC](https://forum.elixirforum.com/t/ecto-schema-ecto-changeset-optional-conditionally-present-fields/68817/5 "2025-01-19T14:39:30Z")

</div>

> [@dimitarvp](#):
>
> That seems like an okay-ish compromising solution

Indeed. What I have now works but I feel like I am shovelling in tons of pure “noise” into the DB. Currently SNR in that column is less than 1:10 and possibly getting worse later…

Thank you for an even better idea.

---

_[View the full topic](https://forum.elixirforum.com/t/ecto-schema-ecto-changeset-optional-conditionally-present-fields/68817)._
