Skip to content

Commit

Permalink
on delete
Browse files Browse the repository at this point in the history
  • Loading branch information
somewes committed Apr 20, 2018
1 parent 206b209 commit 22c442c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entity_event_slack/migrations/0001_initial.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class Migration(migrations.Migration):
migrations.CreateModel(
name='SlackMedium',
fields=[
('medium_ptr', models.OneToOneField(serialize=False, to='entity_event.Medium', auto_created=True, primary_key=True, parent_link=True)),
('medium_ptr', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, serialize=False, to='entity_event.Medium', auto_created=True, primary_key=True, parent_link=True)),
('api_token', models.TextField()),
('channel', models.TextField()),
('creation_time', models.DateTimeField(auto_now_add=True)),
Expand Down

0 comments on commit 22c442c

Please sign in to comment.