Skip to content

Commit 70f6da3

Browse files
committed
Fix help_text in migration files
Signed-off-by: tdruez <[email protected]>
1 parent 8160346 commit 70f6da3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scanpipe/migrations/0073_add_sha1_git_checksum.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ class Migration(migrations.Migration):
1313
migrations.AddField(
1414
model_name='codebaseresource',
1515
name='sha1_git',
16-
field=models.CharField(blank=True, help_text='SHA1 git checksum hex-encoded, as in git genreated checksum.', max_length=40, verbose_name='SHA1_git'),
16+
field=models.CharField(blank=True, help_text='SHA1 checksum generated by Git, hex-encoded.', max_length=40, verbose_name='SHA1_git'),
1717
),
1818
]

scanpipe/migrations/0075_codebaseresource_parent_path_and_more.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class Migration(migrations.Migration):
1313
migrations.AddField(
1414
model_name='codebaseresource',
1515
name='parent_path',
16-
field=models.CharField(blank=True, help_text='The path of the resource\'s parent directory. Set to None for top-level (root) resources. Used to efficiently retrieve a directory\'s contents.', max_length=2000),
16+
field=models.CharField(blank=True, help_text="The path of the resource's parent directory. Set to empty string for top-level (root) resources. Used to efficiently retrieve a directory's contents.", max_length=2000),
1717
),
1818
migrations.AddIndex(
1919
model_name='codebaseresource',

0 commit comments

Comments
 (0)