-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use default=dict for JSONField model fields
- Loading branch information
1 parent
f84d38c
commit 57c2183
Showing
2 changed files
with
43 additions
and
1 deletion.
There are no files selected for viewing
38 changes: 38 additions & 0 deletions
38
...eb/migrations/0010_alter_administrationsettings_google_oauth_json_credentials_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,38 @@ | ||
# Generated by Django 4.1.3 on 2022-11-26 20:18 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('web', '0009_administrationsettings_onedrive_email_notification_template_and_more'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='administrationsettings', | ||
name='google_oauth_json_credentials', | ||
field=models.JSONField(blank=True, default=dict, null=True, verbose_name='Google OAuth Credentials - JSON (Copy and Paste)'), | ||
), | ||
migrations.AlterField( | ||
model_name='administrationsettings', | ||
name='google_service_account_auth_json_credentials', | ||
field=models.JSONField(blank=True, default=dict, null=True, verbose_name='Google Service Account Credentials - JSON (Copy and Paste)'), | ||
), | ||
migrations.AlterField( | ||
model_name='migration', | ||
name='google_source', | ||
field=models.JSONField(blank=True, default=dict, null=True, verbose_name='JSON object including at minimum id, name, or type as keys describing the source folder or shared drive being migrated. Type can be "shared_drive" or "folder"'), | ||
), | ||
migrations.AlterField( | ||
model_name='migration', | ||
name='source_data_scan_result', | ||
field=models.JSONField(blank=True, default=dict, null=True, verbose_name='High-level stats about the migration to be run based on scanning the source data to be migrated'), | ||
), | ||
migrations.AlterField( | ||
model_name='migration', | ||
name='target', | ||
field=models.JSONField(blank=True, default=dict, null=True, verbose_name='Information describing either a SharePoint Site Folder in a Document Library or a OneDrive Folder for the user OneDrive account'), | ||
), | ||
] |
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