bornhack-website/src/shop/migrations/0015_coinifyapiinvoice_coinifycallback.py
Thomas Steen Rasmussen 00af109e2f
add flake8 and isort to pre-commit config, make flake8 and isort happy (#441)
* add flake8 to pre-commit config, and fixup many things to make flake8 happy

* add isort and sort all imports, add to pre-commit and requirements
2020-02-12 13:10:41 +01:00

64 lines
2 KiB
Python

# -*- coding: utf-8 -*-
# Generated by Django 1.9.2 on 2016-05-29 10:47
import django.contrib.postgres.fields.jsonb
import django.db.models.deletion
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [("shop", "0014_ticket_name")]
operations = [
migrations.CreateModel(
name="CoinifyAPIInvoice",
fields=[
(
"id",
models.AutoField(
auto_created=True,
primary_key=True,
serialize=False,
verbose_name="ID",
),
),
("created", models.DateTimeField(auto_now_add=True)),
("updated", models.DateTimeField(auto_now=True)),
("invoicejson", django.contrib.postgres.fields.jsonb.JSONField()),
(
"order",
models.OneToOneField(
on_delete=django.db.models.deletion.CASCADE, to="shop.Order"
),
),
],
options={"abstract": False},
),
migrations.CreateModel(
name="CoinifyCallback",
fields=[
(
"id",
models.AutoField(
auto_created=True,
primary_key=True,
serialize=False,
verbose_name="ID",
),
),
("created", models.DateTimeField(auto_now_add=True)),
("updated", models.DateTimeField(auto_now=True)),
("payload", django.contrib.postgres.fields.jsonb.JSONField()),
(
"order",
models.ForeignKey(
on_delete=django.db.models.deletion.CASCADE, to="shop.Order"
),
),
],
options={"abstract": False},
),
]