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:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user