This commit is contained in:
lizerk 2026-03-12 01:09:51 +03:00
parent f58b87c9a8
commit d87e8ed796

View File

@ -82,7 +82,7 @@ def migrate_comments_forward(apps, schema_editor):
m.id,
c.image,
'image',
substr(c.image, instr(c.image, '/') + 1),
substring(c.image from '[^/]*$'),
0,
c.created_at
FROM feed_comment c
@ -108,7 +108,7 @@ def migrate_comments_forward(apps, schema_editor):
m.id,
c.attachment,
'file',
substr(c.attachment, instr(c.attachment, '/') + 1),
substring(c.attachment from '[^/]*$'),
0,
c.created_at
FROM feed_comment c