mirror of
https://github.com/Alexander-D-Karpov/akarpov
synced 2024-11-22 07:26:33 +03:00
updated link model for integration
This commit is contained in:
parent
3bd43af70a
commit
a4b6b39a2d
16
akarpov/tools/shortener/migrations/0005_alter_link_table.py
Normal file
16
akarpov/tools/shortener/migrations/0005_alter_link_table.py
Normal 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",
|
||||||
|
),
|
||||||
|
]
|
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user