rockybot / docs /03_add_posts_parse_mode_and_caption.sql
youaremywind
Initial commit
1e7a182
Raw
History Blame Contribute Delete
229 Bytes
-- Align posts table with current Post model fields used by API
ALTER TABLE posts
ADD COLUMN IF NOT EXISTS parse_mode TEXT;
ALTER TABLE posts
ADD COLUMN IF NOT EXISTS show_caption_above_media BOOLEAN NOT NULL DEFAULT FALSE;