]> git.mjollnir.org Git - moodle.git/commit
roles database: MDL-17253 add unique index to role.name and role.shortname
authortjhunt <tjhunt>
Tue, 18 Nov 2008 07:41:28 +0000 (07:41 +0000)
committertjhunt <tjhunt>
Tue, 18 Nov 2008 07:41:28 +0000 (07:41 +0000)
commit40c792c3d1d6435abbe97d8ae9920c021ff19e8b
treef36ade36001c30d2a2ff74a3f11f0dbaa66c5f53
parent9dbebd145d57ca920fc40948f6714aa5bc772724
roles database: MDL-17253 add unique index to role.name and role.shortname

We were trying to enforce it in PHP, but much better to have the database watching our back.
lib/db/install.xml
lib/db/upgrade.php
version.php