need help on how i can create a trigger thats generates a customer number using year days of the serial like this 202020800001

Trigger in what sense?

There are no hooks as in ruby, because all what you could do in ruby, you can achieve using changesets as well in ecto.

Or are you talking about databse side triggers? Not sure if that is related to ecto then, as not all databases support that.

1 Like