updated link model for integration

This commit is contained in:
Alexander Karpov 2023-08-06 09:23:21 +03:00
parent 3bd43af70a
commit a4b6b39a2d
2 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,16 @@
# Generated by Django 4.2.4 on 2023-08-06 06:13
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
("shortener", "0004_alter_linkviewmeta_options"),
]
operations = [
migrations.AlterModelTable(
name="link",
table="short_link",
),
]

View File

@ -33,6 +33,7 @@ def __str__(self):
class Meta: class Meta:
ordering = ["-modified"] ordering = ["-modified"]
db_table = "short_link"
class LinkViewMeta(models.Model): class LinkViewMeta(models.Model):