mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-16 03:24:17 +02:00
enforce new models to use uuid keys
This commit is contained in:
@@ -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'),
|
||||
),
|
||||
]
|
Reference in New Issue
Block a user