Improve types in DB backend schema
modules
#2124
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I have made things!
While I was modifying the value for
Any
you mentioned in the PR #2123, I also modified the other functions the same because they looked the same code.This list is a modification of argument for field, model, index.
django.db.backends.base.schema.BaseDatabaseSchemaEditor
django.db.backends.base.schema.BaseDatabaseSchemaEditor.skip_default
django.db.backends.base.schema.BaseDatabaseSchemaEditor.skip_default_on_alter
django.db.backends.base.schema.BaseDatabaseSchemaEditor.alter_db_table_comment
django.db.backends.base.schema.BaseDatabaseSchemaEditor.alter_db_tablespace
django.db.backends.base.schema.BaseDatabaseSchemaEditor.add_field
django.db.backends.base.schema.BaseDatabaseSchemaEditor.remove_field
django.db.backends.mysql.schema.DatabaseSchemaEditor
django.db.backends.mysql.schema.DatabaseSchemaEditor.skip_defaults
django.db.backends.mysql.schema.DatabaseSchemaEditor.add_field
django.db.backends.oracle.schema.DatabaseSchemaEditor
django.db.backends.oracle.schema.DatabaseSchemaEditor.remove_field
django.db.backends.oracle.schema.DatabaseSchemaEditor.delete_model
django.db.backends.oracle.schema.DatabaseSchemaEditor.alter_field
django.db.backends.postgresql.schema.DatabaseSchemaEditor
django.db.backends.postgresql.schema.DatabaseSchemaEditor.add_index
django.db.backends.postgresql.schema.DatabaseSchemaEditor.remove_index
django.contrib.gis.db.backends.mysql.schema. MySQLGISSchemaEditor
django.contrib.gis.db.backends.mysql.schema.MySQLGISSchemaEditor.skip_default
django.contrib.gis.db.backends.mysql.schema.MySQLGISSchemaEditor.column_sql
django.contrib.gis.db.backends.mysql.schema.MySQLGISSchemaEditor.create_model
django.contrib.gis.db.backends.mysql.schema.MySQLGISSchemaEditor.add_field
django.contrib.gis.db.backends.mysql.schema.MySQLGISSchemaEditor.remove_field
django.contrib.gis.db.backends.oracle.schema.OracleGISSchemaEditor
django.contrib.gis.db.backends.oracle.schema.OracleGISSchemaEditor.column_sql
django.contrib.gis.db.backends.oracle.schema.OracleGISSchemaEditor.create_model
django.contrib.gis.db.backends.oracle.schema.OracleGISSchemaEditor.delete_model
django.contrib.gis.db.backends.oracle.schema.OracleGISSchemaEditor.add_field
django.contrib.gis.db.backends.oracle.schema.OracleGISSchemaEditor.remove_field
django.contrib.gis.db.backends.sqlatialite.schema.SpatialiteSchemaEditor
django.contrib.gis.db.backends.sqlatialite.schema.SpatialiteSchemaEditor.column_sql
django.contrib.gis.db.backends.sqlatialite.schema.SpatialiteSchemaEditor.remove_geometry_metadata
django.contrib.gis.db.backends.sqlatialite.schema.SpatialiteSchemaEditor.create_model
django.contrib.gis.db.backends.sqlatialite.schema.SpatialiteSchemaEditor.delete_model
django.contrib.gis.db.backends.sqlatialite.schema.SpatialiteSchemaEditor.add_field
django.contrib.gis.db.backends.sqlatialite.schema.SpatialiteSchemaEditor.remove_field
django.contrib.gis.db.backends.sqlatialite.schema.SpatialiteSchemaEditor.alter_db_table
This list is a correction to the removal of None.
django.db.backends.base.schema.BaseDatabaseSchemaEditor.alter_db_table_comment
'sold_db_table_comment
argumentThis list is a variation of the type of str.
django.contrib.gis.db.backends.sqlatialite.schema.SpatialiteSchemaEditor.alter_db_table
sold_db_table
argumentdjango.contrib.gis.db.backends.sqlatialite.schema.SpatialiteSchemaEditor.alter_db_table
snew_db_table
argumentdjango.db.backends.base.schema.BaseDatabaseSchemaEditor.alter_db_tablespace
sold_db_tablespace
argumentdjango.db.backends.base.schema.BaseDatabaseSchemaEditor.alter_db_tablespace
snew_db_tablespace
argumentRelated issues
Related PR
django.contrib.gis.db.backends.sqatialite.schema
#2123