Skip to content

Commit aa4aba8

Browse files
committed
migrations: revert change to 0003, squash 0003-0005
Fixes #88.
1 parent dfaaa93 commit aa4aba8

File tree

2 files changed

+31
-1
lines changed

2 files changed

+31
-1
lines changed

django_fsm_log/migrations/0003_statelog_description.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ class Migration(migrations.Migration):
1515
migrations.AddField(
1616
model_name='statelog',
1717
name='description',
18-
field=models.TextField(blank=True, null=True),
18+
field=models.TextField(blank=True),
1919
),
2020
]
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Generated by Django 2.1.4 on 2018-12-13 10:54
2+
3+
from django.db import migrations, models
4+
5+
6+
class Migration(migrations.Migration):
7+
8+
replaces = [('django_fsm_log', '0003_statelog_description'), ('django_fsm_log', '0004_add_source_state'), ('django_fsm_log', '0005_description_null')]
9+
10+
dependencies = [
11+
('django_fsm_log', '0002_auto_20151207_1521'),
12+
]
13+
14+
operations = [
15+
migrations.AddField(
16+
model_name='statelog',
17+
name='description',
18+
field=models.TextField(blank=True, null=True),
19+
),
20+
migrations.AddField(
21+
model_name='statelog',
22+
name='source_state',
23+
field=models.CharField(blank=True, db_index=True, default=None, max_length=255, null=True),
24+
),
25+
migrations.AlterField(
26+
model_name='statelog',
27+
name='state',
28+
field=models.CharField(db_index=True, max_length=255, verbose_name='Target state'),
29+
),
30+
]

0 commit comments

Comments
 (0)