diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-11-15 19:29:31 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-11-15 19:29:31 -0500 |
commit | adb35896d8c5bcc6673188921868e472ba35278e (patch) | |
tree | 1261fad74366d8d9e002e2f7cdbe39cd40109155 /app/Schema/Mysql.php | |
parent | 968ae474541302c92f8ec62e9520299c8c95a57a (diff) |
Projects with duplicate name are now allowed
Diffstat (limited to 'app/Schema/Mysql.php')
-rw-r--r-- | app/Schema/Mysql.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/app/Schema/Mysql.php b/app/Schema/Mysql.php index 54d58592..52a73fb1 100644 --- a/app/Schema/Mysql.php +++ b/app/Schema/Mysql.php @@ -5,7 +5,13 @@ namespace Schema; use PDO; use Kanboard\Core\Security\Token; -const VERSION = 93; +const VERSION = 94; + +function version_94(PDO $pdo) +{ + $pdo->exec('ALTER TABLE `projects` DROP INDEX `name`'); + $pdo->exec('ALTER TABLE `projects` DROP INDEX `name_2`'); +} function version_93(PDO $pdo) { |