1. Luke Plant
  2. south


Andrew Godwin  committed 90985e0

Remove the "add_unique" alias, it never existed (I typo'd the AddUnique action's code, for obvious reasons)

  • Participants
  • Parent commits c71cf65
  • Branches 0.7

Comments (0)

Files changed (1)

File south/db/generic.py

View file
  • Ignore whitespace
             if itscols == columns or columns is None:
                 yield constraint
     def create_unique(self, table_name, columns):
         Creates a UNIQUE constraint on the columns on the given table.
         return name
-    add_unique = alias('create_unique')
     def delete_unique(self, table_name, columns):
         Deletes a UNIQUE constraint on precisely the columns on the given table.