base: drop logs transaction_id index (#88960)
gitea/passerelle/pipeline/head This commit looks good
Details
gitea/passerelle/pipeline/head This commit looks good
Details
This commit is contained in:
parent
7449e69506
commit
030db11b6b
|
@ -0,0 +1,17 @@
|
|||
# Generated by Django 3.2.18 on 2024-04-09 16:56
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
dependencies = [
|
||||
('base', '0031_log_timestamp_brin_index'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='resourcelog',
|
||||
name='transaction_id',
|
||||
field=models.UUIDField(null=True),
|
||||
),
|
||||
]
|
|
@ -909,7 +909,7 @@ class ResourceLog(models.Model):
|
|||
sourceip = models.GenericIPAddressField(blank=True, null=True, verbose_name=_('Source IP'))
|
||||
message = models.TextField(verbose_name='message')
|
||||
extra = JSONField(verbose_name='extras', default=dict)
|
||||
transaction_id = models.UUIDField(null=True, db_index=True)
|
||||
transaction_id = models.UUIDField(null=True)
|
||||
|
||||
class Meta:
|
||||
ordering = ('id',)
|
||||
|
|
Loading…
Reference in New Issue