"""adding 2023 partishions.

Revision ID: 605b1794838f
Revises: 2f43120e3ffc
Create Date: 2026-03-25 09:21:29.174272

"""

from __future__ import annotations

from typing import TYPE_CHECKING

import sqlalchemy as sa
from alembic import op

from python.orm import DataScienceDevBase

if TYPE_CHECKING:
    from collections.abc import Sequence

# revision identifiers, used by Alembic.
revision: str = "605b1794838f"
down_revision: str | None = "2f43120e3ffc"
branch_labels: str | Sequence[str] | None = None
depends_on: str | Sequence[str] | None = None

schema = DataScienceDevBase.schema_name


def upgrade() -> None:  # noqa: PLR0915
    """Upgrade."""
    # ### commands auto generated by Alembic - please adjust! ###
    op.create_table(
        "posts_2023_01",
        sa.Column("post_id", sa.BigInteger(), nullable=False),
        sa.Column("user_id", sa.BigInteger(), nullable=False),
        sa.Column("instance", sa.String(), nullable=False),
        sa.Column("date", sa.DateTime(), nullable=False),
        sa.Column("text", sa.Text(), nullable=False),
        sa.Column("langs", sa.String(), nullable=True),
        sa.Column("like_count", sa.Integer(), nullable=False),
        sa.Column("reply_count", sa.Integer(), nullable=False),
        sa.Column("repost_count", sa.Integer(), nullable=False),
        sa.Column("reply_to", sa.BigInteger(), nullable=True),
        sa.Column("replied_author", sa.BigInteger(), nullable=True),
        sa.Column("thread_root", sa.BigInteger(), nullable=True),
        sa.Column("thread_root_author", sa.BigInteger(), nullable=True),
        sa.Column("repost_from", sa.BigInteger(), nullable=True),
        sa.Column("reposted_author", sa.BigInteger(), nullable=True),
        sa.Column("quotes", sa.BigInteger(), nullable=True),
        sa.Column("quoted_author", sa.BigInteger(), nullable=True),
        sa.Column("labels", sa.String(), nullable=True),
        sa.Column("sent_label", sa.SmallInteger(), nullable=True),
        sa.Column("sent_score", sa.Float(), nullable=True),
        sa.PrimaryKeyConstraint("post_id", "date", name=op.f("pk_posts_2023_01")),
        schema=schema,
    )
    op.create_table(
        "posts_2023_02",
        sa.Column("post_id", sa.BigInteger(), nullable=False),
        sa.Column("user_id", sa.BigInteger(), nullable=False),
        sa.Column("instance", sa.String(), nullable=False),
        sa.Column("date", sa.DateTime(), nullable=False),
        sa.Column("text", sa.Text(), nullable=False),
        sa.Column("langs", sa.String(), nullable=True),
        sa.Column("like_count", sa.Integer(), nullable=False),
        sa.Column("reply_count", sa.Integer(), nullable=False),
        sa.Column("repost_count", sa.Integer(), nullable=False),
        sa.Column("reply_to", sa.BigInteger(), nullable=True),
        sa.Column("replied_author", sa.BigInteger(), nullable=True),
        sa.Column("thread_root", sa.BigInteger(), nullable=True),
        sa.Column("thread_root_author", sa.BigInteger(), nullable=True),
        sa.Column("repost_from", sa.BigInteger(), nullable=True),
        sa.Column("reposted_author", sa.BigInteger(), nullable=True),
        sa.Column("quotes", sa.BigInteger(), nullable=True),
        sa.Column("quoted_author", sa.BigInteger(), nullable=True),
        sa.Column("labels", sa.String(), nullable=True),
        sa.Column("sent_label", sa.SmallInteger(), nullable=True),
        sa.Column("sent_score", sa.Float(), nullable=True),
        sa.PrimaryKeyConstraint("post_id", "date", name=op.f("pk_posts_2023_02")),
        schema=schema,
    )
    op.create_table(
        "posts_2023_03",
        sa.Column("post_id", sa.BigInteger(), nullable=False),
        sa.Column("user_id", sa.BigInteger(), nullable=False),
        sa.Column("instance", sa.String(), nullable=False),
        sa.Column("date", sa.DateTime(), nullable=False),
        sa.Column("text", sa.Text(), nullable=False),
        sa.Column("langs", sa.String(), nullable=True),
        sa.Column("like_count", sa.Integer(), nullable=False),
        sa.Column("reply_count", sa.Integer(), nullable=False),
        sa.Column("repost_count", sa.Integer(), nullable=False),
        sa.Column("reply_to", sa.BigInteger(), nullable=True),
        sa.Column("replied_author", sa.BigInteger(), nullable=True),
        sa.Column("thread_root", sa.BigInteger(), nullable=True),
        sa.Column("thread_root_author", sa.BigInteger(), nullable=True),
        sa.Column("repost_from", sa.BigInteger(), nullable=True),
        sa.Column("reposted_author", sa.BigInteger(), nullable=True),
        sa.Column("quotes", sa.BigInteger(), nullable=True),
        sa.Column("quoted_author", sa.BigInteger(), nullable=True),
        sa.Column("labels", sa.String(), nullable=True),
        sa.Column("sent_label", sa.SmallInteger(), nullable=True),
        sa.Column("sent_score", sa.Float(), nullable=True),
        sa.PrimaryKeyConstraint("post_id", "date", name=op.f("pk_posts_2023_03")),
        schema=schema,
    )
    op.create_table(
        "posts_2023_04",
        sa.Column("post_id", sa.BigInteger(), nullable=False),
        sa.Column("user_id", sa.BigInteger(), nullable=False),
        sa.Column("instance", sa.String(), nullable=False),
        sa.Column("date", sa.DateTime(), nullable=False),
        sa.Column("text", sa.Text(), nullable=False),
        sa.Column("langs", sa.String(), nullable=True),
        sa.Column("like_count", sa.Integer(), nullable=False),
        sa.Column("reply_count", sa.Integer(), nullable=False),
        sa.Column("repost_count", sa.Integer(), nullable=False),
        sa.Column("reply_to", sa.BigInteger(), nullable=True),
        sa.Column("replied_author", sa.BigInteger(), nullable=True),
        sa.Column("thread_root", sa.BigInteger(), nullable=True),
        sa.Column("thread_root_author", sa.BigInteger(), nullable=True),
        sa.Column("repost_from", sa.BigInteger(), nullable=True),
        sa.Column("reposted_author", sa.BigInteger(), nullable=True),
        sa.Column("quotes", sa.BigInteger(), nullable=True),
        sa.Column("quoted_author", sa.BigInteger(), nullable=True),
        sa.Column("labels", sa.String(), nullable=True),
        sa.Column("sent_label", sa.SmallInteger(), nullable=True),
        sa.Column("sent_score", sa.Float(), nullable=True),
        sa.PrimaryKeyConstraint("post_id", "date", name=op.f("pk_posts_2023_04")),
        schema=schema,
    )
    op.create_table(
        "posts_2023_05",
        sa.Column("post_id", sa.BigInteger(), nullable=False),
        sa.Column("user_id", sa.BigInteger(), nullable=False),
        sa.Column("instance", sa.String(), nullable=False),
        sa.Column("date", sa.DateTime(), nullable=False),
        sa.Column("text", sa.Text(), nullable=False),
        sa.Column("langs", sa.String(), nullable=True),
        sa.Column("like_count", sa.Integer(), nullable=False),
        sa.Column("reply_count", sa.Integer(), nullable=False),
        sa.Column("repost_count", sa.Integer(), nullable=False),
        sa.Column("reply_to", sa.BigInteger(), nullable=True),
        sa.Column("replied_author", sa.BigInteger(), nullable=True),
        sa.Column("thread_root", sa.BigInteger(), nullable=True),
        sa.Column("thread_root_author", sa.BigInteger(), nullable=True),
        sa.Column("repost_from", sa.BigInteger(), nullable=True),
        sa.Column("reposted_author", sa.BigInteger(), nullable=True),
        sa.Column("quotes", sa.BigInteger(), nullable=True),
        sa.Column("quoted_author", sa.BigInteger(), nullable=True),
        sa.Column("labels", sa.String(), nullable=True),
        sa.Column("sent_label", sa.SmallInteger(), nullable=True),
        sa.Column("sent_score", sa.Float(), nullable=True),
        sa.PrimaryKeyConstraint("post_id", "date", name=op.f("pk_posts_2023_05")),
        schema=schema,
    )
    op.create_table(
        "posts_2023_06",
        sa.Column("post_id", sa.BigInteger(), nullable=False),
        sa.Column("user_id", sa.BigInteger(), nullable=False),
        sa.Column("instance", sa.String(), nullable=False),
        sa.Column("date", sa.DateTime(), nullable=False),
        sa.Column("text", sa.Text(), nullable=False),
        sa.Column("langs", sa.String(), nullable=True),
        sa.Column("like_count", sa.Integer(), nullable=False),
        sa.Column("reply_count", sa.Integer(), nullable=False),
        sa.Column("repost_count", sa.Integer(), nullable=False),
        sa.Column("reply_to", sa.BigInteger(), nullable=True),
        sa.Column("replied_author", sa.BigInteger(), nullable=True),
        sa.Column("thread_root", sa.BigInteger(), nullable=True),
        sa.Column("thread_root_author", sa.BigInteger(), nullable=True),
        sa.Column("repost_from", sa.BigInteger(), nullable=True),
        sa.Column("reposted_author", sa.BigInteger(), nullable=True),
        sa.Column("quotes", sa.BigInteger(), nullable=True),
        sa.Column("quoted_author", sa.BigInteger(), nullable=True),
        sa.Column("labels", sa.String(), nullable=True),
        sa.Column("sent_label", sa.SmallInteger(), nullable=True),
        sa.Column("sent_score", sa.Float(), nullable=True),
        sa.PrimaryKeyConstraint("post_id", "date", name=op.f("pk_posts_2023_06")),
        schema=schema,
    )
    op.create_table(
        "posts_2023_07",
        sa.Column("post_id", sa.BigInteger(), nullable=False),
        sa.Column("user_id", sa.BigInteger(), nullable=False),
        sa.Column("instance", sa.String(), nullable=False),
        sa.Column("date", sa.DateTime(), nullable=False),
        sa.Column("text", sa.Text(), nullable=False),
        sa.Column("langs", sa.String(), nullable=True),
        sa.Column("like_count", sa.Integer(), nullable=False),
        sa.Column("reply_count", sa.Integer(), nullable=False),
        sa.Column("repost_count", sa.Integer(), nullable=False),
        sa.Column("reply_to", sa.BigInteger(), nullable=True),
        sa.Column("replied_author", sa.BigInteger(), nullable=True),
        sa.Column("thread_root", sa.BigInteger(), nullable=True),
        sa.Column("thread_root_author", sa.BigInteger(), nullable=True),
        sa.Column("repost_from", sa.BigInteger(), nullable=True),
        sa.Column("reposted_author", sa.BigInteger(), nullable=True),
        sa.Column("quotes", sa.BigInteger(), nullable=True),
        sa.Column("quoted_author", sa.BigInteger(), nullable=True),
        sa.Column("labels", sa.String(), nullable=True),
        sa.Column("sent_label", sa.SmallInteger(), nullable=True),
        sa.Column("sent_score", sa.Float(), nullable=True),
        sa.PrimaryKeyConstraint("post_id", "date", name=op.f("pk_posts_2023_07")),
        schema=schema,
    )
    op.create_table(
        "posts_2023_08",
        sa.Column("post_id", sa.BigInteger(), nullable=False),
        sa.Column("user_id", sa.BigInteger(), nullable=False),
        sa.Column("instance", sa.String(), nullable=False),
        sa.Column("date", sa.DateTime(), nullable=False),
        sa.Column("text", sa.Text(), nullable=False),
        sa.Column("langs", sa.String(), nullable=True),
        sa.Column("like_count", sa.Integer(), nullable=False),
        sa.Column("reply_count", sa.Integer(), nullable=False),
        sa.Column("repost_count", sa.Integer(), nullable=False),
        sa.Column("reply_to", sa.BigInteger(), nullable=True),
        sa.Column("replied_author", sa.BigInteger(), nullable=True),
        sa.Column("thread_root", sa.BigInteger(), nullable=True),
        sa.Column("thread_root_author", sa.BigInteger(), nullable=True),
        sa.Column("repost_from", sa.BigInteger(), nullable=True),
        sa.Column("reposted_author", sa.BigInteger(), nullable=True),
        sa.Column("quotes", sa.BigInteger(), nullable=True),
        sa.Column("quoted_author", sa.BigInteger(), nullable=True),
        sa.Column("labels", sa.String(), nullable=True),
        sa.Column("sent_label", sa.SmallInteger(), nullable=True),
        sa.Column("sent_score", sa.Float(), nullable=True),
        sa.PrimaryKeyConstraint("post_id", "date", name=op.f("pk_posts_2023_08")),
        schema=schema,
    )
    op.create_table(
        "posts_2023_09",
        sa.Column("post_id", sa.BigInteger(), nullable=False),
        sa.Column("user_id", sa.BigInteger(), nullable=False),
        sa.Column("instance", sa.String(), nullable=False),
        sa.Column("date", sa.DateTime(), nullable=False),
        sa.Column("text", sa.Text(), nullable=False),
        sa.Column("langs", sa.String(), nullable=True),
        sa.Column("like_count", sa.Integer(), nullable=False),
        sa.Column("reply_count", sa.Integer(), nullable=False),
        sa.Column("repost_count", sa.Integer(), nullable=False),
        sa.Column("reply_to", sa.BigInteger(), nullable=True),
        sa.Column("replied_author", sa.BigInteger(), nullable=True),
        sa.Column("thread_root", sa.BigInteger(), nullable=True),
        sa.Column("thread_root_author", sa.BigInteger(), nullable=True),
        sa.Column("repost_from", sa.BigInteger(), nullable=True),
        sa.Column("reposted_author", sa.BigInteger(), nullable=True),
        sa.Column("quotes", sa.BigInteger(), nullable=True),
        sa.Column("quoted_author", sa.BigInteger(), nullable=True),
        sa.Column("labels", sa.String(), nullable=True),
        sa.Column("sent_label", sa.SmallInteger(), nullable=True),
        sa.Column("sent_score", sa.Float(), nullable=True),
        sa.PrimaryKeyConstraint("post_id", "date", name=op.f("pk_posts_2023_09")),
        schema=schema,
    )
    op.create_table(
        "posts_2023_10",
        sa.Column("post_id", sa.BigInteger(), nullable=False),
        sa.Column("user_id", sa.BigInteger(), nullable=False),
        sa.Column("instance", sa.String(), nullable=False),
        sa.Column("date", sa.DateTime(), nullable=False),
        sa.Column("text", sa.Text(), nullable=False),
        sa.Column("langs", sa.String(), nullable=True),
        sa.Column("like_count", sa.Integer(), nullable=False),
        sa.Column("reply_count", sa.Integer(), nullable=False),
        sa.Column("repost_count", sa.Integer(), nullable=False),
        sa.Column("reply_to", sa.BigInteger(), nullable=True),
        sa.Column("replied_author", sa.BigInteger(), nullable=True),
        sa.Column("thread_root", sa.BigInteger(), nullable=True),
        sa.Column("thread_root_author", sa.BigInteger(), nullable=True),
        sa.Column("repost_from", sa.BigInteger(), nullable=True),
        sa.Column("reposted_author", sa.BigInteger(), nullable=True),
        sa.Column("quotes", sa.BigInteger(), nullable=True),
        sa.Column("quoted_author", sa.BigInteger(), nullable=True),
        sa.Column("labels", sa.String(), nullable=True),
        sa.Column("sent_label", sa.SmallInteger(), nullable=True),
        sa.Column("sent_score", sa.Float(), nullable=True),
        sa.PrimaryKeyConstraint("post_id", "date", name=op.f("pk_posts_2023_10")),
        schema=schema,
    )
    op.create_table(
        "posts_2023_11",
        sa.Column("post_id", sa.BigInteger(), nullable=False),
        sa.Column("user_id", sa.BigInteger(), nullable=False),
        sa.Column("instance", sa.String(), nullable=False),
        sa.Column("date", sa.DateTime(), nullable=False),
        sa.Column("text", sa.Text(), nullable=False),
        sa.Column("langs", sa.String(), nullable=True),
        sa.Column("like_count", sa.Integer(), nullable=False),
        sa.Column("reply_count", sa.Integer(), nullable=False),
        sa.Column("repost_count", sa.Integer(), nullable=False),
        sa.Column("reply_to", sa.BigInteger(), nullable=True),
        sa.Column("replied_author", sa.BigInteger(), nullable=True),
        sa.Column("thread_root", sa.BigInteger(), nullable=True),
        sa.Column("thread_root_author", sa.BigInteger(), nullable=True),
        sa.Column("repost_from", sa.BigInteger(), nullable=True),
        sa.Column("reposted_author", sa.BigInteger(), nullable=True),
        sa.Column("quotes", sa.BigInteger(), nullable=True),
        sa.Column("quoted_author", sa.BigInteger(), nullable=True),
        sa.Column("labels", sa.String(), nullable=True),
        sa.Column("sent_label", sa.SmallInteger(), nullable=True),
        sa.Column("sent_score", sa.Float(), nullable=True),
        sa.PrimaryKeyConstraint("post_id", "date", name=op.f("pk_posts_2023_11")),
        schema=schema,
    )
    op.create_table(
        "posts_2023_12",
        sa.Column("post_id", sa.BigInteger(), nullable=False),
        sa.Column("user_id", sa.BigInteger(), nullable=False),
        sa.Column("instance", sa.String(), nullable=False),
        sa.Column("date", sa.DateTime(), nullable=False),
        sa.Column("text", sa.Text(), nullable=False),
        sa.Column("langs", sa.String(), nullable=True),
        sa.Column("like_count", sa.Integer(), nullable=False),
        sa.Column("reply_count", sa.Integer(), nullable=False),
        sa.Column("repost_count", sa.Integer(), nullable=False),
        sa.Column("reply_to", sa.BigInteger(), nullable=True),
        sa.Column("replied_author", sa.BigInteger(), nullable=True),
        sa.Column("thread_root", sa.BigInteger(), nullable=True),
        sa.Column("thread_root_author", sa.BigInteger(), nullable=True),
        sa.Column("repost_from", sa.BigInteger(), nullable=True),
        sa.Column("reposted_author", sa.BigInteger(), nullable=True),
        sa.Column("quotes", sa.BigInteger(), nullable=True),
        sa.Column("quoted_author", sa.BigInteger(), nullable=True),
        sa.Column("labels", sa.String(), nullable=True),
        sa.Column("sent_label", sa.SmallInteger(), nullable=True),
        sa.Column("sent_score", sa.Float(), nullable=True),
        sa.PrimaryKeyConstraint("post_id", "date", name=op.f("pk_posts_2023_12")),
        schema=schema,
    )
    op.create_table(
        "posts_2023_13",
        sa.Column("post_id", sa.BigInteger(), nullable=False),
        sa.Column("user_id", sa.BigInteger(), nullable=False),
        sa.Column("instance", sa.String(), nullable=False),
        sa.Column("date", sa.DateTime(), nullable=False),
        sa.Column("text", sa.Text(), nullable=False),
        sa.Column("langs", sa.String(), nullable=True),
        sa.Column("like_count", sa.Integer(), nullable=False),
        sa.Column("reply_count", sa.Integer(), nullable=False),
        sa.Column("repost_count", sa.Integer(), nullable=False),
        sa.Column("reply_to", sa.BigInteger(), nullable=True),
        sa.Column("replied_author", sa.BigInteger(), nullable=True),
        sa.Column("thread_root", sa.BigInteger(), nullable=True),
        sa.Column("thread_root_author", sa.BigInteger(), nullable=True),
        sa.Column("repost_from", sa.BigInteger(), nullable=True),
        sa.Column("reposted_author", sa.BigInteger(), nullable=True),
        sa.Column("quotes", sa.BigInteger(), nullable=True),
        sa.Column("quoted_author", sa.BigInteger(), nullable=True),
        sa.Column("labels", sa.String(), nullable=True),
        sa.Column("sent_label", sa.SmallInteger(), nullable=True),
        sa.Column("sent_score", sa.Float(), nullable=True),
        sa.PrimaryKeyConstraint("post_id", "date", name=op.f("pk_posts_2023_13")),
        schema=schema,
    )
    op.create_table(
        "posts_2023_14",
        sa.Column("post_id", sa.BigInteger(), nullable=False),
        sa.Column("user_id", sa.BigInteger(), nullable=False),
        sa.Column("instance", sa.String(), nullable=False),
        sa.Column("date", sa.DateTime(), nullable=False),
        sa.Column("text", sa.Text(), nullable=False),
        sa.Column("langs", sa.String(), nullable=True),
        sa.Column("like_count", sa.Integer(), nullable=False),
        sa.Column("reply_count", sa.Integer(), nullable=False),
        sa.Column("repost_count", sa.Integer(), nullable=False),
        sa.Column("reply_to", sa.BigInteger(), nullable=True),
        sa.Column("replied_author", sa.BigInteger(), nullable=True),
        sa.Column("thread_root", sa.BigInteger(), nullable=True),
        sa.Column("thread_root_author", sa.BigInteger(), nullable=True),
        sa.Column("repost_from", sa.BigInteger(), nullable=True),
        sa.Column("reposted_author", sa.BigInteger(), nullable=True),
        sa.Column("quotes", sa.BigInteger(), nullable=True),
        sa.Column("quoted_author", sa.BigInteger(), nullable=True),
        sa.Column("labels", sa.String(), nullable=True),
        sa.Column("sent_label", sa.SmallInteger(), nullable=True),
        sa.Column("sent_score", sa.Float(), nullable=True),
        sa.PrimaryKeyConstraint("post_id", "date", name=op.f("pk_posts_2023_14")),
        schema=schema,
    )
    op.create_table(
        "posts_2023_15",
        sa.Column("post_id", sa.BigInteger(), nullable=False),
        sa.Column("user_id", sa.BigInteger(), nullable=False),
        sa.Column("instance", sa.String(), nullable=False),
        sa.Column("date", sa.DateTime(), nullable=False),
        sa.Column("text", sa.Text(), nullable=False),
        sa.Column("langs", sa.String(), nullable=True),
        sa.Column("like_count", sa.Integer(), nullable=False),
        sa.Column("reply_count", sa.Integer(), nullable=False),
        sa.Column("repost_count", sa.Integer(), nullable=False),
        sa.Column("reply_to", sa.BigInteger(), nullable=True),
        sa.Column("replied_author", sa.BigInteger(), nullable=True),
        sa.Column("thread_root", sa.BigInteger(), nullable=True),
        sa.Column("thread_root_author", sa.BigInteger(), nullable=True),
        sa.Column("repost_from", sa.BigInteger(), nullable=True),
        sa.Column("reposted_author", sa.BigInteger(), nullable=True),
        sa.Column("quotes", sa.BigInteger(), nullable=True),
        sa.Column("quoted_author", sa.BigInteger(), nullable=True),
        sa.Column("labels", sa.String(), nullable=True),
        sa.Column("sent_label", sa.SmallInteger(), nullable=True),
        sa.Column("sent_score", sa.Float(), nullable=True),
        sa.PrimaryKeyConstraint("post_id", "date", name=op.f("pk_posts_2023_15")),
        schema=schema,
    )
    op.create_table(
        "posts_2023_16",
        sa.Column("post_id", sa.BigInteger(), nullable=False),
        sa.Column("user_id", sa.BigInteger(), nullable=False),
        sa.Column("instance", sa.String(), nullable=False),
        sa.Column("date", sa.DateTime(), nullable=False),
        sa.Column("text", sa.Text(), nullable=False),
        sa.Column("langs", sa.String(), nullable=True),
        sa.Column("like_count", sa.Integer(), nullable=False),
        sa.Column("reply_count", sa.Integer(), nullable=False),
        sa.Column("repost_count", sa.Integer(), nullable=False),
        sa.Column("reply_to", sa.BigInteger(), nullable=True),
        sa.Column("replied_author", sa.BigInteger(), nullable=True),
        sa.Column("thread_root", sa.BigInteger(), nullable=True),
        sa.Column("thread_root_author", sa.BigInteger(), nullable=True),
        sa.Column("repost_from", sa.BigInteger(), nullable=True),
        sa.Column("reposted_author", sa.BigInteger(), nullable=True),
        sa.Column("quotes", sa.BigInteger(), nullable=True),
        sa.Column("quoted_author", sa.BigInteger(), nullable=True),
        sa.Column("labels", sa.String(), nullable=True),
        sa.Column("sent_label", sa.SmallInteger(), nullable=True),
        sa.Column("sent_score", sa.Float(), nullable=True),
        sa.PrimaryKeyConstraint("post_id", "date", name=op.f("pk_posts_2023_16")),
        schema=schema,
    )
    op.create_table(
        "posts_2023_17",
        sa.Column("post_id", sa.BigInteger(), nullable=False),
        sa.Column("user_id", sa.BigInteger(), nullable=False),
        sa.Column("instance", sa.String(), nullable=False),
        sa.Column("date", sa.DateTime(), nullable=False),
        sa.Column("text", sa.Text(), nullable=False),
        sa.Column("langs", sa.String(), nullable=True),
        sa.Column("like_count", sa.Integer(), nullable=False),
        sa.Column("reply_count", sa.Integer(), nullable=False),
        sa.Column("repost_count", sa.Integer(), nullable=False),
        sa.Column("reply_to", sa.BigInteger(), nullable=True),
        sa.Column("replied_author", sa.BigInteger(), nullable=True),
        sa.Column("thread_root", sa.BigInteger(), nullable=True),
        sa.Column("thread_root_author", sa.BigInteger(), nullable=True),
        sa.Column("repost_from", sa.BigInteger(), nullable=True),
        sa.Column("reposted_author", sa.BigInteger(), nullable=True),
        sa.Column("quotes", sa.BigInteger(), nullable=True),
        sa.Column("quoted_author", sa.BigInteger(), nullable=True),
        sa.Column("labels", sa.String(), nullable=True),
        sa.Column("sent_label", sa.SmallInteger(), nullable=True),
        sa.Column("sent_score", sa.Float(), nullable=True),
        sa.PrimaryKeyConstraint("post_id", "date", name=op.f("pk_posts_2023_17")),
        schema=schema,
    )
    op.create_table(
        "posts_2023_18",
        sa.Column("post_id", sa.BigInteger(), nullable=False),
        sa.Column("user_id", sa.BigInteger(), nullable=False),
        sa.Column("instance", sa.String(), nullable=False),
        sa.Column("date", sa.DateTime(), nullable=False),
        sa.Column("text", sa.Text(), nullable=False),
        sa.Column("langs", sa.String(), nullable=True),
        sa.Column("like_count", sa.Integer(), nullable=False),
        sa.Column("reply_count", sa.Integer(), nullable=False),
        sa.Column("repost_count", sa.Integer(), nullable=False),
        sa.Column("reply_to", sa.BigInteger(), nullable=True),
        sa.Column("replied_author", sa.BigInteger(), nullable=True),
        sa.Column("thread_root", sa.BigInteger(), nullable=True),
        sa.Column("thread_root_author", sa.BigInteger(), nullable=True),
        sa.Column("repost_from", sa.BigInteger(), nullable=True),
        sa.Column("reposted_author", sa.BigInteger(), nullable=True),
        sa.Column("quotes", sa.BigInteger(), nullable=True),
        sa.Column("quoted_author", sa.BigInteger(), nullable=True),
        sa.Column("labels", sa.String(), nullable=True),
        sa.Column("sent_label", sa.SmallInteger(), nullable=True),
        sa.Column("sent_score", sa.Float(), nullable=True),
        sa.PrimaryKeyConstraint("post_id", "date", name=op.f("pk_posts_2023_18")),
        schema=schema,
    )
    op.create_table(
        "posts_2023_19",
        sa.Column("post_id", sa.BigInteger(), nullable=False),
        sa.Column("user_id", sa.BigInteger(), nullable=False),
        sa.Column("instance", sa.String(), nullable=False),
        sa.Column("date", sa.DateTime(), nullable=False),
        sa.Column("text", sa.Text(), nullable=False),
        sa.Column("langs", sa.String(), nullable=True),
        sa.Column("like_count", sa.Integer(), nullable=False),
        sa.Column("reply_count", sa.Integer(), nullable=False),
        sa.Column("repost_count", sa.Integer(), nullable=False),
        sa.Column("reply_to", sa.BigInteger(), nullable=True),
        sa.Column("replied_author", sa.BigInteger(), nullable=True),
        sa.Column("thread_root", sa.BigInteger(), nullable=True),
        sa.Column("thread_root_author", sa.BigInteger(), nullable=True),
        sa.Column("repost_from", sa.BigInteger(), nullable=True),
        sa.Column("reposted_author", sa.BigInteger(), nullable=True),
        sa.Column("quotes", sa.BigInteger(), nullable=True),
        sa.Column("quoted_author", sa.BigInteger(), nullable=True),
        sa.Column("labels", sa.String(), nullable=True),
        sa.Column("sent_label", sa.SmallInteger(), nullable=True),
        sa.Column("sent_score", sa.Float(), nullable=True),
        sa.PrimaryKeyConstraint("post_id", "date", name=op.f("pk_posts_2023_19")),
        schema=schema,
    )
    op.create_table(
        "posts_2023_20",
        sa.Column("post_id", sa.BigInteger(), nullable=False),
        sa.Column("user_id", sa.BigInteger(), nullable=False),
        sa.Column("instance", sa.String(), nullable=False),
        sa.Column("date", sa.DateTime(), nullable=False),
        sa.Column("text", sa.Text(), nullable=False),
        sa.Column("langs", sa.String(), nullable=True),
        sa.Column("like_count", sa.Integer(), nullable=False),
        sa.Column("reply_count", sa.Integer(), nullable=False),
        sa.Column("repost_count", sa.Integer(), nullable=False),
        sa.Column("reply_to", sa.BigInteger(), nullable=True),
        sa.Column("replied_author", sa.BigInteger(), nullable=True),
        sa.Column("thread_root", sa.BigInteger(), nullable=True),
        sa.Column("thread_root_author", sa.BigInteger(), nullable=True),
        sa.Column("repost_from", sa.BigInteger(), nullable=True),
        sa.Column("reposted_author", sa.BigInteger(), nullable=True),
        sa.Column("quotes", sa.BigInteger(), nullable=True),
        sa.Column("quoted_author", sa.BigInteger(), nullable=True),
        sa.Column("labels", sa.String(), nullable=True),
        sa.Column("sent_label", sa.SmallInteger(), nullable=True),
        sa.Column("sent_score", sa.Float(), nullable=True),
        sa.PrimaryKeyConstraint("post_id", "date", name=op.f("pk_posts_2023_20")),
        schema=schema,
    )
    op.create_table(
        "posts_2023_21",
        sa.Column("post_id", sa.BigInteger(), nullable=False),
        sa.Column("user_id", sa.BigInteger(), nullable=False),
        sa.Column("instance", sa.String(), nullable=False),
        sa.Column("date", sa.DateTime(), nullable=False),
        sa.Column("text", sa.Text(), nullable=False),
        sa.Column("langs", sa.String(), nullable=True),
        sa.Column("like_count", sa.Integer(), nullable=False),
        sa.Column("reply_count", sa.Integer(), nullable=False),
        sa.Column("repost_count", sa.Integer(), nullable=False),
        sa.Column("reply_to", sa.BigInteger(), nullable=True),
        sa.Column("replied_author", sa.BigInteger(), nullable=True),
        sa.Column("thread_root", sa.BigInteger(), nullable=True),
        sa.Column("thread_root_author", sa.BigInteger(), nullable=True),
        sa.Column("repost_from", sa.BigInteger(), nullable=True),
        sa.Column("reposted_author", sa.BigInteger(), nullable=True),
        sa.Column("quotes", sa.BigInteger(), nullable=True),
        sa.Column("quoted_author", sa.BigInteger(), nullable=True),
        sa.Column("labels", sa.String(), nullable=True),
        sa.Column("sent_label", sa.SmallInteger(), nullable=True),
        sa.Column("sent_score", sa.Float(), nullable=True),
        sa.PrimaryKeyConstraint("post_id", "date", name=op.f("pk_posts_2023_21")),
        schema=schema,
    )
    op.create_table(
        "posts_2023_22",
        sa.Column("post_id", sa.BigInteger(), nullable=False),
        sa.Column("user_id", sa.BigInteger(), nullable=False),
        sa.Column("instance", sa.String(), nullable=False),
        sa.Column("date", sa.DateTime(), nullable=False),
        sa.Column("text", sa.Text(), nullable=False),
        sa.Column("langs", sa.String(), nullable=True),
        sa.Column("like_count", sa.Integer(), nullable=False),
        sa.Column("reply_count", sa.Integer(), nullable=False),
        sa.Column("repost_count", sa.Integer(), nullable=False),
        sa.Column("reply_to", sa.BigInteger(), nullable=True),
        sa.Column("replied_author", sa.BigInteger(), nullable=True),
        sa.Column("thread_root", sa.BigInteger(), nullable=True),
        sa.Column("thread_root_author", sa.BigInteger(), nullable=True),
        sa.Column("repost_from", sa.BigInteger(), nullable=True),
        sa.Column("reposted_author", sa.BigInteger(), nullable=True),
        sa.Column("quotes", sa.BigInteger(), nullable=True),
        sa.Column("quoted_author", sa.BigInteger(), nullable=True),
        sa.Column("labels", sa.String(), nullable=True),
        sa.Column("sent_label", sa.SmallInteger(), nullable=True),
        sa.Column("sent_score", sa.Float(), nullable=True),
        sa.PrimaryKeyConstraint("post_id", "date", name=op.f("pk_posts_2023_22")),
        schema=schema,
    )
    op.create_table(
        "posts_2023_23",
        sa.Column("post_id", sa.BigInteger(), nullable=False),
        sa.Column("user_id", sa.BigInteger(), nullable=False),
        sa.Column("instance", sa.String(), nullable=False),
        sa.Column("date", sa.DateTime(), nullable=False),
        sa.Column("text", sa.Text(), nullable=False),
        sa.Column("langs", sa.String(), nullable=True),
        sa.Column("like_count", sa.Integer(), nullable=False),
        sa.Column("reply_count", sa.Integer(), nullable=False),
        sa.Column("repost_count", sa.Integer(), nullable=False),
        sa.Column("reply_to", sa.BigInteger(), nullable=True),
        sa.Column("replied_author", sa.BigInteger(), nullable=True),
        sa.Column("thread_root", sa.BigInteger(), nullable=True),
        sa.Column("thread_root_author", sa.BigInteger(), nullable=True),
        sa.Column("repost_from", sa.BigInteger(), nullable=True),
        sa.Column("reposted_author", sa.BigInteger(), nullable=True),
        sa.Column("quotes", sa.BigInteger(), nullable=True),
        sa.Column("quoted_author", sa.BigInteger(), nullable=True),
        sa.Column("labels", sa.String(), nullable=True),
        sa.Column("sent_label", sa.SmallInteger(), nullable=True),
        sa.Column("sent_score", sa.Float(), nullable=True),
        sa.PrimaryKeyConstraint("post_id", "date", name=op.f("pk_posts_2023_23")),
        schema=schema,
    )
    op.create_table(
        "posts_2023_24",
        sa.Column("post_id", sa.BigInteger(), nullable=False),
        sa.Column("user_id", sa.BigInteger(), nullable=False),
        sa.Column("instance", sa.String(), nullable=False),
        sa.Column("date", sa.DateTime(), nullable=False),
        sa.Column("text", sa.Text(), nullable=False),
        sa.Column("langs", sa.String(), nullable=True),
        sa.Column("like_count", sa.Integer(), nullable=False),
        sa.Column("reply_count", sa.Integer(), nullable=False),
        sa.Column("repost_count", sa.Integer(), nullable=False),
        sa.Column("reply_to", sa.BigInteger(), nullable=True),
        sa.Column("replied_author", sa.BigInteger(), nullable=True),
        sa.Column("thread_root", sa.BigInteger(), nullable=True),
        sa.Column("thread_root_author", sa.BigInteger(), nullable=True),
        sa.Column("repost_from", sa.BigInteger(), nullable=True),
        sa.Column("reposted_author", sa.BigInteger(), nullable=True),
        sa.Column("quotes", sa.BigInteger(), nullable=True),
        sa.Column("quoted_author", sa.BigInteger(), nullable=True),
        sa.Column("labels", sa.String(), nullable=True),
        sa.Column("sent_label", sa.SmallInteger(), nullable=True),
        sa.Column("sent_score", sa.Float(), nullable=True),
        sa.PrimaryKeyConstraint("post_id", "date", name=op.f("pk_posts_2023_24")),
        schema=schema,
    )
    op.create_table(
        "posts_2023_25",
        sa.Column("post_id", sa.BigInteger(), nullable=False),
        sa.Column("user_id", sa.BigInteger(), nullable=False),
        sa.Column("instance", sa.String(), nullable=False),
        sa.Column("date", sa.DateTime(), nullable=False),
        sa.Column("text", sa.Text(), nullable=False),
        sa.Column("langs", sa.String(), nullable=True),
        sa.Column("like_count", sa.Integer(), nullable=False),
        sa.Column("reply_count", sa.Integer(), nullable=False),
        sa.Column("repost_count", sa.Integer(), nullable=False),
        sa.Column("reply_to", sa.BigInteger(), nullable=True),
        sa.Column("replied_author", sa.BigInteger(), nullable=True),
        sa.Column("thread_root", sa.BigInteger(), nullable=True),
        sa.Column("thread_root_author", sa.BigInteger(), nullable=True),
        sa.Column("repost_from", sa.BigInteger(), nullable=True),
        sa.Column("reposted_author", sa.BigInteger(), nullable=True),
        sa.Column("quotes", sa.BigInteger(), nullable=True),
        sa.Column("quoted_author", sa.BigInteger(), nullable=True),
        sa.Column("labels", sa.String(), nullable=True),
        sa.Column("sent_label", sa.SmallInteger(), nullable=True),
        sa.Column("sent_score", sa.Float(), nullable=True),
        sa.PrimaryKeyConstraint("post_id", "date", name=op.f("pk_posts_2023_25")),
        schema=schema,
    )
    op.create_table(
        "posts_2023_26",
        sa.Column("post_id", sa.BigInteger(), nullable=False),
        sa.Column("user_id", sa.BigInteger(), nullable=False),
        sa.Column("instance", sa.String(), nullable=False),
        sa.Column("date", sa.DateTime(), nullable=False),
        sa.Column("text", sa.Text(), nullable=False),
        sa.Column("langs", sa.String(), nullable=True),
        sa.Column("like_count", sa.Integer(), nullable=False),
        sa.Column("reply_count", sa.Integer(), nullable=False),
        sa.Column("repost_count", sa.Integer(), nullable=False),
        sa.Column("reply_to", sa.BigInteger(), nullable=True),
        sa.Column("replied_author", sa.BigInteger(), nullable=True),
        sa.Column("thread_root", sa.BigInteger(), nullable=True),
        sa.Column("thread_root_author", sa.BigInteger(), nullable=True),
        sa.Column("repost_from", sa.BigInteger(), nullable=True),
        sa.Column("reposted_author", sa.BigInteger(), nullable=True),
        sa.Column("quotes", sa.BigInteger(), nullable=True),
        sa.Column("quoted_author", sa.BigInteger(), nullable=True),
        sa.Column("labels", sa.String(), nullable=True),
        sa.Column("sent_label", sa.SmallInteger(), nullable=True),
        sa.Column("sent_score", sa.Float(), nullable=True),
        sa.PrimaryKeyConstraint("post_id", "date", name=op.f("pk_posts_2023_26")),
        schema=schema,
    )
    op.create_table(
        "posts_2023_27",
        sa.Column("post_id", sa.BigInteger(), nullable=False),
        sa.Column("user_id", sa.BigInteger(), nullable=False),
        sa.Column("instance", sa.String(), nullable=False),
        sa.Column("date", sa.DateTime(), nullable=False),
        sa.Column("text", sa.Text(), nullable=False),
        sa.Column("langs", sa.String(), nullable=True),
        sa.Column("like_count", sa.Integer(), nullable=False),
        sa.Column("reply_count", sa.Integer(), nullable=False),
        sa.Column("repost_count", sa.Integer(), nullable=False),
        sa.Column("reply_to", sa.BigInteger(), nullable=True),
        sa.Column("replied_author", sa.BigInteger(), nullable=True),
        sa.Column("thread_root", sa.BigInteger(), nullable=True),
        sa.Column("thread_root_author", sa.BigInteger(), nullable=True),
        sa.Column("repost_from", sa.BigInteger(), nullable=True),
        sa.Column("reposted_author", sa.BigInteger(), nullable=True),
        sa.Column("quotes", sa.BigInteger(), nullable=True),
        sa.Column("quoted_author", sa.BigInteger(), nullable=True),
        sa.Column("labels", sa.String(), nullable=True),
        sa.Column("sent_label", sa.SmallInteger(), nullable=True),
        sa.Column("sent_score", sa.Float(), nullable=True),
        sa.PrimaryKeyConstraint("post_id", "date", name=op.f("pk_posts_2023_27")),
        schema=schema,
    )
    op.create_table(
        "posts_2023_28",
        sa.Column("post_id", sa.BigInteger(), nullable=False),
        sa.Column("user_id", sa.BigInteger(), nullable=False),
        sa.Column("instance", sa.String(), nullable=False),
        sa.Column("date", sa.DateTime(), nullable=False),
        sa.Column("text", sa.Text(), nullable=False),
        sa.Column("langs", sa.String(), nullable=True),
        sa.Column("like_count", sa.Integer(), nullable=False),
        sa.Column("reply_count", sa.Integer(), nullable=False),
        sa.Column("repost_count", sa.Integer(), nullable=False),
        sa.Column("reply_to", sa.BigInteger(), nullable=True),
        sa.Column("replied_author", sa.BigInteger(), nullable=True),
        sa.Column("thread_root", sa.BigInteger(), nullable=True),
        sa.Column("thread_root_author", sa.BigInteger(), nullable=True),
        sa.Column("repost_from", sa.BigInteger(), nullable=True),
        sa.Column("reposted_author", sa.BigInteger(), nullable=True),
        sa.Column("quotes", sa.BigInteger(), nullable=True),
        sa.Column("quoted_author", sa.BigInteger(), nullable=True),
        sa.Column("labels", sa.String(), nullable=True),
        sa.Column("sent_label", sa.SmallInteger(), nullable=True),
        sa.Column("sent_score", sa.Float(), nullable=True),
        sa.PrimaryKeyConstraint("post_id", "date", name=op.f("pk_posts_2023_28")),
        schema=schema,
    )
    op.create_table(
        "posts_2023_29",
        sa.Column("post_id", sa.BigInteger(), nullable=False),
        sa.Column("user_id", sa.BigInteger(), nullable=False),
        sa.Column("instance", sa.String(), nullable=False),
        sa.Column("date", sa.DateTime(), nullable=False),
        sa.Column("text", sa.Text(), nullable=False),
        sa.Column("langs", sa.String(), nullable=True),
        sa.Column("like_count", sa.Integer(), nullable=False),
        sa.Column("reply_count", sa.Integer(), nullable=False),
        sa.Column("repost_count", sa.Integer(), nullable=False),
        sa.Column("reply_to", sa.BigInteger(), nullable=True),
        sa.Column("replied_author", sa.BigInteger(), nullable=True),
        sa.Column("thread_root", sa.BigInteger(), nullable=True),
        sa.Column("thread_root_author", sa.BigInteger(), nullable=True),
        sa.Column("repost_from", sa.BigInteger(), nullable=True),
        sa.Column("reposted_author", sa.BigInteger(), nullable=True),
        sa.Column("quotes", sa.BigInteger(), nullable=True),
        sa.Column("quoted_author", sa.BigInteger(), nullable=True),
        sa.Column("labels", sa.String(), nullable=True),
        sa.Column("sent_label", sa.SmallInteger(), nullable=True),
        sa.Column("sent_score", sa.Float(), nullable=True),
        sa.PrimaryKeyConstraint("post_id", "date", name=op.f("pk_posts_2023_29")),
        schema=schema,
    )
    op.create_table(
        "posts_2023_30",
        sa.Column("post_id", sa.BigInteger(), nullable=False),
        sa.Column("user_id", sa.BigInteger(), nullable=False),
        sa.Column("instance", sa.String(), nullable=False),
        sa.Column("date", sa.DateTime(), nullable=False),
        sa.Column("text", sa.Text(), nullable=False),
        sa.Column("langs", sa.String(), nullable=True),
        sa.Column("like_count", sa.Integer(), nullable=False),
        sa.Column("reply_count", sa.Integer(), nullable=False),
        sa.Column("repost_count", sa.Integer(), nullable=False),
        sa.Column("reply_to", sa.BigInteger(), nullable=True),
        sa.Column("replied_author", sa.BigInteger(), nullable=True),
        sa.Column("thread_root", sa.BigInteger(), nullable=True),
        sa.Column("thread_root_author", sa.BigInteger(), nullable=True),
        sa.Column("repost_from", sa.BigInteger(), nullable=True),
        sa.Column("reposted_author", sa.BigInteger(), nullable=True),
        sa.Column("quotes", sa.BigInteger(), nullable=True),
        sa.Column("quoted_author", sa.BigInteger(), nullable=True),
        sa.Column("labels", sa.String(), nullable=True),
        sa.Column("sent_label", sa.SmallInteger(), nullable=True),
        sa.Column("sent_score", sa.Float(), nullable=True),
        sa.PrimaryKeyConstraint("post_id", "date", name=op.f("pk_posts_2023_30")),
        schema=schema,
    )
    op.create_table(
        "posts_2023_31",
        sa.Column("post_id", sa.BigInteger(), nullable=False),
        sa.Column("user_id", sa.BigInteger(), nullable=False),
        sa.Column("instance", sa.String(), nullable=False),
        sa.Column("date", sa.DateTime(), nullable=False),
        sa.Column("text", sa.Text(), nullable=False),
        sa.Column("langs", sa.String(), nullable=True),
        sa.Column("like_count", sa.Integer(), nullable=False),
        sa.Column("reply_count", sa.Integer(), nullable=False),
        sa.Column("repost_count", sa.Integer(), nullable=False),
        sa.Column("reply_to", sa.BigInteger(), nullable=True),
        sa.Column("replied_author", sa.BigInteger(), nullable=True),
        sa.Column("thread_root", sa.BigInteger(), nullable=True),
        sa.Column("thread_root_author", sa.BigInteger(), nullable=True),
        sa.Column("repost_from", sa.BigInteger(), nullable=True),
        sa.Column("reposted_author", sa.BigInteger(), nullable=True),
        sa.Column("quotes", sa.BigInteger(), nullable=True),
        sa.Column("quoted_author", sa.BigInteger(), nullable=True),
        sa.Column("labels", sa.String(), nullable=True),
        sa.Column("sent_label", sa.SmallInteger(), nullable=True),
        sa.Column("sent_score", sa.Float(), nullable=True),
        sa.PrimaryKeyConstraint("post_id", "date", name=op.f("pk_posts_2023_31")),
        schema=schema,
    )
    op.create_table(
        "posts_2023_32",
        sa.Column("post_id", sa.BigInteger(), nullable=False),
        sa.Column("user_id", sa.BigInteger(), nullable=False),
        sa.Column("instance", sa.String(), nullable=False),
        sa.Column("date", sa.DateTime(), nullable=False),
        sa.Column("text", sa.Text(), nullable=False),
        sa.Column("langs", sa.String(), nullable=True),
        sa.Column("like_count", sa.Integer(), nullable=False),
        sa.Column("reply_count", sa.Integer(), nullable=False),
        sa.Column("repost_count", sa.Integer(), nullable=False),
        sa.Column("reply_to", sa.BigInteger(), nullable=True),
        sa.Column("replied_author", sa.BigInteger(), nullable=True),
        sa.Column("thread_root", sa.BigInteger(), nullable=True),
        sa.Column("thread_root_author", sa.BigInteger(), nullable=True),
        sa.Column("repost_from", sa.BigInteger(), nullable=True),
        sa.Column("reposted_author", sa.BigInteger(), nullable=True),
        sa.Column("quotes", sa.BigInteger(), nullable=True),
        sa.Column("quoted_author", sa.BigInteger(), nullable=True),
        sa.Column("labels", sa.String(), nullable=True),
        sa.Column("sent_label", sa.SmallInteger(), nullable=True),
        sa.Column("sent_score", sa.Float(), nullable=True),
        sa.PrimaryKeyConstraint("post_id", "date", name=op.f("pk_posts_2023_32")),
        schema=schema,
    )
    op.create_table(
        "posts_2023_33",
        sa.Column("post_id", sa.BigInteger(), nullable=False),
        sa.Column("user_id", sa.BigInteger(), nullable=False),
        sa.Column("instance", sa.String(), nullable=False),
        sa.Column("date", sa.DateTime(), nullable=False),
        sa.Column("text", sa.Text(), nullable=False),
        sa.Column("langs", sa.String(), nullable=True),
        sa.Column("like_count", sa.Integer(), nullable=False),
        sa.Column("reply_count", sa.Integer(), nullable=False),
        sa.Column("repost_count", sa.Integer(), nullable=False),
        sa.Column("reply_to", sa.BigInteger(), nullable=True),
        sa.Column("replied_author", sa.BigInteger(), nullable=True),
        sa.Column("thread_root", sa.BigInteger(), nullable=True),
        sa.Column("thread_root_author", sa.BigInteger(), nullable=True),
        sa.Column("repost_from", sa.BigInteger(), nullable=True),
        sa.Column("reposted_author", sa.BigInteger(), nullable=True),
        sa.Column("quotes", sa.BigInteger(), nullable=True),
        sa.Column("quoted_author", sa.BigInteger(), nullable=True),
        sa.Column("labels", sa.String(), nullable=True),
        sa.Column("sent_label", sa.SmallInteger(), nullable=True),
        sa.Column("sent_score", sa.Float(), nullable=True),
        sa.PrimaryKeyConstraint("post_id", "date", name=op.f("pk_posts_2023_33")),
        schema=schema,
    )
    op.create_table(
        "posts_2023_34",
        sa.Column("post_id", sa.BigInteger(), nullable=False),
        sa.Column("user_id", sa.BigInteger(), nullable=False),
        sa.Column("instance", sa.String(), nullable=False),
        sa.Column("date", sa.DateTime(), nullable=False),
        sa.Column("text", sa.Text(), nullable=False),
        sa.Column("langs", sa.String(), nullable=True),
        sa.Column("like_count", sa.Integer(), nullable=False),
        sa.Column("reply_count", sa.Integer(), nullable=False),
        sa.Column("repost_count", sa.Integer(), nullable=False),
        sa.Column("reply_to", sa.BigInteger(), nullable=True),
        sa.Column("replied_author", sa.BigInteger(), nullable=True),
        sa.Column("thread_root", sa.BigInteger(), nullable=True),
        sa.Column("thread_root_author", sa.BigInteger(), nullable=True),
        sa.Column("repost_from", sa.BigInteger(), nullable=True),
        sa.Column("reposted_author", sa.BigInteger(), nullable=True),
        sa.Column("quotes", sa.BigInteger(), nullable=True),
        sa.Column("quoted_author", sa.BigInteger(), nullable=True),
        sa.Column("labels", sa.String(), nullable=True),
        sa.Column("sent_label", sa.SmallInteger(), nullable=True),
        sa.Column("sent_score", sa.Float(), nullable=True),
        sa.PrimaryKeyConstraint("post_id", "date", name=op.f("pk_posts_2023_34")),
        schema=schema,
    )
    op.create_table(
        "posts_2023_35",
        sa.Column("post_id", sa.BigInteger(), nullable=False),
        sa.Column("user_id", sa.BigInteger(), nullable=False),
        sa.Column("instance", sa.String(), nullable=False),
        sa.Column("date", sa.DateTime(), nullable=False),
        sa.Column("text", sa.Text(), nullable=False),
        sa.Column("langs", sa.String(), nullable=True),
        sa.Column("like_count", sa.Integer(), nullable=False),
        sa.Column("reply_count", sa.Integer(), nullable=False),
        sa.Column("repost_count", sa.Integer(), nullable=False),
        sa.Column("reply_to", sa.BigInteger(), nullable=True),
        sa.Column("replied_author", sa.BigInteger(), nullable=True),
        sa.Column("thread_root", sa.BigInteger(), nullable=True),
        sa.Column("thread_root_author", sa.BigInteger(), nullable=True),
        sa.Column("repost_from", sa.BigInteger(), nullable=True),
        sa.Column("reposted_author", sa.BigInteger(), nullable=True),
        sa.Column("quotes", sa.BigInteger(), nullable=True),
        sa.Column("quoted_author", sa.BigInteger(), nullable=True),
        sa.Column("labels", sa.String(), nullable=True),
        sa.Column("sent_label", sa.SmallInteger(), nullable=True),
        sa.Column("sent_score", sa.Float(), nullable=True),
        sa.PrimaryKeyConstraint("post_id", "date", name=op.f("pk_posts_2023_35")),
        schema=schema,
    )
    op.create_table(
        "posts_2023_36",
        sa.Column("post_id", sa.BigInteger(), nullable=False),
        sa.Column("user_id", sa.BigInteger(), nullable=False),
        sa.Column("instance", sa.String(), nullable=False),
        sa.Column("date", sa.DateTime(), nullable=False),
        sa.Column("text", sa.Text(), nullable=False),
        sa.Column("langs", sa.String(), nullable=True),
        sa.Column("like_count", sa.Integer(), nullable=False),
        sa.Column("reply_count", sa.Integer(), nullable=False),
        sa.Column("repost_count", sa.Integer(), nullable=False),
        sa.Column("reply_to", sa.BigInteger(), nullable=True),
        sa.Column("replied_author", sa.BigInteger(), nullable=True),
        sa.Column("thread_root", sa.BigInteger(), nullable=True),
        sa.Column("thread_root_author", sa.BigInteger(), nullable=True),
        sa.Column("repost_from", sa.BigInteger(), nullable=True),
        sa.Column("reposted_author", sa.BigInteger(), nullable=True),
        sa.Column("quotes", sa.BigInteger(), nullable=True),
        sa.Column("quoted_author", sa.BigInteger(), nullable=True),
        sa.Column("labels", sa.String(), nullable=True),
        sa.Column("sent_label", sa.SmallInteger(), nullable=True),
        sa.Column("sent_score", sa.Float(), nullable=True),
        sa.PrimaryKeyConstraint("post_id", "date", name=op.f("pk_posts_2023_36")),
        schema=schema,
    )
    op.create_table(
        "posts_2023_37",
        sa.Column("post_id", sa.BigInteger(), nullable=False),
        sa.Column("user_id", sa.BigInteger(), nullable=False),
        sa.Column("instance", sa.String(), nullable=False),
        sa.Column("date", sa.DateTime(), nullable=False),
        sa.Column("text", sa.Text(), nullable=False),
        sa.Column("langs", sa.String(), nullable=True),
        sa.Column("like_count", sa.Integer(), nullable=False),
        sa.Column("reply_count", sa.Integer(), nullable=False),
        sa.Column("repost_count", sa.Integer(), nullable=False),
        sa.Column("reply_to", sa.BigInteger(), nullable=True),
        sa.Column("replied_author", sa.BigInteger(), nullable=True),
        sa.Column("thread_root", sa.BigInteger(), nullable=True),
        sa.Column("thread_root_author", sa.BigInteger(), nullable=True),
        sa.Column("repost_from", sa.BigInteger(), nullable=True),
        sa.Column("reposted_author", sa.BigInteger(), nullable=True),
        sa.Column("quotes", sa.BigInteger(), nullable=True),
        sa.Column("quoted_author", sa.BigInteger(), nullable=True),
        sa.Column("labels", sa.String(), nullable=True),
        sa.Column("sent_label", sa.SmallInteger(), nullable=True),
        sa.Column("sent_score", sa.Float(), nullable=True),
        sa.PrimaryKeyConstraint("post_id", "date", name=op.f("pk_posts_2023_37")),
        schema=schema,
    )
    op.create_table(
        "posts_2023_38",
        sa.Column("post_id", sa.BigInteger(), nullable=False),
        sa.Column("user_id", sa.BigInteger(), nullable=False),
        sa.Column("instance", sa.String(), nullable=False),
        sa.Column("date", sa.DateTime(), nullable=False),
        sa.Column("text", sa.Text(), nullable=False),
        sa.Column("langs", sa.String(), nullable=True),
        sa.Column("like_count", sa.Integer(), nullable=False),
        sa.Column("reply_count", sa.Integer(), nullable=False),
        sa.Column("repost_count", sa.Integer(), nullable=False),
        sa.Column("reply_to", sa.BigInteger(), nullable=True),
        sa.Column("replied_author", sa.BigInteger(), nullable=True),
        sa.Column("thread_root", sa.BigInteger(), nullable=True),
        sa.Column("thread_root_author", sa.BigInteger(), nullable=True),
        sa.Column("repost_from", sa.BigInteger(), nullable=True),
        sa.Column("reposted_author", sa.BigInteger(), nullable=True),
        sa.Column("quotes", sa.BigInteger(), nullable=True),
        sa.Column("quoted_author", sa.BigInteger(), nullable=True),
        sa.Column("labels", sa.String(), nullable=True),
        sa.Column("sent_label", sa.SmallInteger(), nullable=True),
        sa.Column("sent_score", sa.Float(), nullable=True),
        sa.PrimaryKeyConstraint("post_id", "date", name=op.f("pk_posts_2023_38")),
        schema=schema,
    )
    op.create_table(
        "posts_2023_39",
        sa.Column("post_id", sa.BigInteger(), nullable=False),
        sa.Column("user_id", sa.BigInteger(), nullable=False),
        sa.Column("instance", sa.String(), nullable=False),
        sa.Column("date", sa.DateTime(), nullable=False),
        sa.Column("text", sa.Text(), nullable=False),
        sa.Column("langs", sa.String(), nullable=True),
        sa.Column("like_count", sa.Integer(), nullable=False),
        sa.Column("reply_count", sa.Integer(), nullable=False),
        sa.Column("repost_count", sa.Integer(), nullable=False),
        sa.Column("reply_to", sa.BigInteger(), nullable=True),
        sa.Column("replied_author", sa.BigInteger(), nullable=True),
        sa.Column("thread_root", sa.BigInteger(), nullable=True),
        sa.Column("thread_root_author", sa.BigInteger(), nullable=True),
        sa.Column("repost_from", sa.BigInteger(), nullable=True),
        sa.Column("reposted_author", sa.BigInteger(), nullable=True),
        sa.Column("quotes", sa.BigInteger(), nullable=True),
        sa.Column("quoted_author", sa.BigInteger(), nullable=True),
        sa.Column("labels", sa.String(), nullable=True),
        sa.Column("sent_label", sa.SmallInteger(), nullable=True),
        sa.Column("sent_score", sa.Float(), nullable=True),
        sa.PrimaryKeyConstraint("post_id", "date", name=op.f("pk_posts_2023_39")),
        schema=schema,
    )
    op.create_table(
        "posts_2023_40",
        sa.Column("post_id", sa.BigInteger(), nullable=False),
        sa.Column("user_id", sa.BigInteger(), nullable=False),
        sa.Column("instance", sa.String(), nullable=False),
        sa.Column("date", sa.DateTime(), nullable=False),
        sa.Column("text", sa.Text(), nullable=False),
        sa.Column("langs", sa.String(), nullable=True),
        sa.Column("like_count", sa.Integer(), nullable=False),
        sa.Column("reply_count", sa.Integer(), nullable=False),
        sa.Column("repost_count", sa.Integer(), nullable=False),
        sa.Column("reply_to", sa.BigInteger(), nullable=True),
        sa.Column("replied_author", sa.BigInteger(), nullable=True),
        sa.Column("thread_root", sa.BigInteger(), nullable=True),
        sa.Column("thread_root_author", sa.BigInteger(), nullable=True),
        sa.Column("repost_from", sa.BigInteger(), nullable=True),
        sa.Column("reposted_author", sa.BigInteger(), nullable=True),
        sa.Column("quotes", sa.BigInteger(), nullable=True),
        sa.Column("quoted_author", sa.BigInteger(), nullable=True),
        sa.Column("labels", sa.String(), nullable=True),
        sa.Column("sent_label", sa.SmallInteger(), nullable=True),
        sa.Column("sent_score", sa.Float(), nullable=True),
        sa.PrimaryKeyConstraint("post_id", "date", name=op.f("pk_posts_2023_40")),
        schema=schema,
    )
    op.create_table(
        "posts_2023_41",
        sa.Column("post_id", sa.BigInteger(), nullable=False),
        sa.Column("user_id", sa.BigInteger(), nullable=False),
        sa.Column("instance", sa.String(), nullable=False),
        sa.Column("date", sa.DateTime(), nullable=False),
        sa.Column("text", sa.Text(), nullable=False),
        sa.Column("langs", sa.String(), nullable=True),
        sa.Column("like_count", sa.Integer(), nullable=False),
        sa.Column("reply_count", sa.Integer(), nullable=False),
        sa.Column("repost_count", sa.Integer(), nullable=False),
        sa.Column("reply_to", sa.BigInteger(), nullable=True),
        sa.Column("replied_author", sa.BigInteger(), nullable=True),
        sa.Column("thread_root", sa.BigInteger(), nullable=True),
        sa.Column("thread_root_author", sa.BigInteger(), nullable=True),
        sa.Column("repost_from", sa.BigInteger(), nullable=True),
        sa.Column("reposted_author", sa.BigInteger(), nullable=True),
        sa.Column("quotes", sa.BigInteger(), nullable=True),
        sa.Column("quoted_author", sa.BigInteger(), nullable=True),
        sa.Column("labels", sa.String(), nullable=True),
        sa.Column("sent_label", sa.SmallInteger(), nullable=True),
        sa.Column("sent_score", sa.Float(), nullable=True),
        sa.PrimaryKeyConstraint("post_id", "date", name=op.f("pk_posts_2023_41")),
        schema=schema,
    )
    op.create_table(
        "posts_2023_42",
        sa.Column("post_id", sa.BigInteger(), nullable=False),
        sa.Column("user_id", sa.BigInteger(), nullable=False),
        sa.Column("instance", sa.String(), nullable=False),
        sa.Column("date", sa.DateTime(), nullable=False),
        sa.Column("text", sa.Text(), nullable=False),
        sa.Column("langs", sa.String(), nullable=True),
        sa.Column("like_count", sa.Integer(), nullable=False),
        sa.Column("reply_count", sa.Integer(), nullable=False),
        sa.Column("repost_count", sa.Integer(), nullable=False),
        sa.Column("reply_to", sa.BigInteger(), nullable=True),
        sa.Column("replied_author", sa.BigInteger(), nullable=True),
        sa.Column("thread_root", sa.BigInteger(), nullable=True),
        sa.Column("thread_root_author", sa.BigInteger(), nullable=True),
        sa.Column("repost_from", sa.BigInteger(), nullable=True),
        sa.Column("reposted_author", sa.BigInteger(), nullable=True),
        sa.Column("quotes", sa.BigInteger(), nullable=True),
        sa.Column("quoted_author", sa.BigInteger(), nullable=True),
        sa.Column("labels", sa.String(), nullable=True),
        sa.Column("sent_label", sa.SmallInteger(), nullable=True),
        sa.Column("sent_score", sa.Float(), nullable=True),
        sa.PrimaryKeyConstraint("post_id", "date", name=op.f("pk_posts_2023_42")),
        schema=schema,
    )
    op.create_table(
        "posts_2023_43",
        sa.Column("post_id", sa.BigInteger(), nullable=False),
        sa.Column("user_id", sa.BigInteger(), nullable=False),
        sa.Column("instance", sa.String(), nullable=False),
        sa.Column("date", sa.DateTime(), nullable=False),
        sa.Column("text", sa.Text(), nullable=False),
        sa.Column("langs", sa.String(), nullable=True),
        sa.Column("like_count", sa.Integer(), nullable=False),
        sa.Column("reply_count", sa.Integer(), nullable=False),
        sa.Column("repost_count", sa.Integer(), nullable=False),
        sa.Column("reply_to", sa.BigInteger(), nullable=True),
        sa.Column("replied_author", sa.BigInteger(), nullable=True),
        sa.Column("thread_root", sa.BigInteger(), nullable=True),
        sa.Column("thread_root_author", sa.BigInteger(), nullable=True),
        sa.Column("repost_from", sa.BigInteger(), nullable=True),
        sa.Column("reposted_author", sa.BigInteger(), nullable=True),
        sa.Column("quotes", sa.BigInteger(), nullable=True),
        sa.Column("quoted_author", sa.BigInteger(), nullable=True),
        sa.Column("labels", sa.String(), nullable=True),
        sa.Column("sent_label", sa.SmallInteger(), nullable=True),
        sa.Column("sent_score", sa.Float(), nullable=True),
        sa.PrimaryKeyConstraint("post_id", "date", name=op.f("pk_posts_2023_43")),
        schema=schema,
    )
    op.create_table(
        "posts_2023_44",
        sa.Column("post_id", sa.BigInteger(), nullable=False),
        sa.Column("user_id", sa.BigInteger(), nullable=False),
        sa.Column("instance", sa.String(), nullable=False),
        sa.Column("date", sa.DateTime(), nullable=False),
        sa.Column("text", sa.Text(), nullable=False),
        sa.Column("langs", sa.String(), nullable=True),
        sa.Column("like_count", sa.Integer(), nullable=False),
        sa.Column("reply_count", sa.Integer(), nullable=False),
        sa.Column("repost_count", sa.Integer(), nullable=False),
        sa.Column("reply_to", sa.BigInteger(), nullable=True),
        sa.Column("replied_author", sa.BigInteger(), nullable=True),
        sa.Column("thread_root", sa.BigInteger(), nullable=True),
        sa.Column("thread_root_author", sa.BigInteger(), nullable=True),
        sa.Column("repost_from", sa.BigInteger(), nullable=True),
        sa.Column("reposted_author", sa.BigInteger(), nullable=True),
        sa.Column("quotes", sa.BigInteger(), nullable=True),
        sa.Column("quoted_author", sa.BigInteger(), nullable=True),
        sa.Column("labels", sa.String(), nullable=True),
        sa.Column("sent_label", sa.SmallInteger(), nullable=True),
        sa.Column("sent_score", sa.Float(), nullable=True),
        sa.PrimaryKeyConstraint("post_id", "date", name=op.f("pk_posts_2023_44")),
        schema=schema,
    )
    op.create_table(
        "posts_2023_45",
        sa.Column("post_id", sa.BigInteger(), nullable=False),
        sa.Column("user_id", sa.BigInteger(), nullable=False),
        sa.Column("instance", sa.String(), nullable=False),
        sa.Column("date", sa.DateTime(), nullable=False),
        sa.Column("text", sa.Text(), nullable=False),
        sa.Column("langs", sa.String(), nullable=True),
        sa.Column("like_count", sa.Integer(), nullable=False),
        sa.Column("reply_count", sa.Integer(), nullable=False),
        sa.Column("repost_count", sa.Integer(), nullable=False),
        sa.Column("reply_to", sa.BigInteger(), nullable=True),
        sa.Column("replied_author", sa.BigInteger(), nullable=True),
        sa.Column("thread_root", sa.BigInteger(), nullable=True),
        sa.Column("thread_root_author", sa.BigInteger(), nullable=True),
        sa.Column("repost_from", sa.BigInteger(), nullable=True),
        sa.Column("reposted_author", sa.BigInteger(), nullable=True),
        sa.Column("quotes", sa.BigInteger(), nullable=True),
        sa.Column("quoted_author", sa.BigInteger(), nullable=True),
        sa.Column("labels", sa.String(), nullable=True),
        sa.Column("sent_label", sa.SmallInteger(), nullable=True),
        sa.Column("sent_score", sa.Float(), nullable=True),
        sa.PrimaryKeyConstraint("post_id", "date", name=op.f("pk_posts_2023_45")),
        schema=schema,
    )
    op.create_table(
        "posts_2023_46",
        sa.Column("post_id", sa.BigInteger(), nullable=False),
        sa.Column("user_id", sa.BigInteger(), nullable=False),
        sa.Column("instance", sa.String(), nullable=False),
        sa.Column("date", sa.DateTime(), nullable=False),
        sa.Column("text", sa.Text(), nullable=False),
        sa.Column("langs", sa.String(), nullable=True),
        sa.Column("like_count", sa.Integer(), nullable=False),
        sa.Column("reply_count", sa.Integer(), nullable=False),
        sa.Column("repost_count", sa.Integer(), nullable=False),
        sa.Column("reply_to", sa.BigInteger(), nullable=True),
        sa.Column("replied_author", sa.BigInteger(), nullable=True),
        sa.Column("thread_root", sa.BigInteger(), nullable=True),
        sa.Column("thread_root_author", sa.BigInteger(), nullable=True),
        sa.Column("repost_from", sa.BigInteger(), nullable=True),
        sa.Column("reposted_author", sa.BigInteger(), nullable=True),
        sa.Column("quotes", sa.BigInteger(), nullable=True),
        sa.Column("quoted_author", sa.BigInteger(), nullable=True),
        sa.Column("labels", sa.String(), nullable=True),
        sa.Column("sent_label", sa.SmallInteger(), nullable=True),
        sa.Column("sent_score", sa.Float(), nullable=True),
        sa.PrimaryKeyConstraint("post_id", "date", name=op.f("pk_posts_2023_46")),
        schema=schema,
    )
    op.create_table(
        "posts_2023_47",
        sa.Column("post_id", sa.BigInteger(), nullable=False),
        sa.Column("user_id", sa.BigInteger(), nullable=False),
        sa.Column("instance", sa.String(), nullable=False),
        sa.Column("date", sa.DateTime(), nullable=False),
        sa.Column("text", sa.Text(), nullable=False),
        sa.Column("langs", sa.String(), nullable=True),
        sa.Column("like_count", sa.Integer(), nullable=False),
        sa.Column("reply_count", sa.Integer(), nullable=False),
        sa.Column("repost_count", sa.Integer(), nullable=False),
        sa.Column("reply_to", sa.BigInteger(), nullable=True),
        sa.Column("replied_author", sa.BigInteger(), nullable=True),
        sa.Column("thread_root", sa.BigInteger(), nullable=True),
        sa.Column("thread_root_author", sa.BigInteger(), nullable=True),
        sa.Column("repost_from", sa.BigInteger(), nullable=True),
        sa.Column("reposted_author", sa.BigInteger(), nullable=True),
        sa.Column("quotes", sa.BigInteger(), nullable=True),
        sa.Column("quoted_author", sa.BigInteger(), nullable=True),
        sa.Column("labels", sa.String(), nullable=True),
        sa.Column("sent_label", sa.SmallInteger(), nullable=True),
        sa.Column("sent_score", sa.Float(), nullable=True),
        sa.PrimaryKeyConstraint("post_id", "date", name=op.f("pk_posts_2023_47")),
        schema=schema,
    )
    op.create_table(
        "posts_2023_48",
        sa.Column("post_id", sa.BigInteger(), nullable=False),
        sa.Column("user_id", sa.BigInteger(), nullable=False),
        sa.Column("instance", sa.String(), nullable=False),
        sa.Column("date", sa.DateTime(), nullable=False),
        sa.Column("text", sa.Text(), nullable=False),
        sa.Column("langs", sa.String(), nullable=True),
        sa.Column("like_count", sa.Integer(), nullable=False),
        sa.Column("reply_count", sa.Integer(), nullable=False),
        sa.Column("repost_count", sa.Integer(), nullable=False),
        sa.Column("reply_to", sa.BigInteger(), nullable=True),
        sa.Column("replied_author", sa.BigInteger(), nullable=True),
        sa.Column("thread_root", sa.BigInteger(), nullable=True),
        sa.Column("thread_root_author", sa.BigInteger(), nullable=True),
        sa.Column("repost_from", sa.BigInteger(), nullable=True),
        sa.Column("reposted_author", sa.BigInteger(), nullable=True),
        sa.Column("quotes", sa.BigInteger(), nullable=True),
        sa.Column("quoted_author", sa.BigInteger(), nullable=True),
        sa.Column("labels", sa.String(), nullable=True),
        sa.Column("sent_label", sa.SmallInteger(), nullable=True),
        sa.Column("sent_score", sa.Float(), nullable=True),
        sa.PrimaryKeyConstraint("post_id", "date", name=op.f("pk_posts_2023_48")),
        schema=schema,
    )
    op.create_table(
        "posts_2023_49",
        sa.Column("post_id", sa.BigInteger(), nullable=False),
        sa.Column("user_id", sa.BigInteger(), nullable=False),
        sa.Column("instance", sa.String(), nullable=False),
        sa.Column("date", sa.DateTime(), nullable=False),
        sa.Column("text", sa.Text(), nullable=False),
        sa.Column("langs", sa.String(), nullable=True),
        sa.Column("like_count", sa.Integer(), nullable=False),
        sa.Column("reply_count", sa.Integer(), nullable=False),
        sa.Column("repost_count", sa.Integer(), nullable=False),
        sa.Column("reply_to", sa.BigInteger(), nullable=True),
        sa.Column("replied_author", sa.BigInteger(), nullable=True),
        sa.Column("thread_root", sa.BigInteger(), nullable=True),
        sa.Column("thread_root_author", sa.BigInteger(), nullable=True),
        sa.Column("repost_from", sa.BigInteger(), nullable=True),
        sa.Column("reposted_author", sa.BigInteger(), nullable=True),
        sa.Column("quotes", sa.BigInteger(), nullable=True),
        sa.Column("quoted_author", sa.BigInteger(), nullable=True),
        sa.Column("labels", sa.String(), nullable=True),
        sa.Column("sent_label", sa.SmallInteger(), nullable=True),
        sa.Column("sent_score", sa.Float(), nullable=True),
        sa.PrimaryKeyConstraint("post_id", "date", name=op.f("pk_posts_2023_49")),
        schema=schema,
    )
    op.create_table(
        "posts_2023_50",
        sa.Column("post_id", sa.BigInteger(), nullable=False),
        sa.Column("user_id", sa.BigInteger(), nullable=False),
        sa.Column("instance", sa.String(), nullable=False),
        sa.Column("date", sa.DateTime(), nullable=False),
        sa.Column("text", sa.Text(), nullable=False),
        sa.Column("langs", sa.String(), nullable=True),
        sa.Column("like_count", sa.Integer(), nullable=False),
        sa.Column("reply_count", sa.Integer(), nullable=False),
        sa.Column("repost_count", sa.Integer(), nullable=False),
        sa.Column("reply_to", sa.BigInteger(), nullable=True),
        sa.Column("replied_author", sa.BigInteger(), nullable=True),
        sa.Column("thread_root", sa.BigInteger(), nullable=True),
        sa.Column("thread_root_author", sa.BigInteger(), nullable=True),
        sa.Column("repost_from", sa.BigInteger(), nullable=True),
        sa.Column("reposted_author", sa.BigInteger(), nullable=True),
        sa.Column("quotes", sa.BigInteger(), nullable=True),
        sa.Column("quoted_author", sa.BigInteger(), nullable=True),
        sa.Column("labels", sa.String(), nullable=True),
        sa.Column("sent_label", sa.SmallInteger(), nullable=True),
        sa.Column("sent_score", sa.Float(), nullable=True),
        sa.PrimaryKeyConstraint("post_id", "date", name=op.f("pk_posts_2023_50")),
        schema=schema,
    )
    op.create_table(
        "posts_2023_51",
        sa.Column("post_id", sa.BigInteger(), nullable=False),
        sa.Column("user_id", sa.BigInteger(), nullable=False),
        sa.Column("instance", sa.String(), nullable=False),
        sa.Column("date", sa.DateTime(), nullable=False),
        sa.Column("text", sa.Text(), nullable=False),
        sa.Column("langs", sa.String(), nullable=True),
        sa.Column("like_count", sa.Integer(), nullable=False),
        sa.Column("reply_count", sa.Integer(), nullable=False),
        sa.Column("repost_count", sa.Integer(), nullable=False),
        sa.Column("reply_to", sa.BigInteger(), nullable=True),
        sa.Column("replied_author", sa.BigInteger(), nullable=True),
        sa.Column("thread_root", sa.BigInteger(), nullable=True),
        sa.Column("thread_root_author", sa.BigInteger(), nullable=True),
        sa.Column("repost_from", sa.BigInteger(), nullable=True),
        sa.Column("reposted_author", sa.BigInteger(), nullable=True),
        sa.Column("quotes", sa.BigInteger(), nullable=True),
        sa.Column("quoted_author", sa.BigInteger(), nullable=True),
        sa.Column("labels", sa.String(), nullable=True),
        sa.Column("sent_label", sa.SmallInteger(), nullable=True),
        sa.Column("sent_score", sa.Float(), nullable=True),
        sa.PrimaryKeyConstraint("post_id", "date", name=op.f("pk_posts_2023_51")),
        schema=schema,
    )
    op.create_table(
        "posts_2023_52",
        sa.Column("post_id", sa.BigInteger(), nullable=False),
        sa.Column("user_id", sa.BigInteger(), nullable=False),
        sa.Column("instance", sa.String(), nullable=False),
        sa.Column("date", sa.DateTime(), nullable=False),
        sa.Column("text", sa.Text(), nullable=False),
        sa.Column("langs", sa.String(), nullable=True),
        sa.Column("like_count", sa.Integer(), nullable=False),
        sa.Column("reply_count", sa.Integer(), nullable=False),
        sa.Column("repost_count", sa.Integer(), nullable=False),
        sa.Column("reply_to", sa.BigInteger(), nullable=True),
        sa.Column("replied_author", sa.BigInteger(), nullable=True),
        sa.Column("thread_root", sa.BigInteger(), nullable=True),
        sa.Column("thread_root_author", sa.BigInteger(), nullable=True),
        sa.Column("repost_from", sa.BigInteger(), nullable=True),
        sa.Column("reposted_author", sa.BigInteger(), nullable=True),
        sa.Column("quotes", sa.BigInteger(), nullable=True),
        sa.Column("quoted_author", sa.BigInteger(), nullable=True),
        sa.Column("labels", sa.String(), nullable=True),
        sa.Column("sent_label", sa.SmallInteger(), nullable=True),
        sa.Column("sent_score", sa.Float(), nullable=True),
        sa.PrimaryKeyConstraint("post_id", "date", name=op.f("pk_posts_2023_52")),
        schema=schema,
    )
    # ### end Alembic commands ###


