Adding a new column to have the name of the cached analysis in case there is one, fixes #273

This commit is contained in:
Antonio Zamorano 2016-08-11 16:27:18 +02:00
parent 415d96082e
commit 6e130c336e

View File

@ -62,3 +62,12 @@ DO $$
WHEN duplicate_column THEN END;
END;
$$;
DO $$
BEGIN
BEGIN
ALTER TABLE cartodb.cdb_analysis_catalog ADD COLUMN cache_table text;
EXCEPTION
WHEN duplicate_column THEN END;
END;
$$;