Skip to content

Commit ef80d92

Browse files
committed
feat(osf): ENG-11734 add DownloadEvent model and migration with dashboard access group
1 parent 6f69855 commit ef80d92

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

osf/migrations/0045_downloadevent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
'ykopka@exoft.net',
1212
'bgeiger@cos.io',
1313
'osmand@cos.io',
14+
'ramya@cos.io',
1415
]
1516

1617

@@ -47,7 +48,6 @@ class Migration(migrations.Migration):
4748
('created', models.DateTimeField(auto_now_add=True, db_index=True)),
4849
('resource_guid', models.CharField(blank=True, db_index=True, default='', max_length=255)),
4950
('path', models.TextField(blank=True, default='')),
50-
('name', models.CharField(blank=True, default='', max_length=255)),
5151
('download_type', models.CharField(choices=[('file', 'Single file'), ('folder_zip', 'Folder zip'), ('project', 'Whole-project zip')], db_index=True, max_length=16)),
5252
('zip_completed', models.BooleanField(blank=True, null=True)),
5353
('size_bytes', models.BigIntegerField(blank=True, null=True)),

osf/models/download_event.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ class DownloadEvent(models.Model):
2424
# what was downloaded
2525
resource_guid = models.CharField(max_length=255, blank=True, default='', db_index=True)
2626
path = models.TextField(blank=True, default='')
27-
name = models.CharField(max_length=255, blank=True, default='')
2827
download_type = models.CharField(max_length=16, choices=DOWNLOAD_TYPES, db_index=True)
2928
# null for single files (only zips stream through WB, which reports completion)
3029
zip_completed = models.BooleanField(null=True, blank=True)

0 commit comments

Comments
 (0)