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,12 @@ namespace Schema;
use PDO;
use Kanboard\Core\Security\Token;
const VERSION = 73;
const VERSION = 74;
function version_74(PDO $pdo)
{
$pdo->exec('ALTER TABLE projects DROP CONSTRAINT IF EXISTS projects_name_key');
}
function version_73(PDO $pdo)
{