For my DB model, I have a column which is to be unique: filename = db.Column(db.String(255), index=True, nullable=False, unique=True)
While this works if the filename is *exactly* the same, if the name itself is the same but any part of the casing is different then it allows it in the database. Is there a way to make a case-insensitive unique constraint? -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sqlalchemy. For more options, visit https://groups.google.com/d/optout.
