This repository has been archived by the owner on Dec 13, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #226 from open-contracting/missing-migrations
ci: Check for missing migrations
- Loading branch information
Showing
6 changed files
with
87 additions
and
2 deletions.
There are no files selected for viewing
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
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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
exclude: /migrations/ | ||
|
||
repos: | ||
- repo: https://github.com/psf/black | ||
rev: 20.8b1 | ||
|
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,48 @@ | ||
# Generated by Django 3.1.7 on 2021-03-31 15:26 | ||
|
||
import content.validators | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('content', '0044_auto_20210316_1049'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterModelOptions( | ||
name='countrypartner', | ||
options={'verbose_name': 'Country Partner', 'verbose_name_plural': 'Country Partners'}, | ||
), | ||
migrations.AlterModelOptions( | ||
name='dataimport', | ||
options={'verbose_name': 'Data Import', 'verbose_name_plural': 'Data Imports'}, | ||
), | ||
migrations.AlterModelOptions( | ||
name='eventspage', | ||
options={'verbose_name': 'Event', 'verbose_name_plural': 'Events'}, | ||
), | ||
migrations.AlterModelOptions( | ||
name='insightspage', | ||
options={'verbose_name': 'News & Blog', 'verbose_name_plural': 'News & Blogs'}, | ||
), | ||
migrations.AlterModelOptions( | ||
name='resourcespage', | ||
options={'verbose_name': 'Resource', 'verbose_name_plural': 'Resources'}, | ||
), | ||
migrations.AlterModelOptions( | ||
name='staticpage', | ||
options={'verbose_name': 'Static Page', 'verbose_name_plural': 'Static Pages'}, | ||
), | ||
migrations.AddField( | ||
model_name='dataimport', | ||
name='validated', | ||
field=models.BooleanField(blank=True, default=False), | ||
), | ||
migrations.AlterField( | ||
model_name='dataimport', | ||
name='import_file', | ||
field=models.FileField(null=True, upload_to='documents', validators=[content.validators.validate_file_extension]), | ||
), | ||
] |
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,33 @@ | ||
# Generated by Django 3.1.7 on 2021-03-31 15:26 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('country', '0029_auto_20210325_1106'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='redflag', | ||
name='description', | ||
field=models.CharField(blank=True, db_index=True, help_text='Not used.', max_length=300, null=True, verbose_name='Description'), | ||
), | ||
migrations.AlterField( | ||
model_name='redflag', | ||
name='function_name', | ||
field=models.CharField(blank=True, db_index=True, help_text='This corresponds to a function in the code. Do not edit it unless you are a developer.', max_length=300, null=True, verbose_name='Function'), | ||
), | ||
migrations.AlterField( | ||
model_name='redflag', | ||
name='implemented', | ||
field=models.BooleanField(blank=True, default=False, help_text='Display the red flag. Do not enable unless you know the red flag is implemented.', null=True), | ||
), | ||
migrations.AlterField( | ||
model_name='redflag', | ||
name='title', | ||
field=models.CharField(blank=True, db_index=True, help_text='A short description of the red flag, as shown in the frontend.', max_length=250, null=True, verbose_name='Title'), | ||
), | ||
] |
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 |
---|---|---|
@@ -1,2 +1,3 @@ | ||
[tool.black] | ||
line-length = 119 | ||
exclude = 'migrations' |
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