summaryrefslogtreecommitdiff
path: root/django/core/management/commands/sqlmigrate.py
AgeCommit message (Collapse)Author
2025-07-23Refs #36500 -- Rewrapped long docstrings and block comments via a script.django-bot
Rewrapped long docstrings and block comments to 79 characters + newline using script from https://github.com/medmunds/autofix-w505.
2024-12-09Fixed #35935 -- Colorized system checks when running sqlmigrate.Jacob Walls
2024-05-10Fixed #35429 -- Added argparse choices to --database options.SaJH
2022-02-07Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2021-08-04Fixed typos in migrations tests, comments, and error message.Jacob Walls
2020-03-09Fixed #31318 -- Allowed sqlmigrate to inspect squashed migrations.David Wobrock
2020-03-09Refs #31318 -- Optimized sqlmigrate by using MigrationLoader.David Wobrock
Only loader from MigrationExecutor was used.
2020-03-09Refs #31318 -- Moved MigrationExecutor.collect_sql() to MigrationLoader.David Wobrock
collect_sql() is used only in sqlmigrate.
2020-03-06Optimized a bit handle() of sqlmigrate management command.David Wobrock
2019-07-01Fixed #30595 -- Added error message when no objects found to sql* management ↵Hasan Ramezani
commands.
2019-03-07Fixed #30189 -- Removed transaction from sqlmigrate output if database ↵Parth Patil
doesn't use one.
2018-07-02Removed parser.add_arguments() arguments that match the defaults.Claude Paroz
2018-06-25Fixed #29518 -- Added validation for sqlmigrate's app_label argument.oliver
2017-04-01Removed implicit default store_true/false argparse args.Jon Dufresne
argparse automatically sets the default value for store_true/false arguments to its opposite.
2017-01-25Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2016-04-08Fixed E128 flake8 warnings in django/.Tim Graham
2016-02-05Fixed #25833 -- Added support for non-atomic migrations.Pankrat
Added the Migration.atomic attribute which can be set to False for non-atomic migrations.
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2014-08-18Fixed #23303 -- Added BEGIN and COMMIT statements to the output of sqlmigrate.Baptiste Mispelon
2014-06-20Swapped placeholders in [sql]migrate command errorClaude Paroz
2014-06-14Converted remaining management commands to argparseClaude Paroz
2014-05-15Harmonized some PEP 0263 coding preamblesClaude Paroz
2013-12-28Used app_label instead of appname.Aymeric Augustin
The last component of the dotted path to the application module is consistently referenced as the application "label". For instance it's AppConfig.label. appname could be confused with AppConfig.name, which is the full dotted path.
2013-09-06Adding 'sqlmigrate' command and quote_parameter to support it.Andrew Godwin