From 6c772de184505ae339a970631c8e98f3e3b6e5f0 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 27 Jun 2015 15:14:04 -0400 Subject: Remove column default_project_id for users because it's useless now --- 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 ac6ebf6f..a3309068 100644 --- a/app/Schema/Postgres.php +++ b/app/Schema/Postgres.php @@ -6,7 +6,12 @@ use PDO; use Core\Security; use Model\Link; -const VERSION = 56; +const VERSION = 57; + +function version_57($pdo) +{ + $pdo->exec('ALTER TABLE users DROP COLUMN "default_project_id"'); +} function version_56($pdo) { -- cgit v1.2.3