Commits

George Notaras  committed 39b8ff8

Added custom SQL statement for PostgreSQL to create multi-column non-unique index due to Django limitation.

See: http://www.codetrax.org/issues/790

  • Participants
  • Parent commits f994ab4

Comments (0)

Files changed (1)

File src/powerdns_manager/sql/record.postgresql_psycopg2.sql

+-- Create index that is impossible to create otherwise
+-- See: http://stackoverflow.com/questions/1578195/django-create-index-non-unique-multiple-column
+CREATE INDEX nametype_index ON records(name,type);