# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2016-08-09 14:27 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('wallets', '0004_invoicehistory_balance'), ] operations = [ migrations.CreateModel( name='WithDraw', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('sum', models.DecimalField(decimal_places=0, max_digits=10)), ('created', models.DateTimeField(default=django.utils.timezone.now)), ('yandex_card', models.CharField(max_length=30)), ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='with_draw', to=settings.AUTH_USER_MODEL)), ], options={ 'verbose_name_plural': 'Заявки на вывод средств', 'ordering': ('-created',), 'verbose_name': 'Заявка на вывод средств', }, ), migrations.AlterModelOptions( name='invoicehistory', options={'ordering': ('-created',), 'verbose_name': 'Счет(История)', 'verbose_name_plural': 'Счет(История)'}, ), migrations.AlterField( model_name='invoicehistory', name='type', field=models.CharField(blank=True, max_length=20, null=True), ), ]