feat(review): add soft delete button to remove posts from admin channel while preserving deduplication state

This commit is contained in:
mamad
2026-08-27 22:15:43 +03:30
parent 26cd91a48f
commit e66ed361c3
4 changed files with 26 additions and 5 deletions
+1
View File
@@ -72,6 +72,7 @@ CREATE TABLE IF NOT EXISTS settings (
ALTER TABLE targets ADD COLUMN IF NOT EXISTS personality TEXT DEFAULT '';
ALTER TABLE targets ADD COLUMN IF NOT EXISTS custom_footer TEXT DEFAULT '';
ALTER TABLE posts ADD COLUMN IF NOT EXISTS published_to JSONB DEFAULT '[]'::jsonb;
ALTER TABLE posts ADD COLUMN IF NOT EXISTS is_deleted BOOLEAN DEFAULT FALSE;
"""
_pool: Optional[asyncpg.Pool] = None