-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create member foreign key in failed_payment
- Loading branch information
1 parent
b6536bf
commit 2c45a15
Showing
2 changed files
with
30 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Generated by Django 3.1.7 on 2021-03-23 16:11 | ||
|
||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('memberships', '0008_member_renewal_date'), | ||
] | ||
|
||
operations = [ | ||
migrations.RemoveField( | ||
model_name='failedpayment', | ||
name='stripe_customer_id', | ||
), | ||
migrations.AddField( | ||
model_name='failedpayment', | ||
name='member', | ||
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='memberships.member'), | ||
), | ||
migrations.AlterField( | ||
model_name='member', | ||
name='stripe_customer_id', | ||
field=models.CharField(max_length=255, unique=True), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters