ЛР2 - БВТ2303 - Самсонов - 4 #25

Closed
Samsonov_BVT2303 wants to merge 2 commits from Samsonov_BVT2303/mtusi2026lab2:master into master
Showing only changes of commit bf0c2905ef - Show all commits
+1 -1
View File
@@ -55,7 +55,7 @@ def main() -> None:
"""
INSERT INTO messages (id, chat_id, sender_id, text, created_at)
SELECT gen_random_uuid(), %s, %s, 'm', %s + (g || ' seconds')::interval
FROM generate_series(%s, %s) AS g
FROM generate_series(%s::bigint, %s::bigint) AS g
""",
(chat_id, user_id, START, count + 1, 10000),
)