forked from uncloud/uncloud
Rebuild paymentmethod/stripe migrations from master
This commit is contained in:
parent
545727afe7
commit
c086dbd357
3 changed files with 10 additions and 41 deletions
|
@ -1,4 +1,4 @@
|
||||||
# Generated by Django 3.0.4 on 2020-03-05 08:51
|
# Generated by Django 3.0.3 on 2020-03-05 15:24
|
||||||
|
|
||||||
from django.db import migrations, models
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
@ -6,18 +6,22 @@ from django.db import migrations, models
|
||||||
class Migration(migrations.Migration):
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
('uncloud_pay', '0017_auto_20200304_1723'),
|
('uncloud_pay', '0001_initial'),
|
||||||
]
|
]
|
||||||
|
|
||||||
operations = [
|
operations = [
|
||||||
|
migrations.RenameField(
|
||||||
|
model_name='paymentmethod',
|
||||||
|
old_name='stripe_card_id',
|
||||||
|
new_name='stripe_payment_method_id',
|
||||||
|
),
|
||||||
migrations.AddField(
|
migrations.AddField(
|
||||||
model_name='paymentmethod',
|
model_name='paymentmethod',
|
||||||
name='stripe_setup_intent_id',
|
name='stripe_setup_intent_id',
|
||||||
field=models.CharField(blank=True, max_length=32, null=True),
|
field=models.CharField(blank=True, max_length=32, null=True),
|
||||||
),
|
),
|
||||||
migrations.AlterField(
|
migrations.AlterUniqueTogether(
|
||||||
model_name='paymentmethod',
|
name='paymentmethod',
|
||||||
name='stripe_card_id',
|
unique_together=set(),
|
||||||
field=models.CharField(blank=True, max_length=32, null=True),
|
|
||||||
),
|
),
|
||||||
]
|
]
|
|
@ -1,17 +0,0 @@
|
||||||
# Generated by Django 3.0.4 on 2020-03-04 17:23
|
|
||||||
|
|
||||||
from django.db import migrations
|
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration):
|
|
||||||
|
|
||||||
dependencies = [
|
|
||||||
('uncloud_pay', '0001_initial'),
|
|
||||||
]
|
|
||||||
|
|
||||||
operations = [
|
|
||||||
migrations.AlterUniqueTogether(
|
|
||||||
name='paymentmethod',
|
|
||||||
unique_together=set(),
|
|
||||||
),
|
|
||||||
]
|
|
|
@ -1,18 +0,0 @@
|
||||||
# Generated by Django 3.0.4 on 2020-03-05 09:11
|
|
||||||
|
|
||||||
from django.db import migrations
|
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration):
|
|
||||||
|
|
||||||
dependencies = [
|
|
||||||
('uncloud_pay', '0019_auto_20200305_0851'),
|
|
||||||
]
|
|
||||||
|
|
||||||
operations = [
|
|
||||||
migrations.RenameField(
|
|
||||||
model_name='paymentmethod',
|
|
||||||
old_name='stripe_card_id',
|
|
||||||
new_name='stripe_payment_method_id',
|
|
||||||
),
|
|
||||||
]
|
|
Loading…
Reference in a new issue