Projects with duplicate name are now allowed

This commit is contained in:
Frederic Guillot
2015-11-15 19:29:31 -05:00
parent 968ae47454
commit adb35896d8
29 changed files with 57 additions and 44 deletions

View File

@@ -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)
{