diff options
author | lxf <sng@luxagraf.net> | 2019-02-20 18:09:21 +0000 |
---|---|---|
committer | lxf <sng@luxagraf.net> | 2019-02-20 18:09:21 +0000 |
commit | 027cb3c059db69a2f243f60e2fe42c32a6585a1b (patch) | |
tree | d80e5309e41cc3f6c939ab36b197f7923736160b /app/jrnl/migrations | |
parent | 55bb92fceb84cab8f52155d4265473806aca9d69 (diff) |
fixed strange db bug with homepage popular
Diffstat (limited to 'app/jrnl/migrations')
-rw-r--r-- | app/jrnl/migrations/0029_home_more_popular.py | 18 | ||||
-rw-r--r-- | app/jrnl/migrations/0030_remove_home_popular.py | 17 | ||||
-rw-r--r-- | app/jrnl/migrations/0031_auto_20190220_1136.py | 22 |
3 files changed, 57 insertions, 0 deletions
diff --git a/app/jrnl/migrations/0029_home_more_popular.py b/app/jrnl/migrations/0029_home_more_popular.py new file mode 100644 index 0000000..2adc219 --- /dev/null +++ b/app/jrnl/migrations/0029_home_more_popular.py @@ -0,0 +1,18 @@ +# Generated by Django 2.1.2 on 2019-02-20 11:33 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('jrnl', '0028_auto_20190218_1614'), + ] + + operations = [ + migrations.AddField( + model_name='home', + name='more_popular', + field=models.ManyToManyField(related_name='morepopular', to='jrnl.Entry'), + ), + ] diff --git a/app/jrnl/migrations/0030_remove_home_popular.py b/app/jrnl/migrations/0030_remove_home_popular.py new file mode 100644 index 0000000..8ac7408 --- /dev/null +++ b/app/jrnl/migrations/0030_remove_home_popular.py @@ -0,0 +1,17 @@ +# Generated by Django 2.1.2 on 2019-02-20 11:35 + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('jrnl', '0029_home_more_popular'), + ] + + operations = [ + migrations.RemoveField( + model_name='home', + name='popular', + ), + ] diff --git a/app/jrnl/migrations/0031_auto_20190220_1136.py b/app/jrnl/migrations/0031_auto_20190220_1136.py new file mode 100644 index 0000000..621b692 --- /dev/null +++ b/app/jrnl/migrations/0031_auto_20190220_1136.py @@ -0,0 +1,22 @@ +# Generated by Django 2.1.2 on 2019-02-20 11:36 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('jrnl', '0030_remove_home_popular'), + ] + + operations = [ + migrations.RemoveField( + model_name='home', + name='more_popular', + ), + migrations.AddField( + model_name='home', + name='popular', + field=models.ManyToManyField(related_name='popular', to='jrnl.Entry'), + ), + ] |