IMperiumX / Aura

API Gateway of an online therapy platform that connects users with licensed therapists for virtual counseling and mental health support.
Apache License 2.0
0 stars 0 forks source link

feat: Add AutoOneToOneField to users fields #14

Closed IMperiumX closed 1 month ago

IMperiumX commented 1 month ago

workerB

The code changes introduce one new fields, AutoOneToOneField, to the users module. This fields is subclasses of OneToOneField, which Creates a related object on first call if it doesn't exist yet.

github-actions[bot] commented 1 month ago

This PR has a migration; here is the generated SQL for aura/users/migrations/0007_alter_coach_date_of_birth_and_more.py aura/users/migrations/0008_alter_user_email.py ()

BEGIN;
--
-- Alter field email on user
--
ALTER TABLE "users_user" ALTER COLUMN "email" TYPE varchar(100);
COMMIT;