def downgrade() -> None:  # noqa: PLR0915
    """Downgrade."""
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_table("posts_2023_52", schema=schema)
    op.drop_table("posts_2023_51", schema=schema)
    op.drop_table("posts_2023_50", schema=schema)
    op.drop_table("posts_2023_49", schema=schema)
    op.drop_table("posts_2023_48", schema=schema)
    op.drop_table("posts_2023_47", schema=schema)
    op.drop_table("posts_2023_46", schema=schema)
    op.drop_table("posts_2023_45", schema=schema)
    op.drop_table("posts_2023_44", schema=schema)
    op.drop_table("posts_2023_43", schema=schema)
    op.drop_table("posts_2023_42", schema=schema)
    op.drop_table("posts_2023_41", schema=schema)
    op.drop_table("posts_2023_40", schema=schema)
    op.drop_table("posts_2023_39", schema=schema)
    op.drop_table("posts_2023_38", schema=schema)
    op.drop_table("posts_2023_37", schema=schema)
    op.drop_table("posts_2023_36", schema=schema)
    op.drop_table("posts_2023_35", schema=schema)
    op.drop_table("posts_2023_34", schema=schema)
    op.drop_table("posts_2023_33", schema=schema)
    op.drop_table("posts_2023_32", schema=schema)
    op.drop_table("posts_2023_31", schema=schema)
    op.drop_table("posts_2023_30", schema=schema)
    op.drop_table("posts_2023_29", schema=schema)
    op.drop_table("posts_2023_28", schema=schema)
    op.drop_table("posts_2023_27", schema=schema)
    op.drop_table("posts_2023_26", schema=schema)
    op.drop_table("posts_2023_25", schema=schema)
    op.drop_table("posts_2023_24", schema=schema)
    op.drop_table("posts_2023_23", schema=schema)
    op.drop_table("posts_2023_22", schema=schema)
    op.drop_table("posts_2023_21", schema=schema)
    op.drop_table("posts_2023_20", schema=schema)
    op.drop_table("posts_2023_19", schema=schema)
    op.drop_table("posts_2023_18", schema=schema)
    op.drop_table("posts_2023_17", schema=schema)
    op.drop_table("posts_2023_16", schema=schema)
    op.drop_table("posts_2023_15", schema=schema)
    op.drop_table("posts_2023_14", schema=schema)
    op.drop_table("posts_2023_13", schema=schema)
    op.drop_table("posts_2023_12", schema=schema)
    op.drop_table("posts_2023_11", schema=schema)
    op.drop_table("posts_2023_10", schema=schema)
    op.drop_table("posts_2023_09", schema=schema)
    op.drop_table("posts_2023_08", schema=schema)
    op.drop_table("posts_2023_07", schema=schema)
    op.drop_table("posts_2023_06", schema=schema)
    op.drop_table("posts_2023_05", schema=schema)
    op.drop_table("posts_2023_04", schema=schema)
    op.drop_table("posts_2023_03", schema=schema)
    op.drop_table("posts_2023_02", schema=schema)
    op.drop_table("posts_2023_01", schema=schema)
    # ### end Alembic commands ###
