Commits

George Notaras  committed a4322a6

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

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

  • Participants
  • Parent commits 39b8ff8

Comments (0)

Files changed (1)

File src/powerdns_manager/sql/record.sqlite3.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);