Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
3f4630e
add example module docs
penutbutterbaby Jan 3, 2026
3c45907
docs(faq): add some basics questions and answers
penutbutterbaby Jan 5, 2026
fe42bb0
docs(style): add guidelines for nested lists formatting in markdown d…
kzndotsh Jan 9, 2026
cb4fc78
docs(roles): update role assignment command syntax for clarity
kzndotsh Jan 9, 2026
c7fe242
docs(templates): add new documentation templates for commands, comman…
kzndotsh Jan 9, 2026
15e74f7
docs(index): add new documentation section for templates and resources
kzndotsh Jan 9, 2026
e843970
docs: update feature documentation for clarity and completeness
kzndotsh Jan 9, 2026
f946272
docs: remove example module documentation
kzndotsh Jan 9, 2026
154e934
docs: expand navigation structure with detailed module and command do…
kzndotsh Jan 9, 2026
492b24f
docs(markdownlint): update configuration for heading rules
kzndotsh Jan 9, 2026
edba537
docs(fun): add Fun module documentation with Random and XKCD commands
kzndotsh Jan 9, 2026
de47b57
docs(info): add comprehensive documentation for Info module and relat…
kzndotsh Jan 9, 2026
add63e4
docs(levels): add comprehensive documentation for Levels module and r…
kzndotsh Jan 9, 2026
8eae6a2
docs(tools): add comprehensive documentation for Tools module and rel…
kzndotsh Jan 9, 2026
1a80c64
docs(modules): restructure and rename User Commands section to Modules
kzndotsh Jan 9, 2026
bc6a82e
docs(snippets): add comprehensive documentation for Snippets module a…
kzndotsh Jan 9, 2026
265c8c5
docs(utility): add comprehensive documentation for Utility module and…
kzndotsh Jan 9, 2026
5f3c9ac
docs(moderation): add comprehensive documentation for Moderation comm…
kzndotsh Jan 9, 2026
429cdc9
docs(config): add comprehensive documentation for Config module and r…
kzndotsh Jan 9, 2026
1f130cd
fix(vscode): disable markdown validation in settings
kzndotsh Jan 9, 2026
5d1ed5e
docs(deslop): add comprehensive documentation for Deslop command
kzndotsh Jan 12, 2026
95c7c7d
docs(templates): add documentation templates guidance for module docu…
kzndotsh Jan 12, 2026
58f3ba3
docs(bookmarks): enhance documentation for bookmarks feature
kzndotsh Jan 12, 2026
ae1d4d8
docs(modules): enhance documentation for various modules and commands
kzndotsh Jan 12, 2026
cf11ce2
feat(documentation): enhance documentation commands with comprehensiv…
kzndotsh Jan 4, 2026
ec4ce01
chore(docs): update Docker installation guide for clarity and consist…
kzndotsh Jan 4, 2026
61868d2
chore(docs): remove filler
kzndotsh Jan 4, 2026
0a3ef0a
refactor(models): simplify timestamp field definitions in TimestampMi…
kzndotsh Jan 4, 2026
2192fd8
refactor(models): remove unnecessary sa_type specifications for datet…
kzndotsh Jan 4, 2026
254e345
refactor(error): streamline error handler configurations by removing …
kzndotsh Jan 4, 2026
24521be
fix(tests): correct usage of column in delete statement for Guild model
kzndotsh Jan 4, 2026
0abe81d
feat(migrations): adjust datetime fields to remove timezone specifica…
kzndotsh Jan 4, 2026
cf1d57f
feat(docs): add comprehensive Deslop documentation for writing standa…
kzndotsh Jan 4, 2026
924a2b1
docs(database): update database configuration documentation for clari…
kzndotsh Jan 4, 2026
0992060
docs(environment): enhance environment configuration documentation fo…
kzndotsh Jan 4, 2026
68ec528
fix(config): update default PostgreSQL password for enhanced security
kzndotsh Jan 4, 2026
dbb5a69
docs(baremetal): update installation instructions for clarity and eff…
kzndotsh Jan 4, 2026
d64edde
chore(deps): lock file maintenance (#1138)
renovate[bot] Jan 6, 2026
38beb7c
chore(deps): lock file maintenance (#1141)
renovate[bot] Jan 12, 2026
fa324e9
fix(models): remove timezone info from datetime fields for consistency
kzndotsh Jan 12, 2026
32ae2a4
docs(server): update documentation for local server configuration and…
kzndotsh Jan 12, 2026
3bf606a
docs: update various documentation files for clarity and consistency
kzndotsh Jan 12, 2026
e929a4f
Merge branch 'main' into fix/docs
kzndotsh Jan 12, 2026
81a5c2d
docs: enhance moderation command documentation with detailed reason p…
kzndotsh Jan 12, 2026
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
Prev Previous commit
Next Next commit
fix(tests): correct usage of column in delete statement for Guild model
- Updated the delete statement in the test for model relationships to use `column("id")` instead of directly referencing `Guild.id`, ensuring proper execution of the SQL delete operation.
- This change enhances the clarity and correctness of the test implementation.
  • Loading branch information
kzndotsh committed Jan 12, 2026
commit 24521bed31051ee881d2f671b9aa783a6ee05408
5 changes: 4 additions & 1 deletion tests/database/test_database_model_relationships.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"""

import pytest
from sqlalchemy import column
from sqlmodel import delete as sql_delete

from tests.fixtures import (
Expand Down Expand Up @@ -125,7 +126,9 @@ async def test_cascade_behavior(self, db_service: DatabaseService) -> None:
# Load the relationship first to ensure cascade works
await session.refresh(guild, ["guild_config"])
# Use delete statement to ensure cascade works at database level
await session.execute(sql_delete(Guild).where(Guild.id == TEST_GUILD_ID))
await session.execute(
sql_delete(Guild).where(column("id") == TEST_GUILD_ID),
)
await session.commit()

# Use a fresh session to verify deletion (previous session may have cached objects)
Expand Down