Skip to content

Commit

Permalink
chore(models): make unfinished migs (squashed)
Browse files Browse the repository at this point in the history
migrate first, squash later

chore: squash
  • Loading branch information
hUwUtao committed Jun 2, 2024
1 parent 85b3cbc commit 7e890f4
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 17 deletions.
31 changes: 31 additions & 0 deletions blog/migrations/0003_blog_mod_prop.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Generated by Django 4.2.13 on 2024-06-02 02:52

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

replaces = [('blog', '0003_remove_blogpage_date'), ('blog', '0004_alter_blogpage_intro_alter_blogpage_thumb')]

dependencies = [
('wagtailimages', '0026_delete_uploadedimage'),
('blog', '0002_img_tabl_ref'),
]

operations = [
migrations.RemoveField(
model_name='blogpage',
name='date',
),
migrations.AlterField(
model_name='blogpage',
name='intro',
field=models.CharField(blank=True, max_length=250),
),
migrations.AlterField(
model_name='blogpage',
name='thumb',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailimages.image'),
),
]
17 changes: 0 additions & 17 deletions blog/migrations/0003_remove_blogpage_date.py

This file was deleted.

0 comments on commit 7e890f4

Please sign in to comment.