mirror of
https://github.com/Sheldan/Sissi.git
synced 2026-01-26 19:21:43 +00:00
[SIS-xxx] making quote attachment URL column larger
changing migration script for starboard/quotes
This commit is contained in:
@@ -4,6 +4,7 @@ def import_quotes(posts, con):
|
||||
for post in posts:
|
||||
if 'content' not in post:
|
||||
print(f"Skipping {post['message_id']} because no content, did it fail?")
|
||||
continue
|
||||
print(f"Inserting {post['message_id']}")
|
||||
statement = text("""INSERT INTO quote(author_user_in_server_id, adder_user_in_server_id, source_channel_id,
|
||||
server_id, message_id, text, created)
|
||||
|
||||
Reference in New Issue
Block a user