zf

zenflows testing
git clone https://s.sonu.ch/~srfsh/zf.git
Log | Files | Refs | Submodules | README | LICENSE

commit ef4fca40272a531949b008c356f292f8ac52bf18
parent 6547c02e0795bf7371385393a0a8442c7c47233a
Author: srfsh <dev@srf.sh>
Date:   Tue, 19 Jul 2022 18:22:57 +0300

priv/repo/migrations: split pubkeys into separate fields and change type to string

Diffstat:
Mpriv/repo/migrations/20211111175352_fill_vf_agent.exs | 14++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/priv/repo/migrations/20211111175352_fill_vf_agent.exs b/priv/repo/migrations/20211111175352_fill_vf_agent.exs @@ -30,7 +30,12 @@ OR type = 'org' AND "user" IS NULL AND email IS NULL - AND pubkeys IS NULL + AND dilithium_public_key IS NULL + AND ecdh_public_key IS NULL + AND eddsa_public_key IS NULL + AND ethereum_address IS NULL + AND reflow_public_key IS NULL + AND schnorr_public_key IS NULL ) """ @@ -47,7 +52,12 @@ def change() do # person add :user, :text add :email, :citext - add :pubkeys, :binary + add :dilithium_public_key, :text + add :ecdh_public_key, :text + add :eddsa_public_key, :text + add :ethereum_address, :text + add :reflow_public_key, :text + add :schnorr_public_key, :text # organization add :classified_as, {:array, :text}