{
  "id": "34ae70a0-abe1-4808-aa00-3c4922a5aedb",
  "prevId": "a1443f6d-1320-43fa-828b-f68fc004b391",
  "version": "7",
  "dialect": "postgresql",
  "tables": {
    "public.tweets": {
      "name": "tweets",
      "schema": "",
      "columns": {
        "id": {
          "name": "id",
          "type": "integer",
          "primaryKey": true,
          "notNull": true,
          "identity": {
            "type": "always",
            "name": "tweets_id_seq",
            "schema": "public",
            "increment": "1",
            "startWith": "1",
            "minValue": "1",
            "maxValue": "2147483647",
            "cache": "1",
            "cycle": false
          }
        },
        "tweet_id": {
          "name": "tweet_id",
          "type": "varchar(64)",
          "primaryKey": false,
          "notNull": true
        },
        "text": {
          "name": "text",
          "type": "text",
          "primaryKey": false,
          "notNull": true
        },
        "lang": {
          "name": "lang",
          "type": "varchar(10)",
          "primaryKey": false,
          "notNull": false
        },
        "tweet_url": {
          "name": "tweet_url",
          "type": "text",
          "primaryKey": false,
          "notNull": true
        },
        "author_id": {
          "name": "author_id",
          "type": "varchar(64)",
          "primaryKey": false,
          "notNull": true
        },
        "author_username": {
          "name": "author_username",
          "type": "varchar(255)",
          "primaryKey": false,
          "notNull": false
        },
        "author_name": {
          "name": "author_name",
          "type": "varchar(255)",
          "primaryKey": false,
          "notNull": false
        },
        "author_followers": {
          "name": "author_followers",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "default": 0
        },
        "conversation_id": {
          "name": "conversation_id",
          "type": "varchar(64)",
          "primaryKey": false,
          "notNull": false
        },
        "is_reply": {
          "name": "is_reply",
          "type": "boolean",
          "primaryKey": false,
          "notNull": true,
          "default": false
        },
        "in_reply_to_id": {
          "name": "in_reply_to_id",
          "type": "varchar(64)",
          "primaryKey": false,
          "notNull": false
        },
        "in_reply_to_username": {
          "name": "in_reply_to_username",
          "type": "varchar(255)",
          "primaryKey": false,
          "notNull": false
        },
        "like_count": {
          "name": "like_count",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "default": 0
        },
        "reply_count": {
          "name": "reply_count",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "default": 0
        },
        "retweet_count": {
          "name": "retweet_count",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "default": 0
        },
        "quote_count": {
          "name": "quote_count",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "default": 0
        },
        "view_count": {
          "name": "view_count",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "default": 0
        },
        "created_at_utc": {
          "name": "created_at_utc",
          "type": "timestamp with time zone",
          "primaryKey": false,
          "notNull": true
        },
        "captured_at_utc": {
          "name": "captured_at_utc",
          "type": "timestamp with time zone",
          "primaryKey": false,
          "notNull": true,
          "default": "now()"
        },
        "updated_at": {
          "name": "updated_at",
          "type": "timestamp with time zone",
          "primaryKey": false,
          "notNull": true,
          "default": "now()"
        },
        "status": {
          "name": "status",
          "type": "tweet_status",
          "typeSchema": "public",
          "primaryKey": false,
          "notNull": true,
          "default": "'pending'"
        },
        "errors": {
          "name": "errors",
          "type": "jsonb",
          "primaryKey": false,
          "notNull": false,
          "default": "'[]'::jsonb"
        },
        "source": {
          "name": "source",
          "type": "varchar(32)",
          "primaryKey": false,
          "notNull": true,
          "default": "'mentions'"
        },
        "raw_json": {
          "name": "raw_json",
          "type": "jsonb",
          "primaryKey": false,
          "notNull": true
        }
      },
      "indexes": {
        "idx_tweets_tweet_id": {
          "name": "idx_tweets_tweet_id",
          "columns": [
            {
              "expression": "tweet_id",
              "isExpression": false,
              "asc": true,
              "nulls": "last"
            }
          ],
          "isUnique": false,
          "concurrently": false,
          "method": "btree",
          "with": {}
        }
      },
      "foreignKeys": {},
      "compositePrimaryKeys": {},
      "uniqueConstraints": {
        "tweets_tweet_id_unique": {
          "name": "tweets_tweet_id_unique",
          "nullsNotDistinct": false,
          "columns": [
            "tweet_id"
          ]
        }
      },
      "policies": {},
      "checkConstraints": {},
      "isRLSEnabled": false
    }
  },
  "enums": {
    "public.tweet_status": {
      "name": "tweet_status",
      "schema": "public",
      "values": [
        "pending",
        "processed",
        "notified",
        "ready_to_respond",
        "responded",
        "ignored"
      ]
    }
  },
  "schemas": {},
  "sequences": {},
  "roles": {},
  "policies": {},
  "views": {},
  "_meta": {
    "columns": {},
    "schemas": {},
    "tables": {}
  }
}