code: def db_type(self, connection):
          
          conn_module = type(connection).__module__
          if "mysql" in conn_module:
              return "bigint AUTO_INCREMENT"
          elif "postgres" in conn_module:
              return "bigserial"
          return super(BigAutoField, self).db_type(connection)
docs: The type of the field to insert into the database.