-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
42 additions
and
3 deletions.
There are no files selected for viewing
41 changes: 41 additions & 0 deletions
41
breathecode/authenticate/migrations/0056_academyauthsettings_google_cloud_owner_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Generated by Django 5.1.1 on 2024-09-13 20:26 | ||
|
||
import django.db.models.deletion | ||
from django.conf import settings | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("authenticate", "0055_alter_profile_github_username_and_more"), | ||
migrations.swappable_dependency(settings.AUTH_USER_MODEL), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="academyauthsettings", | ||
name="google_cloud_owner", | ||
field=models.ForeignKey( | ||
blank=True, | ||
default=None, | ||
help_text="Google auth token for this user will be used for any admin call to the google cloud api, for example: creating classroom video calls", | ||
null=True, | ||
on_delete=django.db.models.deletion.SET_NULL, | ||
related_name="google_cloud_academy_auth_settings", | ||
to=settings.AUTH_USER_MODEL, | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="academyauthsettings", | ||
name="github_owner", | ||
field=models.ForeignKey( | ||
blank=True, | ||
default=None, | ||
help_text="Github auth token for this user will be used for any admin call to the google cloud api, for example: inviting users to the academy", | ||
null=True, | ||
on_delete=django.db.models.deletion.SET_NULL, | ||
to=settings.AUTH_USER_MODEL, | ||
), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters