Files
JapariArchive/Database/db_schema.py
2026-01-08 22:34:54 +01:00

39 lines
1.1 KiB
Python

from enum import StrEnum
class x_accounts(StrEnum):
table = "x_accounts"
id = "id"
rating = "rating"
name = "name"
is_deleted = "is_deleted"
is_protected = "is_protected"
download_mode = "download_mode"
discord_channel_id = "discord_channel_id"
discord_thread_id = "discord_thread_id"
class x_posts(StrEnum):
table = "x_posts"
id = "id"
account_id = "account_id"
discord_post_id = "discord_post_id"
error_id = "error_id"
action_taken = "action_taken"
rating = "rating"
tags = "tags"
text = "text"
date = "date"
class x_posts_images(StrEnum):
table = "x_posts_images"
post_id = "post_id"
index = "index"
phash = "phash"
dhash = "dhash"
error_id = "error_id"
rating = "rating"
tags = "tags"
file = "file"
saved_file = "saved_file"
vox_label = "vox_label"
duplicate_id = "duplicate_id"
duplicate_index = "duplicate_index"