Closed IMperiumX closed 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;
The code changes introduce one new fields,
AutoOneToOneField
, to theusers
module. This fields is subclasses ofOneToOneField
, which Creates a related object on first call if it doesn't exist yet.