{
  "version": "6",
  "dialect": "sqlite",
  "id": "7bdf32ce-4f47-4666-9e2c-8e2b9f8a5784",
  "prevId": "00000000-0000-0000-0000-000000000000",
  "tables": {
    "articles": {
      "name": "articles",
      "columns": {
        "id": {
          "name": "id",
          "type": "integer",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": true
        },
        "feed_id": {
          "name": "feed_id",
          "type": "integer",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "guid": {
          "name": "guid",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "title": {
          "name": "title",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "link": {
          "name": "link",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "description": {
          "name": "description",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "content": {
          "name": "content",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "author": {
          "name": "author",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "categories": {
          "name": "categories",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "published_at": {
          "name": "published_at",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "is_read": {
          "name": "is_read",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false,
          "default": false
        },
        "is_starred": {
          "name": "is_starred",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false,
          "default": false
        },
        "is_broken": {
          "name": "is_broken",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false,
          "default": false
        },
        "broken_reason": {
          "name": "broken_reason",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "link_fixed": {
          "name": "link_fixed",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "content_fetched_at": {
          "name": "content_fetched_at",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "created_at": {
          "name": "created_at",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "updated_at": {
          "name": "updated_at",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        }
      },
      "indexes": {
        "articles_feed_idx": {
          "name": "articles_feed_idx",
          "columns": [
            "feed_id"
          ],
          "isUnique": false
        },
        "articles_guid_idx": {
          "name": "articles_guid_idx",
          "columns": [
            "guid"
          ],
          "isUnique": false
        },
        "articles_link_idx": {
          "name": "articles_link_idx",
          "columns": [
            "link"
          ],
          "isUnique": false
        },
        "articles_published_idx": {
          "name": "articles_published_idx",
          "columns": [
            "published_at"
          ],
          "isUnique": false
        },
        "articles_read_idx": {
          "name": "articles_read_idx",
          "columns": [
            "is_read"
          ],
          "isUnique": false
        },
        "articles_broken_idx": {
          "name": "articles_broken_idx",
          "columns": [
            "is_broken"
          ],
          "isUnique": false
        },
        "articles_feed_read_idx": {
          "name": "articles_feed_read_idx",
          "columns": [
            "feed_id",
            "is_read"
          ],
          "isUnique": false
        },
        "articles_feed_pub_idx": {
          "name": "articles_feed_pub_idx",
          "columns": [
            "feed_id",
            "published_at"
          ],
          "isUnique": false
        },
        "articles_author_idx": {
          "name": "articles_author_idx",
          "columns": [
            "author"
          ],
          "isUnique": false
        },
        "articles_starred_idx": {
          "name": "articles_starred_idx",
          "columns": [
            "is_starred"
          ],
          "isUnique": false
        }
      },
      "foreignKeys": {
        "articles_feed_id_feeds_id_fk": {
          "name": "articles_feed_id_feeds_id_fk",
          "tableFrom": "articles",
          "tableTo": "feeds",
          "columnsFrom": [
            "feed_id"
          ],
          "columnsTo": [
            "id"
          ],
          "onDelete": "cascade",
          "onUpdate": "no action"
        }
      },
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    },
    "feeds": {
      "name": "feeds",
      "columns": {
        "id": {
          "name": "id",
          "type": "integer",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": true
        },
        "title": {
          "name": "title",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "xml_url": {
          "name": "xml_url",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "html_url": {
          "name": "html_url",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "description": {
          "name": "description",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "category": {
          "name": "category",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "last_fetched_at": {
          "name": "last_fetched_at",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "last_modified": {
          "name": "last_modified",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "etag": {
          "name": "etag",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "fetch_error": {
          "name": "fetch_error",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "error_count": {
          "name": "error_count",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false,
          "default": 0
        },
        "is_active": {
          "name": "is_active",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false,
          "default": true
        },
        "created_at": {
          "name": "created_at",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "updated_at": {
          "name": "updated_at",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        }
      },
      "indexes": {
        "feeds_xml_url_unique": {
          "name": "feeds_xml_url_unique",
          "columns": [
            "xml_url"
          ],
          "isUnique": true
        },
        "feeds_category_idx": {
          "name": "feeds_category_idx",
          "columns": [
            "category"
          ],
          "isUnique": false
        },
        "feeds_active_idx": {
          "name": "feeds_active_idx",
          "columns": [
            "is_active"
          ],
          "isUnique": false
        }
      },
      "foreignKeys": {},
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    },
    "fetch_cache": {
      "name": "fetch_cache",
      "columns": {
        "id": {
          "name": "id",
          "type": "integer",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": true
        },
        "url": {
          "name": "url",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "etag": {
          "name": "etag",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "last_modified": {
          "name": "last_modified",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "content_hash": {
          "name": "content_hash",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "status_code": {
          "name": "status_code",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "fetched_at": {
          "name": "fetched_at",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        }
      },
      "indexes": {
        "fetch_cache_url_unique": {
          "name": "fetch_cache_url_unique",
          "columns": [
            "url"
          ],
          "isUnique": true
        },
        "fetch_cache_url_idx": {
          "name": "fetch_cache_url_idx",
          "columns": [
            "url"
          ],
          "isUnique": false
        }
      },
      "foreignKeys": {},
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    },
    "opml_imports": {
      "name": "opml_imports",
      "columns": {
        "id": {
          "name": "id",
          "type": "integer",
          "primaryKey": true,
          "notNull": true,
          "autoincrement": true
        },
        "file_path": {
          "name": "file_path",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "file_name": {
          "name": "file_name",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "feeds_imported": {
          "name": "feeds_imported",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false,
          "default": 0
        },
        "feeds_skipped": {
          "name": "feeds_skipped",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false,
          "default": 0
        },
        "imported_at": {
          "name": "imported_at",
          "type": "integer",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        }
      },
      "indexes": {},
      "foreignKeys": {},
      "compositePrimaryKeys": {},
      "uniqueConstraints": {},
      "checkConstraints": {}
    }
  },
  "views": {},
  "enums": {},
  "_meta": {
    "schemas": {},
    "tables": {},
    "columns": {}
  },
  "internal": {
    "indexes": {}
  }
}