summaryrefslogtreecommitdiff
path: root/app/Schema/Postgres.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-01-03 18:33:46 -0500
committerFrederic Guillot <fred@kanboard.net>2016-01-03 18:33:46 -0500
commit4e6ad60f4ffbfc24be2f534e1e5761cc5ae15616 (patch)
treea77979b6aeaca77cc83e8d0da5cc16601092481f /app/Schema/Postgres.php
parent0751508ae3e1e2731e7c699b69c873e31ecc9ab7 (diff)
Increase action name column length in actions table
Diffstat (limited to 'app/Schema/Postgres.php')
-rw-r--r--app/Schema/Postgres.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/app/Schema/Postgres.php b/app/Schema/Postgres.php
index 95649297..65128eb5 100644
--- a/app/Schema/Postgres.php
+++ b/app/Schema/Postgres.php
@@ -6,7 +6,12 @@ use PDO;
use Kanboard\Core\Security\Token;
use Kanboard\Core\Security\Role;
-const VERSION = 79;
+const VERSION = 80;
+
+function version_80(PDO $pdo)
+{
+ $pdo->exec('ALTER TABLE "actions" ALTER COLUMN "action_name" TYPE VARCHAR(255)');
+}
function version_79(PDO $pdo)
{