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/Postgres.php | |
parent | 968ae474541302c92f8ec62e9520299c8c95a57a (diff) |
Projects with duplicate name are now allowed
Diffstat (limited to 'app/Schema/Postgres.php')
-rw-r--r-- | app/Schema/Postgres.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/app/Schema/Postgres.php b/app/Schema/Postgres.php index 6f7efed0..5cd1a7d0 100644 --- a/app/Schema/Postgres.php +++ b/app/Schema/Postgres.php @@ -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) { |