Skip to content

Commit

Permalink
Replace migration dependency artifacts of django-model-utils
Browse files Browse the repository at this point in the history
  • Loading branch information
jleclanche committed Aug 1, 2017
1 parent 3dbfabb commit 16114a4
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 92 deletions.
61 changes: 20 additions & 41 deletions djstripe/migrations/0001_initial.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import django.db.models.deletion
import django.utils.timezone
import jsonfield.fields
import model_utils.fields


class Migration(migrations.Migration):
Expand All @@ -20,10 +19,8 @@ class Migration(migrations.Migration):
name='Charge',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('created', model_utils.fields.AutoCreatedField(default=django.utils.timezone.now,
verbose_name='created', editable=False)),
('modified', model_utils.fields.AutoLastModifiedField(default=django.utils.timezone.now,
verbose_name='modified', editable=False)),
('created', models.DateTimeField(default=django.utils.timezone.now, verbose_name='created', editable=False)),
('modified', models.DateTimeField(default=django.utils.timezone.now, verbose_name='modified', editable=False)),
('stripe_id', models.CharField(unique=True, max_length=50)),
('card_last_4', models.CharField(max_length=4, blank=True)),
('card_kind', models.CharField(max_length=50, blank=True)),
Expand All @@ -46,10 +43,8 @@ class Migration(migrations.Migration):
name='CurrentSubscription',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('created', model_utils.fields.AutoCreatedField(default=django.utils.timezone.now,
verbose_name='created', editable=False)),
('modified', model_utils.fields.AutoLastModifiedField(default=django.utils.timezone.now,
verbose_name='modified', editable=False)),
('created', models.DateTimeField(default=django.utils.timezone.now, verbose_name='created', editable=False)),
('modified', models.DateTimeField(default=django.utils.timezone.now, verbose_name='modified', editable=False)),
('plan', models.CharField(max_length=100)),
('quantity', models.IntegerField()),
('start', models.DateTimeField()),
Expand All @@ -72,10 +67,8 @@ class Migration(migrations.Migration):
name='Customer',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('created', model_utils.fields.AutoCreatedField(default=django.utils.timezone.now,
verbose_name='created', editable=False)),
('modified', model_utils.fields.AutoLastModifiedField(default=django.utils.timezone.now,
verbose_name='modified', editable=False)),
('created', models.DateTimeField(default=django.utils.timezone.now, verbose_name='created', editable=False)),
('modified', models.DateTimeField(default=django.utils.timezone.now, verbose_name='modified', editable=False)),
('stripe_id', models.CharField(unique=True, max_length=50)),
('card_fingerprint', models.CharField(max_length=200, blank=True)),
('card_last_4', models.CharField(max_length=4, blank=True)),
Expand All @@ -92,10 +85,8 @@ class Migration(migrations.Migration):
name='Event',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('created', model_utils.fields.AutoCreatedField(default=django.utils.timezone.now,
verbose_name='created', editable=False)),
('modified', model_utils.fields.AutoLastModifiedField(default=django.utils.timezone.now,
verbose_name='modified', editable=False)),
('created', models.DateTimeField(default=django.utils.timezone.now, verbose_name='created', editable=False)),
('modified', models.DateTimeField(default=django.utils.timezone.now, verbose_name='modified', editable=False)),
('stripe_id', models.CharField(unique=True, max_length=50)),
('kind', models.CharField(max_length=250)),
('livemode', models.BooleanField(default=False)),
Expand All @@ -114,10 +105,8 @@ class Migration(migrations.Migration):
name='EventProcessingException',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('created', model_utils.fields.AutoCreatedField(default=django.utils.timezone.now,
verbose_name='created', editable=False)),
('modified', model_utils.fields.AutoLastModifiedField(default=django.utils.timezone.now,
verbose_name='modified', editable=False)),
('created', models.DateTimeField(default=django.utils.timezone.now, verbose_name='created', editable=False)),
('modified', models.DateTimeField(default=django.utils.timezone.now, verbose_name='modified', editable=False)),
('data', models.TextField()),
('message', models.CharField(max_length=500)),
('traceback', models.TextField()),
Expand All @@ -132,10 +121,8 @@ class Migration(migrations.Migration):
name='Invoice',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('created', model_utils.fields.AutoCreatedField(default=django.utils.timezone.now,
verbose_name='created', editable=False)),
('modified', model_utils.fields.AutoLastModifiedField(default=django.utils.timezone.now,
verbose_name='modified', editable=False)),
('created', models.DateTimeField(default=django.utils.timezone.now, verbose_name='created', editable=False)),
('modified', models.DateTimeField(default=django.utils.timezone.now, verbose_name='modified', editable=False)),
('stripe_id', models.CharField(max_length=50)),
('attempted', models.NullBooleanField()),
('attempts', models.PositiveIntegerField(null=True)),
Expand All @@ -158,10 +145,8 @@ class Migration(migrations.Migration):
name='InvoiceItem',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('created', model_utils.fields.AutoCreatedField(default=django.utils.timezone.now,
verbose_name='created', editable=False)),
('modified', model_utils.fields.AutoLastModifiedField(default=django.utils.timezone.now,
verbose_name='modified', editable=False)),
('created', models.DateTimeField(default=django.utils.timezone.now, verbose_name='created', editable=False)),
('modified', models.DateTimeField(default=django.utils.timezone.now, verbose_name='modified', editable=False)),
('stripe_id', models.CharField(max_length=50)),
('amount', models.DecimalField(max_digits=7, decimal_places=2)),
('currency', models.CharField(max_length=10)),
Expand All @@ -183,10 +168,8 @@ class Migration(migrations.Migration):
name='Plan',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('created', model_utils.fields.AutoCreatedField(default=django.utils.timezone.now,
verbose_name='created', editable=False)),
('modified', model_utils.fields.AutoLastModifiedField(default=django.utils.timezone.now,
verbose_name='modified', editable=False)),
('created', models.DateTimeField(default=django.utils.timezone.now, verbose_name='created', editable=False)),
('modified', models.DateTimeField(default=django.utils.timezone.now, verbose_name='modified', editable=False)),
('stripe_id', models.CharField(unique=True, max_length=50)),
('name', models.CharField(max_length=100)),
('currency', models.CharField(max_length=10, choices=[('usd', 'U.S. Dollars'),
Expand All @@ -207,10 +190,8 @@ class Migration(migrations.Migration):
name='Transfer',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('created', model_utils.fields.AutoCreatedField(default=django.utils.timezone.now,
verbose_name='created', editable=False)),
('modified', model_utils.fields.AutoLastModifiedField(default=django.utils.timezone.now,
verbose_name='modified', editable=False)),
('created', models.DateTimeField(default=django.utils.timezone.now, verbose_name='created', editable=False)),
('modified', models.DateTimeField(default=django.utils.timezone.now, verbose_name='modified', editable=False)),
('stripe_id', models.CharField(unique=True, max_length=50)),
('amount', models.DecimalField(max_digits=7, decimal_places=2)),
('status', models.CharField(max_length=25)),
Expand Down Expand Up @@ -241,10 +222,8 @@ class Migration(migrations.Migration):
name='TransferChargeFee',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('created', model_utils.fields.AutoCreatedField(default=django.utils.timezone.now,
verbose_name='created', editable=False)),
('modified', model_utils.fields.AutoLastModifiedField(default=django.utils.timezone.now,
verbose_name='modified', editable=False)),
('created', models.DateTimeField(default=django.utils.timezone.now, verbose_name='created', editable=False)),
('modified', models.DateTimeField(default=django.utils.timezone.now, verbose_name='modified', editable=False)),
('amount', models.DecimalField(max_digits=7, decimal_places=2)),
('application', models.TextField(null=True, blank=True)),
('description', models.TextField(null=True, blank=True)),
Expand Down
Loading

0 comments on commit 16114a4

Please sign in to comment.