Ticket #5207: autoinc_sql.diff
File autoinc_sql.diff, 595 bytes (added by , 17 years ago) |
---|
-
core/management/sql.py
350 350 final_output.append('\n'.join(table_output)) 351 351 352 352 # Add any extra SQL needed to support auto-incrementing PKs 353 autoinc_sql = backend.get_autoinc_sql(f.m2m_db_table())353 autoinc_sql = connection.ops.autoinc_sql(f.m2m_db_table()) 354 354 if autoinc_sql: 355 355 for stmt in autoinc_sql: 356 356 final_output.append(stmt)