From 6d09bfc96e4b5dcf3dd95212d2f40481f95a4fc0 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Fri, 19 Feb 2016 23:21:37 -0500 Subject: Add migration to rename old event name --- app/Schema/Postgres.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'app/Schema/Postgres.php') diff --git a/app/Schema/Postgres.php b/app/Schema/Postgres.php index dc8de510..6aed1491 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 = 86; +const VERSION = 87; + +function version_87(PDO $pdo) +{ + $pdo->exec("UPDATE project_activities SET event_name='task.file.create' WHERE event_name='file.create'"); +} function version_86(PDO $pdo) { -- cgit v1.2.3