Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency celery to v5.3.3 #22

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
124 changes: 62 additions & 62 deletions docs/sqlite_database_structure.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,86 +3,86 @@ Note: this documentation was generated automatically from the tasks.py code usin

**activity table**

|Column|Description|
|---|---|
|event_name|Identification of activity event. This may include 'message_sent', 'guild_joined', 'application_command_used', etc. |
|day|The day the described event occurred, format is 'YYYY-MM-DD'. |
|hour|The hour the event occurred, expressed in a 24-hour format.|
|occurence_count|How many times the event has occurred.|
|associated_channel_id|The unique ID of the channel associated with the event.|
|associated_guild_id|The Unique ID of the guild (server) associated with the event.|
|associated_user_id|The unique user ID associated with the event.|
|extra_field_1|Additional details about the event. The values vary depending on the given event.|
|extra_field_2|Additional details about the event. The values vary depending on the given event.|
| Column | Description |
|--|--|
| event_name | This column contains the name of the event. For example, "message_sent", "guild_joined", etc. |
| day | The date when the event occurred, formatted as 'Year-Month-Day'. |
| hour | The hour when the event occurred. |
| occurrence_count | The number of times the event occurred. |
| associated_channel_id | Channel ID associated with the event. |
| associated_guild_id | Guild ID associated with the event. |
| associated_user_id | User ID associated with the event. |
| extra_field_1 | Additional information about the event. Varies depending on the type of event. |
| extra_field_2 | More additional information about the event. Again, varies depending on the type of event. |

**dm_channels_data table**

|Column|Description|
|---|---|
|channel_id|Unique ID of the channel where direct message happened.|
|dm_user_id|Unique ID of the user involved in the direct message.|
|user_name|Username of the user involved in the direct message.|
|display_name|Display name of the user involved in the direct message.|
|user_avatar_url|URL of the user's avatar.|
|total_message_count|Total count of messages in the direct message.|
|total_voice_channel_duration|Total duration of voice channel usage in minutes.|
|sentiment_score|Sentiment score of messages in the direct message (ranges from -1 to 1, from negative to positive sentiment).|
| Column | Description |
|--|--|
| channel_id | ID of the direct message (DM) channel. |
| dm_user_id | User ID of the DM. |
| user_name | Username in the DM. |
| display_name | Display name of the user in DM. |
| user_avatar_url | URL of the users avatar in DM. |
| total_message_count | Total number of messages in the DM. |
| total_voice_channel_duration | Total duration of voice communications in the channel. |
| sentiment_score | Sentiment score of the conversation in the DM. |

**guild_channels_data table**

|Column|Description|
|---|---|
|channel_id|Unique ID of the guild channel.|
|guild_id|Unique ID of the guild (server).|
|channel_name|Name of the guild channel.|
|total_message_count|Total count of messages in the guild channel.|
|total_voice_channel_duration|Total duration of voice channel usage in the guild channel in minutes.|
| Column | Description |
|--|--|
| channel_id | ID of the guild (group chat) channel. |
| guild_id | ID of the guild. |
| channel_name | Name of the guild channel. |
| total_message_count | Total number of messages in the guild channel. |
| total_voice_channel_duration | Total duration of voice communications in the guild channel. |

**guilds table**

|Column|Description|
|---|---|
|guild_id|Unique ID of the guild.|
|guild_name|Name of the guild.|
|total_message_count|Total count of messages in the guild.|
| Column | Description |
|--|--|
| guild_id | ID of the guild. |
| guild_name | Name of the guild. |
| total_message_count | Total number of messages in the guild. |

**payments table**

|Column|Description|
|---|---|
|payment_id|Unique ID of the payment transaction.|
|payment_date|Date of the payment done, format is 'YYYY-MM-DD'.|
|payment_amount|Amount of payment done.|
|payment_currency|Currency of the payment done.|
|payment_description|Description of the payment done.|
| Column | Description |
|--|--|
| payment_id | ID of the payment. |
| payment_date | Date of the payment, formatted as 'Year-Month-Day'. |
| payment_amount | Amount of the payment. |
| payment_currency | Currency of the payment. |
| payment_description | Description of the payment. |

**voice_sessions table**

|Column|Description|
|---|---|
|channel_id|Unique ID of the channel where voice session was held.|
|guild_id|Unique ID of the guild (server), of which channel the voice session was held.|
|duration_mins|Duration of the voice session in minutes.|
|started_date|Start date and time of the voice session.|
|ended_date|End date and time of the voice session.|
| Column | Description |
|--|--|
| channel_id | ID of the channel where the voice session occurred. |
| guild_id | ID of the guild where the voice session occurred. |
| duration_mins | Duration of the voice session, in minutes. |
| started_date | Date and time when the voice session started. |
| ended_date | Date and time when the voice session ended. |

**sessions table**

|Column|Description|
|---|---|
|duration_mins|Total duration of the user's active session in minutes.|
|started_date|Start date and time of the user's session.|
|ended_date|End date and time of the user's session.|
|device_os|Operating system of the device from which session was active.|
| Column | Description |
|--|--|
| duration_mins | Duration of the session, in minutes. |
| started_date | Date and time when the session started. |
| ended_date | Date and time when the session ended. |
| device_os | Operating system of the device used in the session. |

**package_data table**

|Column|Description|
|---|---|
|package_id|Unique ID of the data package.|
|package_version|Version of the data package.|
|package_owner_id|Unique ID of the owner of the data package.|
|package_owner_name|Username of the owner of the data package.|
|package_owner_display_name|Display Name of the owner of the data package.|
|package_owner_avatar_url|URL of the owner's avatar.|
|package_is_partial|Indicates whether the package is partial (1 - Yes, 0 - No).|
| Column | Description |
|--|--|
| package_id | ID of the data package. |
| package_version | Version of the data package. |
| package_owner_id | ID of the owner of the package. |
| package_owner_name | Name of the owner of the package. |
| package_owner_display_name | Display name of the package owner. |
| package_owner_avatar_url | URL of the package owner's avatar. |
| package_is_partial | Indicates whether the package is partial or complete. |
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ async-timeout==4.0.2
autopep8==2.0.2
billiard==3.6.4.0
blinker==1.6.2
celery==5.2.7
celery==5.3.3
certifi==2023.5.7
cffi==1.15.1
charset-normalizer==3.1.0
Expand Down