enforce new models to use uuid keys
This commit is contained in:
parent
1b67dd5c45
commit
6949803395
2 changed files with 24 additions and 0 deletions
|
@ -3,3 +3,4 @@ from django.apps import AppConfig
|
|||
|
||||
class CoreConfig(AppConfig):
|
||||
name = 'core'
|
||||
default_auto_field = 'django.db.models.UUIDField'
|
||||
|
|
23
archivebox/core/migrations/0020_auto_20210410_1031.py
Normal file
23
archivebox/core/migrations/0020_auto_20210410_1031.py
Normal file
|
@ -0,0 +1,23 @@
|
|||
# Generated by Django 3.1.8 on 2021-04-10 10:31
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('core', '0019_auto_20210401_0654'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='archiveresult',
|
||||
name='id',
|
||||
field=models.AutoField(primary_key=True, serialize=False, verbose_name='ID'),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='tag',
|
||||
name='id',
|
||||
field=models.AutoField(primary_key=True, serialize=False, verbose_name='ID'),
|
||||
),
|
||||
]
|
Loading…
Reference in a new issue