mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
Migrate from AutoField to BigAutoField (#3493)
This commit is contained in:
26
src/pretix/plugins/badges/migrations/0003_bigint.py
Normal file
26
src/pretix/plugins/badges/migrations/0003_bigint.py
Normal file
@@ -0,0 +1,26 @@
|
||||
# Generated by Django 4.2.4 on 2023-09-26 12:01
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
dependencies = [
|
||||
("badges", "0002_auto_20190201_1424"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name="badgeitem",
|
||||
name="id",
|
||||
field=models.BigAutoField(
|
||||
auto_created=True, primary_key=True, serialize=False
|
||||
),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name="badgelayout",
|
||||
name="id",
|
||||
field=models.BigAutoField(
|
||||
auto_created=True, primary_key=True, serialize=False
|
||||
),
|
||||
),
|
||||
]
|
||||
33
src/pretix/plugins/banktransfer/migrations/0010_bigint.py
Normal file
33
src/pretix/plugins/banktransfer/migrations/0010_bigint.py
Normal file
@@ -0,0 +1,33 @@
|
||||
# Generated by Django 4.2.4 on 2023-09-26 12:01
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
dependencies = [
|
||||
("banktransfer", "0009_banktransaction_currency"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name="bankimportjob",
|
||||
name="id",
|
||||
field=models.BigAutoField(
|
||||
auto_created=True, primary_key=True, serialize=False
|
||||
),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name="banktransaction",
|
||||
name="id",
|
||||
field=models.BigAutoField(
|
||||
auto_created=True, primary_key=True, serialize=False
|
||||
),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name="refundexport",
|
||||
name="id",
|
||||
field=models.BigAutoField(
|
||||
auto_created=True, primary_key=True, serialize=False
|
||||
),
|
||||
),
|
||||
]
|
||||
19
src/pretix/plugins/paypal/migrations/0004_bigint.py
Normal file
19
src/pretix/plugins/paypal/migrations/0004_bigint.py
Normal file
@@ -0,0 +1,19 @@
|
||||
# Generated by Django 4.2.4 on 2023-09-26 12:01
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
dependencies = [
|
||||
("paypal", "0003_migrate_to_v2"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name="referencedpaypalobject",
|
||||
name="id",
|
||||
field=models.BigAutoField(
|
||||
auto_created=True, primary_key=True, serialize=False
|
||||
),
|
||||
),
|
||||
]
|
||||
23
src/pretix/plugins/sendmail/migrations/0007_bigint.py
Normal file
23
src/pretix/plugins/sendmail/migrations/0007_bigint.py
Normal file
@@ -0,0 +1,23 @@
|
||||
# Generated by Django 4.2.4 on 2023-09-26 12:01
|
||||
|
||||
import django.db.models.deletion
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
dependencies = [
|
||||
("pretixbase", "0246_bigint"),
|
||||
("sendmail", "0006_rule_subevent_alter_rule_checked_in_status"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name="rule",
|
||||
name="subevent",
|
||||
field=models.ForeignKey(
|
||||
null=True,
|
||||
on_delete=django.db.models.deletion.PROTECT,
|
||||
to="pretixbase.subevent",
|
||||
),
|
||||
),
|
||||
]
|
||||
26
src/pretix/plugins/stripe/migrations/0005_bigint.py
Normal file
26
src/pretix/plugins/stripe/migrations/0005_bigint.py
Normal file
@@ -0,0 +1,26 @@
|
||||
# Generated by Django 4.2.4 on 2023-09-26 12:01
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
dependencies = [
|
||||
("stripe", "0004_auto_20211208_1407"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name="referencedstripeobject",
|
||||
name="id",
|
||||
field=models.BigAutoField(
|
||||
auto_created=True, primary_key=True, serialize=False
|
||||
),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name="registeredapplepaydomain",
|
||||
name="id",
|
||||
field=models.BigAutoField(
|
||||
auto_created=True, primary_key=True, serialize=False
|
||||
),
|
||||
),
|
||||
]
|
||||
33
src/pretix/plugins/ticketoutputpdf/migrations/0008_bigint.py
Normal file
33
src/pretix/plugins/ticketoutputpdf/migrations/0008_bigint.py
Normal file
@@ -0,0 +1,33 @@
|
||||
# Generated by Django 4.2.4 on 2023-09-26 12:01
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
dependencies = [
|
||||
("ticketoutputpdf", "0007_auto_20181123_1059"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name="ticketlayout",
|
||||
name="id",
|
||||
field=models.BigAutoField(
|
||||
auto_created=True, primary_key=True, serialize=False
|
||||
),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name="ticketlayout",
|
||||
name="layout",
|
||||
field=models.TextField(
|
||||
default='[{\n "type":"textarea",\n "left":"17.50",\n "bottom":"274.60",\n "fontsize":"16.0",\n "color":[\n 0,\n 0,\n 0,\n 1\n ],\n "fontfamily":"Open Sans",\n "bold":false,\n "italic":false,\n "width":"175.00",\n "content":"event_name",\n "text":"Sample event name",\n "align":"left"\n},\n{\n "type":"textarea",\n "left":"17.50",\n "bottom":"262.90",\n "fontsize":"13.0",\n "color":[\n 0,\n 0,\n 0,\n 1\n ],\n "fontfamily":"Open Sans",\n "bold":false,\n "italic":false,\n "width":"110.00",\n "content":"itemvar",\n "text":"Sample product – sample variation",\n "align":"left"\n},\n{\n "type":"textarea",\n "left":"17.50",\n "bottom":"252.50",\n "fontsize":"13.0",\n "color":[\n 0,\n 0,\n 0,\n 1\n ],\n "fontfamily":"Open Sans",\n "bold":false,\n "italic":false,\n "width":"110.00",\n "content":"attendee_name",\n "text":"John Doe",\n "align":"left"\n},\n{\n "type":"textarea",\n "left":"17.50",\n "bottom":"242.10",\n "fontsize":"13.0",\n "color":[\n 0,\n 0,\n 0,\n 1\n ],\n "fontfamily":"Open Sans",\n "bold":false,\n "italic":false,\n "width":"110.00",\n "content":"event_begin",\n "text":"2016-05-31 20:00",\n "align":"left"\n},\n{\n "type":"textarea",\n "left":"17.50",\n "bottom":"231.70",\n "fontsize":"13.0",\n "color":[\n 0,\n 0,\n 0,\n 1\n ],\n "fontfamily":"Open Sans",\n "bold":false,\n "italic":false,\n "width":"110.00",\n "content":"seat",\n "text":"Ground floor, Row 3, Seat 4",\n "align":"left"\n},\n{\n "type":"textarea",\n "left":"17.50",\n "bottom":"204.80",\n "fontsize":"13.0",\n "color":[\n 0,\n 0,\n 0,\n 1\n ],\n "fontfamily":"Open Sans",\n "bold":false,\n "italic":false,\n "width":"110.00",\n "content":"event_location",\n "text":"Random City",\n "align":"left"\n},\n{\n "type":"textarea",\n "left":"17.50",\n "bottom":"194.50",\n "fontsize":"13.0",\n "color":[\n 0,\n 0,\n 0,\n 1\n ],\n "fontfamily":"Open Sans",\n "bold":false,\n "italic":false,\n "width":"30.00",\n "content":"order",\n "text":"A1B2C",\n "align":"left"\n},\n{\n "type":"textarea",\n "left":"52.50",\n "bottom":"194.50",\n "fontsize":"13.0",\n "color":[\n 0,\n 0,\n 0,\n 1\n ],\n "fontfamily":"Open Sans",\n "bold":false,\n "italic":false,\n "width":"45.00",\n "content":"price",\n "text":"123.45 EUR",\n "align":"right"\n},\n{\n "type":"textarea",\n "left":"102.50",\n "bottom":"194.50",\n "fontsize":"13.0",\n "color":[\n 0,\n 0,\n 0,\n 1\n ],\n "fontfamily":"Open Sans",\n "bold":false,\n "italic":false,\n "width":"90.00",\n "content":"secret",\n "text":"tdmruoekvkpbv1o2mv8xccvqcikvr58u",\n "align":"left"\n},\n{\n "type":"barcodearea",\n "left":"130.40",\n "bottom":"204.50",\n "size":"64.00",\n "content":"secret"\n},\n{\n "type":"poweredby",\n "left":"88.72",\n "bottom":"10.00",\n "size":"20.00",\n "content":"dark"\n}]'
|
||||
),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name="ticketlayoutitem",
|
||||
name="id",
|
||||
field=models.BigAutoField(
|
||||
auto_created=True, primary_key=True, serialize=False
|
||||
),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user