Skip to content

Commit a61b027

Browse files
committed
ImportedFile: remove md5 field
Ref #8025
1 parent 85c1412 commit a61b027

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Generated by Django 2.2.20 on 2021-04-15 18:40
2+
3+
from django.db import migrations
4+
5+
6+
class Migration(migrations.Migration):
7+
8+
dependencies = [
9+
('projects', '0071_add_env_var_privacy'),
10+
]
11+
12+
operations = [
13+
migrations.RemoveField(
14+
model_name='importedfile',
15+
name='md5',
16+
),
17+
]

readthedocs/projects/models.py

-1
Original file line numberDiff line numberDiff line change
@@ -1370,7 +1370,6 @@ class ImportedFile(models.Model):
13701370
# of 4096 characters for most filesystems (including EXT4).
13711371
# https://github.com/rtfd/readthedocs.org/issues/5061
13721372
path = models.CharField(_('Path'), max_length=4096)
1373-
md5 = models.CharField(_('MD5 checksum'), max_length=255, null=True)
13741373
commit = models.CharField(_('Commit'), max_length=255)
13751374
build = models.IntegerField(_('Build id'), null=True)
13761375
modified_date = models.DateTimeField(_('Modified date'), auto_now=True)

0 commit comments

Comments
 (0)