Avatar for the tortoise user
tortoise
tortoise-orm
BlogDocsChangelog

Branches performance

Pull requests

feat: Add prepared/compiled/cached parametrized queries#2131
last run
7 minutes ago
return PreparedDeleteQuery from _PreparedQueryMixin.delete instead of DeleteQuery
9 minutes ago
0da28ce
RuslanUC:feat/add-prepared-parametrized-queries
CodSpeed Performance Gauge
0%
tests: fix postgres test error
3 days ago
7027d1d
waketzheng:improve-pydantic-json-dump
CodSpeed Performance Gauge
0%
Fix CreateModel not including DEFAULT clause for db_default fields#2129
last run
1 day ago
Fix CreateModel not including DEFAULT clause for db_default fields _get_model_sql_data builds column definitions for CREATE TABLE but never appends a DEFAULT clause for fields that have db_default set. The add_field path already handles this correctly. Add the same db_default handling to _get_model_sql_data so that CreateModel migrations produce the expected DEFAULT values. Fixes #2117
3 days ago
fea59fc
Br1an67:fix/create-model-db-default
CodSpeed Performance Gauge
0%
Fix AlterField ignoring max_length changes in migrations The _alter_field method only checked for nullability, index, unique, description, default and rename changes. It did not compare SQL_TYPE, so changing max_length (e.g. VARCHAR(32) to VARCHAR(64)) produced no migration SQL. Add SQL type comparison to the base schema editor and update MySQL, MSSQL, and Oracle overrides to emit the correct ALTER statements when the column type changes. Fixes #2120
3 days ago
282fa95
Br1an67:fix/alter-field-max-length
CodSpeed Performance Gauge
0%
© 2026 CodSpeed Technology
Home Terms Privacy Docs