mirror of
https://github.com/postgres/pgweb.git
synced 2025-08-01 15:54:53 +00:00
Ensure "help_text" segments line up on feature matrix model
There was a subtle difference between the migration and the model itself, which was leading to a migration warning, even though nothing about the help_text is persistent in an actual database.
This commit is contained in:
@ -27,7 +27,7 @@ class FeatureGroup(models.Model):
|
||||
class Feature(models.Model):
|
||||
group = models.ForeignKey(FeatureGroup, null=False, blank=False, on_delete=models.CASCADE)
|
||||
featurename = models.CharField(max_length=100, null=False, blank=False)
|
||||
featuredescription = models.TextField(null=False, blank=True, help_text="""Supports Markdown. A plain URL will link directly to that URL.""")
|
||||
featuredescription = models.TextField(null=False, blank=True, help_text="""Supports Markdown. A single, plain URL will link directly to that URL.""")
|
||||
# WARNING! All fields that start with "v" will be considered versions!
|
||||
v74 = models.IntegerField(verbose_name="7.4", null=False, blank=False, default=0, choices=choices)
|
||||
v74.visible_default = False
|
||||
|
Reference in New Issue
Block a user