PyCharm 2016.1 Help

Rename dialog for a table or column

Refactor | Rename

Use this dialog to rename a table or column.

In addition to renaming the table or column itself, PyCharm can also look for the usages of the table or column name. If found, the changes you are making to the table or column name can also be applied to these usages.

Rename <table or column> and its usages toSpecify a new name for the table or column.
Search in comments and stringsIf this check box is selected, PyCharm will look for occurrences of the table or column name within comments and string literals in your source code files.
SQL ScriptThe statement to be run to rename the table or column. If necessary, you can edit the statement right in this pane.
RefactorExecute the statement and make associated changes right away.
PreviewPreview potential associated changes prior to executing the statement. See Previewing changes.
Rename inheritorsSelect this check box to have the changes applied to the entire hierarchy. This option is available when renaming method parameters, or Python classes.
Rename containing fileSelect this check box to have the changes applied to the containing file. This option is only available when the class name coincides with the name of the containing file.

See Also

Last modified: 20 April 2016