Remove "Transaction" migration for membershipworks
That table shouldn't be implemented yet :(
This commit is contained in:
parent
60217a600b
commit
c23397c102
@ -281,66 +281,4 @@ class Migration(migrations.Migration):
|
||||
"managed": False,
|
||||
},
|
||||
),
|
||||
migrations.CreateModel(
|
||||
name="Transaction",
|
||||
fields=[
|
||||
(
|
||||
"id",
|
||||
models.BigAutoField(
|
||||
auto_created=True,
|
||||
primary_key=True,
|
||||
serialize=False,
|
||||
verbose_name="ID",
|
||||
),
|
||||
),
|
||||
("sid", models.CharField(max_length=27, null=True)),
|
||||
("timestamp", models.DateTimeField()),
|
||||
("type", models.TextField(null=True)),
|
||||
(
|
||||
"sum",
|
||||
models.DecimalField(decimal_places=4, max_digits=13, null=True),
|
||||
),
|
||||
(
|
||||
"fee",
|
||||
models.DecimalField(decimal_places=4, max_digits=13, null=True),
|
||||
),
|
||||
("event_id", models.TextField(null=True)),
|
||||
("for_what", models.TextField(db_column="For", null=True)),
|
||||
("items", models.TextField(db_column="Items", null=True)),
|
||||
(
|
||||
"discount_code",
|
||||
models.TextField(db_column="Discount Code", null=True),
|
||||
),
|
||||
("note", models.TextField(db_column="Note", null=True)),
|
||||
("name", models.TextField(db_column="Name", null=True)),
|
||||
(
|
||||
"contact_person",
|
||||
models.TextField(db_column="Contact Person", null=True),
|
||||
),
|
||||
("full_address", models.TextField(db_column="Full Address", null=True)),
|
||||
("street", models.TextField(db_column="Street", null=True)),
|
||||
("city", models.TextField(db_column="City", null=True)),
|
||||
(
|
||||
"state_province",
|
||||
models.TextField(db_column="State/Province", null=True),
|
||||
),
|
||||
("postal_code", models.TextField(db_column="Postal Code", null=True)),
|
||||
("country", models.TextField(db_column="Country", null=True)),
|
||||
("phone", models.TextField(db_column="Phone", null=True)),
|
||||
("email", models.TextField(db_column="Email", null=True)),
|
||||
(
|
||||
"member",
|
||||
models.ForeignKey(
|
||||
db_column="uid",
|
||||
null=True,
|
||||
on_delete=django.db.models.deletion.PROTECT,
|
||||
related_name="transactions",
|
||||
to="membershipworks.member",
|
||||
),
|
||||
),
|
||||
],
|
||||
options={
|
||||
"db_table": "transactions",
|
||||
},
|
||||
),
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user