feat: add announcement channels, publishing and following (#3090)

This commit is contained in:
Hampus
2026-10-01 16:57:21 +02:00
committed by GitHub
parent 376afd2ad6
commit 7e4d5137f8
381 changed files with 45650 additions and 14076 deletions
+89
View File
@@ -3544,6 +3544,68 @@
"primary_key": "((guild_id), channel_id)",
"options": ""
},
{
"name": "crosspost_sources_by_channel",
"columns": [
{
"name": "source_channel_id",
"type": "bigint"
},
{
"name": "source_message_id",
"type": "bigint"
}
],
"primary_key": "((source_channel_id), source_message_id)",
"options": ""
},
{
"name": "crossposted_messages",
"columns": [
{
"name": "source_message_id",
"type": "bigint"
},
{
"name": "webhook_id",
"type": "bigint"
},
{
"name": "source_channel_id",
"type": "bigint"
},
{
"name": "target_guild_id",
"type": "bigint"
},
{
"name": "target_channel_id",
"type": "bigint"
},
{
"name": "target_message_id",
"type": "bigint"
},
{
"name": "state",
"type": "text"
},
{
"name": "reserved_at",
"type": "timestamp"
},
{
"name": "source_fingerprint",
"type": "text"
},
{
"name": "created_at",
"type": "timestamp"
}
],
"primary_key": "((source_message_id), webhook_id)",
"options": ""
},
{
"name": "data_service_search_index_files",
"columns": [
@@ -8524,6 +8586,14 @@
"name": "avatar_hash",
"type": "text"
},
{
"name": "source_guild_id",
"type": "bigint"
},
{
"name": "source_channel_id",
"type": "bigint"
},
{
"name": "version",
"type": "int"
@@ -8561,6 +8631,25 @@
],
"primary_key": "((guild_id), webhook_id)",
"options": ""
},
{
"name": "webhooks_by_source_channel_id",
"columns": [
{
"name": "source_channel_id",
"type": "bigint"
},
{
"name": "webhook_id",
"type": "bigint"
},
{
"name": "guild_id",
"type": "bigint"
}
],
"primary_key": "((source_channel_id), webhook_id)",
"options": ""
}
],
"indexes": [