Since this one is not managed inside Django, it doesn't know what to do
with it when deleting, so just make postgres handle it.
operations = [
migrations.RunSQL("""CREATE TABLE account_communityauthlastlogin (
- user_id int NOT NULL REFERENCES auth_user(id) DEFERRABLE INITIALLY DEFERRED,
+ user_id int NOT NULL REFERENCES auth_user(id) DEFERRABLE INITIALLY DEFERRED ON DELETE CASCADE,
site_id int NOT NULL REFERENCES account_communityauthsite (id) ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED,
lastlogin timestamptz NOT NULL,
logincount bigint NOT NULL,