Exclude overviews from user data size

Fixes #261

Some internal functions from the Overviews module
have been moved to a separate file because they're now
used from Quaota function.
This commit is contained in:
Javier Goizueta
2016-06-07 13:20:55 +02:00
parent 58fd5d4060
commit 1f01ecae30
7 changed files with 179 additions and 174 deletions

View File

@@ -4,4 +4,4 @@ SET SCHEMA 'cartodb';
\i scripts-available/CDB_ColumnNames.sql
\i scripts-available/CDB_ColumnType.sql
\i scripts-available/CDB_AnalysisCatalog.sql
SET SCHEMA 'public';
SET SCHEMA 'public';

View File

@@ -181,6 +181,7 @@ function setup_database() {
log_info "########################### BOOTSTRAP ###########################"
${CMD} -d ${DATABASE} -f scripts-available/CDB_Organizations.sql
${CMD} -d ${DATABASE} -f scripts-available/CDB_OverviewsSupport.sql
# trick to allow forcing a schema when loading SQL files (see: http://bit.ly/1HeLnhL)
${CMD} -d ${DATABASE} -f test/extension/run_at_cartodb_schema.sql
}