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.
This commit is contained in:
tjhunt
2008-11-18 07:41:28 +00:00
parent 9dbebd145d
commit 40c792c3d1
3 changed files with 37 additions and 3 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
// This is compared against the values stored in the database to determine
// whether upgrades should be performed (see lib/db/*.php)
$version = 2008111200; // YYYYMMDD = date of the last version bump
$version = 2008111801; // YYYYMMDD = date of the last version bump
// XX = daily increments
$release = '2.0 dev (Build: 20081118)'; // Human-friendly version name