Skip to content

Commit a2336b6

Browse files
authored
Merge pull request #42 from withlogicco/big-auto-field
Switch to BigAutoField
2 parents 23237e6 + 706f9b6 commit a2336b6

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

prose/apps.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22

33

44
class ProseConfig(AppConfig):
5+
default_auto_field = "django.db.models.BigAutoField"
56
name = "prose"
67
label = "prose"
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Generated by Django 4.2 on 2023-04-18 10:39
2+
3+
from django.db import migrations, models
4+
5+
6+
class Migration(migrations.Migration):
7+
dependencies = [
8+
("prose", "0001_initial"),
9+
]
10+
11+
operations = [
12+
migrations.AlterField(
13+
model_name="document",
14+
name="id",
15+
field=models.BigAutoField(
16+
auto_created=True, primary_key=True, serialize=False, verbose_name="ID"
17+
),
18+
),
19+
]

0 commit comments

Comments
 (0)