Skip to content

Commit 2f93511

Browse files
authored
Sphinx domain: change type of ID field (#9482)
1 parent f70d4a9 commit 2f93511

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

readthedocs/sphinx_domains/apps.py

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
"""Sphinx domains app."""
2+
3+
from django.apps import AppConfig
4+
5+
6+
class SphinxDomainsConfig(AppConfig):
7+
default_auto_field = "django.db.models.BigAutoField"
8+
name = "readthedocs.sphinx_domains"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Generated by Django 3.2.13 on 2022-08-08 20:23
2+
3+
from django.db import migrations, models
4+
5+
6+
class Migration(migrations.Migration):
7+
8+
dependencies = [
9+
("sphinx_domains", "0006_update_timestamp_fields"),
10+
]
11+
12+
operations = [
13+
migrations.AlterField(
14+
model_name="sphinxdomain",
15+
name="id",
16+
field=models.BigAutoField(
17+
auto_created=True, primary_key=True, serialize=False, verbose_name="ID"
18+
),
19+
),
20+
]

0 commit comments

Comments
 (0)