diff options
author | 2019-04-20 14:41:40 +0200 | |
---|---|---|
committer | 2019-04-20 14:41:40 +0200 | |
commit | 14f8ca26b85f7cc3e009fb9ba2ac549e751c8068 (patch) | |
tree | 041b093b2c9296fe23eb6e1bb54d0748fbe58dfa /pydis_site/apps/home/migrations | |
parent | Revert linter to non-verbose. (diff) | |
parent | Make the flakes happy. (diff) |
Merge pull request #213 from python-discord/django_front_page
Django front page
Diffstat (limited to 'pydis_site/apps/home/migrations')
-rw-r--r-- | pydis_site/apps/home/migrations/0001_initial.py | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pydis_site/apps/home/migrations/0001_initial.py b/pydis_site/apps/home/migrations/0001_initial.py new file mode 100644 index 00000000..a2bf9f3e --- /dev/null +++ b/pydis_site/apps/home/migrations/0001_initial.py @@ -0,0 +1,26 @@ +# Generated by Django 2.2 on 2019-04-16 15:27 + +from django.db import migrations, models +import django.utils.timezone + + +class Migration(migrations.Migration): + + initial = True + + dependencies = [ + ] + + operations = [ + migrations.CreateModel( + name='RepositoryMetadata', + fields=[ + ('last_updated', models.DateTimeField(default=django.utils.timezone.now, help_text='The date and time this data was last fetched.')), + ('repo_name', models.CharField(help_text='The full name of the repo, e.g. python-discord/site', max_length=40, primary_key=True, serialize=False)), + ('description', models.CharField(help_text='The description of the repo.', max_length=400)), + ('forks', models.IntegerField(help_text='The number of forks of this repo')), + ('stargazers', models.IntegerField(help_text='The number of stargazers for this repo')), + ('language', models.CharField(help_text='The primary programming language used for this repo.', max_length=20)), + ], + ), + ] |