]> git.openstreetmap.org Git - rails.git/commit
Require user names and emails to be case insensitively unique
authorTom Hughes <tom@compton.nu>
Mon, 12 Dec 2011 19:11:06 +0000 (19:11 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 12 Dec 2011 19:11:06 +0000 (19:11 +0000)
commitaf2b13c2c1c220326241784b1d237d85ff388426
tree1fe596a59ad21d21746b11e373826e13a5afd408
parentebf597971f447344e08d85925118ed89418b8d19
Require user names and emails to be case insensitively unique

Any existing clashes are allowed to remain for now, byt any new
accounts, or changes to names on existing accounts, must be unique
without regard to case.
app/models/user.rb
db/migrate/20111212183945_add_lowercase_user_indexes.rb [new file with mode: 0644]
lib/migrate.rb