I had an error with gdal at line:
sudo pip install --no-use-wheel -r python_requirements.txt
Can i fix it with this??
wget
http://download.osgeo.org/gdal/1.10.0/gdal-1.10.0.tar.gz
tar xvfz gdal-1.10.0.tar.gz
cd gdal-1.10.0
./configure --with-python
make
sudo make install
after it seems ok but at:
RAILS_ENV=development bundle exec rake db:create
it give me
Ignoring statsd, because there were a error loading the config
[sequel] Created database 'carto_db_development'
[sequel] Created database 'carto_db_test'
after i go with:
RAILS_ENV=development bundle exec rake db:migrate
it give me
^[(0.000277s) SET standard_conforming_strings = ON
(0.000226s) SET client_min_messages = 'WARNING'
(0.000335s) SET DateStyle = 'ISO'
(0.016725s) SELECT "pg_attribute"."attname" AS "name", CAST("pg_attribute".
"atttypid" AS integer) AS "oid", format_type("pg_type"."oid", "pg_attribute"
."atttypmod") AS "db_type", pg_get_expr("pg_attrdef"."adbin", "pg_class".
"oid") AS "default", NOT "pg_attribute"."attnotnull" AS "allow_null",
COALESCE(("pg_attribute"."attnum" = ANY("pg_index"."indkey")), false) AS
"primary_key", "pg_namespace"."nspname" FROM "pg_class" INNER JOIN
"pg_attribute" ON ("pg_attribute"."attrelid" = "pg_class"."oid") INNER JOIN
"pg_type" ON ("pg_type"."oid" = "pg_attribute"."atttypid") INNER JOIN
"pg_namespace" ON ("pg_namespace"."oid" = "pg_class"."relnamespace") LEFT
OUTER JOIN "pg_attrdef" ON (("pg_attrdef"."adrelid" = "pg_class"."oid") AND
("pg_attrdef"."adnum" = "pg_attribute"."attnum")) LEFT OUTER JOIN "pg_index"
ON (("pg_index"."indrelid" = "pg_class"."oid") AND ("pg_index".
"indisprimary" IS TRUE)) WHERE (("pg_attribute"."attisdropped" IS FALSE)
AND ("pg_attribute"."attnum" > 0) AND ("pg_class"."relname" =
'external_sources') AND ("pg_namespace"."nspname" !~*
'pg_*|information_schema')) ORDER BY "pg_attribute"."attnum"
PG::Error: ERROR: relation "external_sources" does not exist
LINE 1: SELECT * FROM "external_sources" LIMIT 1
^: SELECT * FROM "external_sources" LIMIT 1
(0.002592s) SELECT "pg_attribute"."attname" AS "name", CAST("pg_attribute".
"atttypid" AS integer) AS "oid", format_type("pg_type"."oid", "pg_attribute"
."atttypmod") AS "db_type", pg_get_expr("pg_attrdef"."adbin", "pg_class".
"oid") AS "default", NOT "pg_attribute"."attnotnull" AS "allow_null",
COALESCE(("pg_attribute"."attnum" = ANY("pg_index"."indkey")), false) AS
"primary_key", "pg_namespace"."nspname" FROM "pg_class" INNER JOIN
"pg_attribute" ON ("pg_attribute"."attrelid" = "pg_class"."oid") INNER JOIN
"pg_type" ON ("pg_type"."oid" = "pg_attribute"."atttypid") INNER JOIN
"pg_namespace" ON ("pg_namespace"."oid" = "pg_class"."relnamespace") LEFT
OUTER JOIN "pg_attrdef" ON (("pg_attrdef"."adrelid" = "pg_class"."oid") AND
("pg_attrdef"."adnum" = "pg_attribute"."attnum")) LEFT OUTER JOIN "pg_index"
ON (("pg_index"."indrelid" = "pg_class"."oid") AND ("pg_index".
"indisprimary" IS TRUE)) WHERE (("pg_attribute"."attisdropped" IS FALSE)
AND ("pg_attribute"."attnum" > 0) AND ("pg_class"."relname" =
'shared_entities') AND ("pg_namespace"."nspname" !~*
'pg_*|information_schema')) ORDER BY "pg_attribute"."attnum"
PG::Error: ERROR: relation "shared_entities" does not exist
LINE 1: SELECT * FROM "shared_entities" LIMIT 1
^: SELECT * FROM "shared_entities" LIMIT 1
(0.002341s) SELECT "pg_attribute"."attname" AS "name", CAST("pg_attribute".
"atttypid" AS integer) AS "oid", format_type("pg_type"."oid", "pg_attribute"
."atttypmod") AS "db_type", pg_get_expr("pg_attrdef"."adbin", "pg_class".
"oid") AS "default", NOT "pg_attribute"."attnotnull" AS "allow_null",
COALESCE(("pg_attribute"."attnum" = ANY("pg_index"."indkey")), false) AS
"primary_key", "pg_namespace"."nspname" FROM "pg_class" INNER JOIN
"pg_attribute" ON ("pg_attribute"."attrelid" = "pg_class"."oid") INNER JOIN
"pg_type" ON ("pg_type"."oid" = "pg_attribute"."atttypid") INNER JOIN
"pg_namespace" ON ("pg_namespace"."oid" = "pg_class"."relnamespace") LEFT
OUTER JOIN "pg_attrdef" ON (("pg_attrdef"."adrelid" = "pg_class"."oid") AND
("pg_attrdef"."adnum" = "pg_attribute"."attnum")) LEFT OUTER JOIN "pg_index"
ON (("pg_index"."indrelid" = "pg_class"."oid") AND ("pg_index".
"indisprimary" IS TRUE)) WHERE (("pg_attribute"."attisdropped" IS FALSE)
AND ("pg_attribute"."attnum" > 0) AND ("pg_class"."relname" = 'permissions')
AND ("pg_namespace"."nspname" !~* 'pg_*|information_schema')) ORDER BY
"pg_attribute"."attnum"
PG::Error: ERROR: relation "permissions" does not exist
LINE 1: SELECT * FROM "permissions" LIMIT 1
^: SELECT * FROM "permissions" LIMIT 1
(0.002011s) SELECT "pg_attribute"."attname" AS "name", CAST("pg_attribute".
"atttypid" AS integer) AS "oid", format_type("pg_type"."oid", "pg_attribute"
."atttypmod") AS "db_type", pg_get_expr("pg_attrdef"."adbin", "pg_class".
"oid") AS "default", NOT "pg_attribute"."attnotnull" AS "allow_null",
COALESCE(("pg_attribute"."attnum" = ANY("pg_index"."indkey")), false) AS
"primary_key", "pg_namespace"."nspname" FROM "pg_class" INNER JOIN
"pg_attribute" ON ("pg_attribute"."attrelid" = "pg_class"."oid") INNER JOIN
"pg_type" ON ("pg_type"."oid" = "pg_attribute"."atttypid") INNER JOIN
"pg_namespace" ON ("pg_namespace"."oid" = "pg_class"."relnamespace") LEFT
OUTER JOIN "pg_attrdef" ON (("pg_attrdef"."adrelid" = "pg_class"."oid") AND
("pg_attrdef"."adnum" = "pg_attribute"."attnum")) LEFT OUTER JOIN "pg_index"
ON (("pg_index"."indrelid" = "pg_class"."oid") AND ("pg_index".
"indisprimary" IS TRUE)) WHERE (("pg_attribute"."attisdropped" IS FALSE)
AND ("pg_attribute"."attnum" > 0) AND ("pg_class"."relname" = 'user_tables')
AND ("pg_namespace"."nspname" !~* 'pg_*|information_schema')) ORDER BY
"pg_attribute"."attnum"
PG::Error: ERROR: relation "user_tables" does not exist
LINE 1: SELECT * FROM "user_tables" LIMIT 1
^: SELECT * FROM "user_tables" LIMIT 1
(0.003257s) SELECT "pg_attribute"."attname" AS "name", CAST("pg_attribute".
"atttypid" AS integer) AS "oid", format_type("pg_type"."oid", "pg_attribute"
."atttypmod") AS "db_type", pg_get_expr("pg_attrdef"."adbin", "pg_class".
"oid") AS "default", NOT "pg_attribute"."attnotnull" AS "allow_null",
COALESCE(("pg_attribute"."attnum" = ANY("pg_index"."indkey")), false) AS
"primary_key", "pg_namespace"."nspname" FROM "pg_class" INNER JOIN
"pg_attribute" ON ("pg_attribute"."attrelid" = "pg_class"."oid") INNER JOIN
"pg_type" ON ("pg_type"."oid" = "pg_attribute"."atttypid") INNER JOIN
"pg_namespace" ON ("pg_namespace"."oid" = "pg_class"."relnamespace") LEFT
OUTER JOIN "pg_attrdef" ON (("pg_attrdef"."adrelid" = "pg_class"."oid") AND
("pg_attrdef"."adnum" = "pg_attribute"."attnum")) LEFT OUTER JOIN "pg_index"
ON (("pg_index"."indrelid" = "pg_class"."oid") AND ("pg_index".
"indisprimary" IS TRUE)) WHERE (("pg_attribute"."attisdropped" IS FALSE)
AND ("pg_attribute"."attnum" > 0) AND ("pg_class"."relname" = 'maps') AND (
"pg_namespace"."nspname" !~* 'pg_*|information_schema')) ORDER BY
"pg_attribute"."attnum"
PG::Error: ERROR: relation "maps" does not exist
LINE 1: SELECT * FROM "maps" LIMIT 1
^: SELECT * FROM "maps" LIMIT 1
(0.002125s) SELECT "pg_attribute"."attname" AS "name", CAST("pg_attribute".
"atttypid" AS integer) AS "oid", format_type("pg_type"."oid", "pg_attribute"
."atttypmod") AS "db_type", pg_get_expr("pg_attrdef"."adbin", "pg_class".
"oid") AS "default", NOT "pg_attribute"."attnotnull" AS "allow_null",
COALESCE(("pg_attribute"."attnum" = ANY("pg_index"."indkey")), false) AS
"primary_key", "pg_namespace"."nspname" FROM "pg_class" INNER JOIN
"pg_attribute" ON ("pg_attribute"."attrelid" = "pg_class"."oid") INNER JOIN
"pg_type" ON ("pg_type"."oid" = "pg_attribute"."atttypid") INNER JOIN
"pg_namespace" ON ("pg_namespace"."oid" = "pg_class"."relnamespace") LEFT
OUTER JOIN "pg_attrdef" ON (("pg_attrdef"."adrelid" = "pg_class"."oid") AND
("pg_attrdef"."adnum" = "pg_attribute"."attnum")) LEFT OUTER JOIN "pg_index"
ON (("pg_index"."indrelid" = "pg_class"."oid") AND ("pg_index".
"indisprimary" IS TRUE)) WHERE (("pg_attribute"."attisdropped" IS FALSE)
AND ("pg_attribute"."attnum" > 0) AND ("pg_class"."relname" = 'layers') AND
("pg_namespace"."nspname" !~* 'pg_*|information_schema')) ORDER BY
"pg_attribute"."attnum"
PG::Error: ERROR: relation "layers" does not exist
LINE 1: SELECT * FROM "layers" LIMIT 1
^: SELECT * FROM "layers" LIMIT 1
(0.002320s) SELECT "pg_attribute"."attname" AS "name", CAST("pg_attribute".
"atttypid" AS integer) AS "oid", format_type("pg_type"."oid", "pg_attribute"
."atttypmod") AS "db_type", pg_get_expr("pg_attrdef"."adbin", "pg_class".
"oid") AS "default", NOT "pg_attribute"."attnotnull" AS "allow_null",
COALESCE(("pg_attribute"."attnum" = ANY("pg_index"."indkey")), false) AS
"primary_key", "pg_namespace"."nspname" FROM "pg_class" INNER JOIN
"pg_attribute" ON ("pg_attribute"."attrelid" = "pg_class"."oid") INNER JOIN
"pg_type" ON ("pg_type"."oid" = "pg_attribute"."atttypid") INNER JOIN
"pg_namespace" ON ("pg_namespace"."oid" = "pg_class"."relnamespace") LEFT
OUTER JOIN "pg_attrdef" ON (("pg_attrdef"."adrelid" = "pg_class"."oid") AND
("pg_attrdef"."adnum" = "pg_attribute"."attnum")) LEFT OUTER JOIN "pg_index"
ON (("pg_index"."indrelid" = "pg_class"."oid") AND ("pg_index".
"indisprimary" IS TRUE)) WHERE (("pg_attribute"."attisdropped" IS FALSE)
AND ("pg_attribute"."attnum" > 0) AND ("pg_class"."relname" = 'likes') AND (
"pg_namespace"."nspname" !~* 'pg_*|information_schema')) ORDER BY
"pg_attribute"."attnum"
PG::Error: ERROR: relation "likes" does not exist
LINE 1: SELECT * FROM "likes" LIMIT 1
^: SELECT * FROM "likes" LIMIT 1
(0.001949s) SELECT "pg_attribute"."attname" AS "name", CAST("pg_attribute".
"atttypid" AS integer) AS "oid", format_type("pg_type"."oid", "pg_attribute"
."atttypmod") AS "db_type", pg_get_expr("pg_attrdef"."adbin", "pg_class".
"oid") AS "default", NOT "pg_attribute"."attnotnull" AS "allow_null",
COALESCE(("pg_attribute"."attnum" = ANY("pg_index"."indkey")), false) AS
"primary_key", "pg_namespace"."nspname" FROM "pg_class" INNER JOIN
"pg_attribute" ON ("pg_attribute"."attrelid" = "pg_class"."oid") INNER JOIN
"pg_type" ON ("pg_type"."oid" = "pg_attribute"."atttypid") INNER JOIN
"pg_namespace" ON ("pg_namespace"."oid" = "pg_class"."relnamespace") LEFT
OUTER JOIN "pg_attrdef" ON (("pg_attrdef"."adrelid" = "pg_class"."oid") AND
("pg_attrdef"."adnum" = "pg_attribute"."attnum")) LEFT OUTER JOIN "pg_index"
ON (("pg_index"."indrelid" = "pg_class"."oid") AND ("pg_index".
"indisprimary" IS TRUE)) WHERE (("pg_attribute"."attisdropped" IS FALSE)
AND ("pg_attribute"."attnum" > 0) AND ("pg_class"."relname" =
'synchronization_oauths') AND ("pg_namespace"."nspname" !~*
'pg_*|information_schema')) ORDER BY "pg_attribute"."attnum"
PG::Error: ERROR: relation "synchronization_oauths" does not exist
LINE 1: SELECT * FROM "synchronization_oauths" LIMIT 1
^: SELECT * FROM "synchronization_oauths" LIMIT 1
(0.003300s) SELECT "pg_attribute"."attname" AS "name", CAST("pg_attribute".
"atttypid" AS integer) AS "oid", format_type("pg_type"."oid", "pg_attribute"
."atttypmod") AS "db_type", pg_get_expr("pg_attrdef"."adbin", "pg_class".
"oid") AS "default", NOT "pg_attribute"."attnotnull" AS "allow_null",
COALESCE(("pg_attribute"."attnum" = ANY("pg_index"."indkey")), false) AS
"primary_key", "pg_namespace"."nspname" FROM "pg_class" INNER JOIN
"pg_attribute" ON ("pg_attribute"."attrelid" = "pg_class"."oid") INNER JOIN
"pg_type" ON ("pg_type"."oid" = "pg_attribute"."atttypid") INNER JOIN
"pg_namespace" ON ("pg_namespace"."oid" = "pg_class"."relnamespace") LEFT
OUTER JOIN "pg_attrdef" ON (("pg_attrdef"."adrelid" = "pg_class"."oid") AND
("pg_attrdef"."adnum" = "pg_attribute"."attnum")) LEFT OUTER JOIN "pg_index"
ON (("pg_index"."indrelid" = "pg_class"."oid") AND ("pg_index".
"indisprimary" IS TRUE)) WHERE (("pg_attribute"."attisdropped" IS FALSE)
AND ("pg_attribute"."attnum" > 0) AND ("pg_class"."relname" = 'logs') AND (
"pg_namespace"."nspname" !~* 'pg_*|information_schema')) ORDER BY
"pg_attribute"."attnum"
PG::Error: ERROR: relation "logs" does not exist
LINE 1: SELECT * FROM "logs" LIMIT 1
^: SELECT * FROM "logs" LIMIT 1
(0.003012s) SELECT "pg_attribute"."attname" AS "name", CAST("pg_attribute".
"atttypid" AS integer) AS "oid", format_type("pg_type"."oid", "pg_attribute"
."atttypmod") AS "db_type", pg_get_expr("pg_attrdef"."adbin", "pg_class".
"oid") AS "default", NOT "pg_attribute"."attnotnull" AS "allow_null",
COALESCE(("pg_attribute"."attnum" = ANY("pg_index"."indkey")), false) AS
"primary_key", "pg_namespace"."nspname" FROM "pg_class" INNER JOIN
"pg_attribute" ON ("pg_attribute"."attrelid" = "pg_class"."oid") INNER JOIN
"pg_type" ON ("pg_type"."oid" = "pg_attribute"."atttypid") INNER JOIN
"pg_namespace" ON ("pg_namespace"."oid" = "pg_class"."relnamespace") LEFT
OUTER JOIN "pg_attrdef" ON (("pg_attrdef"."adrelid" = "pg_class"."oid") AND
("pg_attrdef"."adnum" = "pg_attribute"."attnum")) LEFT OUTER JOIN "pg_index"
ON (("pg_index"."indrelid" = "pg_class"."oid") AND ("pg_index".
"indisprimary" IS TRUE)) WHERE (("pg_attribute"."attisdropped" IS FALSE)
AND ("pg_attribute"."attnum" > 0) AND ("pg_class"."relname" = 'data_imports'
) AND ("pg_namespace"."nspname" !~* 'pg_*|information_schema')) ORDER BY
"pg_attribute"."attnum"
PG::Error: ERROR: relation "data_imports" does not exist
LINE 1: SELECT * FROM "data_imports" LIMIT 1
^: SELECT * FROM "data_imports" LIMIT 1
(0.002888s) SELECT "pg_attribute"."attname" AS "name", CAST("pg_attribute".
"atttypid" AS integer) AS "oid", format_type("pg_type"."oid", "pg_attribute"
."atttypmod") AS "db_type", pg_get_expr("pg_attrdef"."adbin", "pg_class".
"oid") AS "default", NOT "pg_attribute"."attnotnull" AS "allow_null",
COALESCE(("pg_attribute"."attnum" = ANY("pg_index"."indkey")), false) AS
"primary_key", "pg_namespace"."nspname" FROM "pg_class" INNER JOIN
"pg_attribute" ON ("pg_attribute"."attrelid" = "pg_class"."oid") INNER JOIN
"pg_type" ON ("pg_type"."oid" = "pg_attribute"."atttypid") INNER JOIN
"pg_namespace" ON ("pg_namespace"."oid" = "pg_class"."relnamespace") LEFT
OUTER JOIN "pg_attrdef" ON (("pg_attrdef"."adrelid" = "pg_class"."oid") AND
("pg_attrdef"."adnum" = "pg_attribute"."attnum")) LEFT OUTER JOIN "pg_index"
ON (("pg_index"."indrelid" = "pg_class"."oid") AND ("pg_index".
"indisprimary" IS TRUE)) WHERE (("pg_attribute"."attisdropped" IS FALSE)
AND ("pg_attribute"."attnum" > 0) AND ("pg_class"."relname" =
'external_data_imports') AND ("pg_namespace"."nspname" !~*
'pg_*|information_schema')) ORDER BY "pg_attribute"."attnum"
PG::Error: ERROR: relation "external_data_imports" does not exist
LINE 1: SELECT * FROM "external_data_imports" LIMIT 1
^: SELECT * FROM "external_data_imports" LIMIT 1
(0.002118s) SELECT "pg_attribute"."attname" AS "name", CAST("pg_attribute".
"atttypid" AS integer) AS "oid", format_type("pg_type"."oid", "pg_attribute"
."atttypmod") AS "db_type", pg_get_expr("pg_attrdef"."adbin", "pg_class".
"oid") AS "default", NOT "pg_attribute"."attnotnull" AS "allow_null",
COALESCE(("pg_attribute"."attnum" = ANY("pg_index"."indkey")), false) AS
"primary_key", "pg_namespace"."nspname" FROM "pg_class" INNER JOIN
"pg_attribute" ON ("pg_attribute"."attrelid" = "pg_class"."oid") INNER JOIN
"pg_type" ON ("pg_type"."oid" = "pg_attribute"."atttypid") INNER JOIN
"pg_namespace" ON ("pg_namespace"."oid" = "pg_class"."relnamespace") LEFT
OUTER JOIN "pg_attrdef" ON (("pg_attrdef"."adrelid" = "pg_class"."oid") AND
("pg_attrdef"."adnum" = "pg_attribute"."attnum")) LEFT OUTER JOIN "pg_index"
ON (("pg_index"."indrelid" = "pg_class"."oid") AND ("pg_index".
"indisprimary" IS TRUE)) WHERE (("pg_attribute"."attisdropped" IS FALSE)
AND ("pg_attribute"."attnum" > 0) AND ("pg_class"."relname" =
'feature_flags') AND ("pg_namespace"."nspname" !~* 'pg_*|information_schema'
)) ORDER BY "pg_attribute"."attnum"
PG::Error: ERROR: relation "feature_flags" does not exist
LINE 1: SELECT * FROM "feature_flags" LIMIT 1
^: SELECT * FROM "feature_flags" LIMIT 1
(0.001947s) SELECT "pg_attribute"."attname" AS "name", CAST("pg_attribute".
"atttypid" AS integer) AS "oid", format_type("pg_type"."oid", "pg_attribute"
."atttypmod") AS "db_type", pg_get_expr("pg_attrdef"."adbin", "pg_class".
"oid") AS "default", NOT "pg_attribute"."attnotnull" AS "allow_null",
COALESCE(("pg_attribute"."attnum" = ANY("pg_index"."indkey")), false) AS
"primary_key", "pg_namespace"."nspname" FROM "pg_class" INNER JOIN
"pg_attribute" ON ("pg_attribute"."attrelid" = "pg_class"."oid") INNER JOIN
"pg_type" ON ("pg_type"."oid" = "pg_attribute"."atttypid") INNER JOIN
"pg_namespace" ON ("pg_namespace"."oid" = "pg_class"."relnamespace") LEFT
OUTER JOIN "pg_attrdef" ON (("pg_attrdef"."adrelid" = "pg_class"."oid") AND
("pg_attrdef"."adnum" = "pg_attribute"."attnum")) LEFT OUTER JOIN "pg_index"
ON (("pg_index"."indrelid" = "pg_class"."oid") AND ("pg_index".
"indisprimary" IS TRUE)) WHERE (("pg_attribute"."attisdropped" IS FALSE)
AND ("pg_attribute"."attnum" > 0) AND ("pg_class"."relname" = 'users') AND (
"pg_namespace"."nspname" !~* 'pg_*|information_schema')) ORDER BY
"pg_attribute"."attnum"
PG::Error: ERROR: relation "users" does not exist
LINE 1: SELECT * FROM "users" LIMIT 1
^: SELECT * FROM "users" LIMIT 1
Ignoring statsd, because there were a error loading the config
PG::Error: ERROR: relation "schema_migrations" does not exist
LINE 1: SELECT NULL FROM "schema_migrations" LIMIT 1
^: SELECT NULL FROM "schema_migrations" LIMIT 1
(0.021192s) CREATE TABLE "schema_migrations" ("filename" text PRIMARY KEY)
PG::Error: ERROR: relation "schema_info" does not exist
LINE 1: SELECT NULL FROM "schema_info" LIMIT 1
^: SELECT NULL FROM "schema_info" LIMIT 1
(0.001593s) SELECT "filename" FROM "schema_migrations" ORDER BY "filename"
Begin applying migration 20110117161245_users.rb, direction: up
(0.000357s) BEGIN
(0.018362s) CREATE TABLE "users" ("id" serial PRIMARY KEY, "email" text NOT
NULL UNIQUE, "crypted_password" text NOT NULL, "salt" text NOT NULL,
"database_name" text, "username" text NOT NULL UNIQUE, "tables_count"
integer NOT NULL)
(0.000856s) ALTER TABLE "users" ALTER COLUMN "tables_count" SET DEFAULT 0
(0.001444s) SELECT pg_attribute.attname AS pk FROM pg_class, pg_attribute,
pg_index, pg_namespace WHERE pg_class.oid = pg_attribute.attrelid AND
pg_class.relnamespace = pg_namespace.oid AND pg_class.oid = pg_index.indrelid
AND pg_index.indkey[0] = pg_attribute.attnum AND pg_index.indisprimary = 't'
AND pg_class.relname = 'schema_migrations'
(0.000957s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20110117161245_users.rb') RETURNING "filename"
(0.001986s) COMMIT
Finished applying migration 20110117161245_users.rb, direction: up, took
0.026323 seconds
Begin applying migration 20110118160935_user_tables.rb, direction: up
(0.000299s) BEGIN
(0.006823s) CREATE TABLE "user_tables" ("id" serial PRIMARY KEY, "user_id"
integer NOT NULL, "name" text NOT NULL, "privacy" integer NOT NULL,
"updated_at" timestamp NOT NULL, "tags" text, "geometry_columns" text,
"rows_counted" integer, "rows_estimated" integer)
(0.002940s) CREATE INDEX "user_tables_user_id_index" ON "user_tables" (
"user_id")
(0.002800s) CREATE INDEX "user_tables_user_id_privacy_index" ON
"user_tables" ("user_id", "privacy")
(0.003215s) CREATE UNIQUE INDEX "user_tables_name_user_id_index" ON
"user_tables" ("name", "user_id")
(0.000716s) ALTER TABLE "user_tables" ALTER COLUMN "privacy" SET DEFAULT 0,
ALTER COLUMN "rows_counted" SET DEFAULT 0, ALTER COLUMN "rows_estimated"
SET DEFAULT 0
(0.000944s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20110118160935_user_tables.rb') RETURNING "filename"
(0.001598s) COMMIT
Finished applying migration 20110118160935_user_tables.rb, direction: up,
took 0.022051 seconds
Begin applying migration 20110125100508_tags.rb, direction: up
(0.000360s) BEGIN
(0.007020s) CREATE TABLE "tags" ("id" serial PRIMARY KEY, "name" text NOT
NULL, "user_id" integer NOT NULL, "table_id" integer NOT NULL)
(0.002476s) CREATE INDEX "tags_user_id_index" ON "tags" ("user_id")
(0.002619s) CREATE INDEX "tags_table_id_index" ON "tags" ("table_id")
(0.002507s) CREATE UNIQUE INDEX "tags_user_id_table_id_name_index" ON "tags"
("user_id", "table_id", "name")
(0.000447s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20110125100508_tags.rb') RETURNING "filename"
(0.001407s) COMMIT
Finished applying migration 20110125100508_tags.rb, direction: up, took
0.018722 seconds
Begin applying migration 20110214111010_api_keys.rb, direction: up
(0.000300s) BEGIN
(0.009550s) CREATE TABLE "api_keys" ("id" serial PRIMARY KEY, "api_key"
text NOT NULL UNIQUE, "user_id" integer NOT NULL, "domain" text NOT NULL)
(0.003040s) CREATE INDEX "api_keys_api_key_index" ON "api_keys" ("api_key")
(0.000457s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20110214111010_api_keys.rb') RETURNING "filename"
(0.001529s) COMMIT
Finished applying migration 20110214111010_api_keys.rb, direction: up, took
0.016945 seconds
Begin applying migration 20110301171134_create_oauth_tables.rb, direction:
up
(0.000352s) BEGIN
(0.013852s) CREATE TABLE "client_applications" ("id" serial PRIMARY KEY,
"name" text, "url" text, "support_url" text, "callback_url" text, "key"
text UNIQUE, "secret" text, "user_id" integer, "created_at" timestamp NOT
NULL, "updated_at" timestamp NOT NULL)
(0.011730s) CREATE TABLE "oauth_tokens" ("id" serial PRIMARY KEY, "user_id"
integer, "type" text, "client_application_id" integer, "token" text UNIQUE,
"secret" text, "callback_url" text, "verifier" text, "scope" text,
"authorized_at" timestamp, "invalidated_at" timestamp, "valid_to" timestamp,
"created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
(0.006416s) CREATE TABLE "oauth_nonces" ("id" serial PRIMARY KEY, "nonce"
text, "timestamp" integer, "created_at" timestamp NOT NULL, "updated_at"
timestamp NOT NULL)
(0.003937s) CREATE UNIQUE INDEX "oauth_nonces_nonce_timestamp_index" ON
"oauth_nonces" ("nonce", "timestamp")
(0.000333s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20110301171134_create_oauth_tables.rb') RETURNING "filename"
(0.001665s) COMMIT
Finished applying migration 20110301171134_create_oauth_tables.rb, direction
: up, took 0.041523 seconds
Begin applying migration 20110308151555_add_admin_flag_to_users.rb,
direction: up
(0.000506s) BEGIN
(0.001509s) ALTER TABLE "users" ADD COLUMN "admin" boolean
(0.000709s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20110308151555_add_admin_flag_to_users.rb') RETURNING "filename"
(0.000719s) COMMIT
Finished applying migration 20110308151555_add_admin_flag_to_users.rb,
direction: up, took 0.004783 seconds
Begin applying migration 20110309163228_add_enabled_field_to_users.rb,
direction: up
(0.000306s) BEGIN
(0.012843s) ALTER TABLE "users" ADD COLUMN "enabled" boolean DEFAULT false
(0.000465s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20110309163228_add_enabled_field_to_users.rb') RETURNING "filename"
(0.001741s) COMMIT
Finished applying migration 20110309163228_add_enabled_field_to_users.rb,
direction: up, took 0.016353 seconds
Begin applying migration 20110309181959_add_table_indexes_metadata.rb,
direction: up
(0.000421s) BEGIN
(0.000780s) ALTER TABLE "user_tables" ADD COLUMN "indexes" character varying
[]
(0.000433s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20110309181959_add_table_indexes_metadata.rb') RETURNING "filename"
(0.000735s) COMMIT
Finished applying migration 20110309181959_add_table_indexes_metadata.rb,
direction: up, took 0.003346 seconds
Begin applying migration 20110322070116_add_schema_to_tables.rb, direction:
up
(0.000173s) BEGIN
(0.000371s) ALTER TABLE "user_tables" ADD COLUMN "stored_schema" character
varying[]
(0.000702s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20110322070116_add_schema_to_tables.rb') RETURNING "filename"
(0.000685s) COMMIT
Finished applying migration 20110322070116_add_schema_to_tables.rb,
direction: up, took 0.002779 seconds
Begin applying migration 20110406150221_add_the_geom_type_to_tables.rb,
direction: up
(0.000233s) BEGIN
(0.000582s) ALTER TABLE "user_tables" ADD COLUMN "the_geom_type" character
varying
(0.000452s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20110406150221_add_the_geom_type_to_tables.rb') RETURNING "filename"
(0.000755s) COMMIT
Finished applying migration 20110406150221_add_the_geom_type_to_tables.rb,
direction: up, took 0.002989 seconds
Begin applying migration 20110407105539_add_invite_token_to_users.rb,
direction: up
(0.000300s) BEGIN
(0.000481s) ALTER TABLE "users" ADD COLUMN "invite_token" text
(0.000491s) ALTER TABLE "users" ADD COLUMN "invite_token_date" date
(0.000603s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20110407105539_add_invite_token_to_users.rb') RETURNING "filename"
(0.000707s) COMMIT
Finished applying migration 20110407105539_add_invite_token_to_users.rb,
direction: up, took 0.003879 seconds
Begin applying migration 20110412143331
_remove_stored_schema_from_user_tables.rb, direction: up
(0.000303s) BEGIN
(0.000570s) ALTER TABLE "user_tables" DROP COLUMN "stored_schema"
(0.000412s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20110412143331_remove_stored_schema_from_user_tables.rb') RETURNING
"filename"
(0.001010s) COMMIT
Finished applying migration 20110412143331
_remove_stored_schema_from_user_tables.rb, direction: up, took 0.003613
seconds
Begin applying migration 20110412143448_add_database_name_to_user_tables.rb,
direction: up
(0.000365s) BEGIN
(0.000514s) ALTER TABLE "user_tables" ADD COLUMN "database_name" text
(0.000397s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20110412143448_add_database_name_to_user_tables.rb') RETURNING "filename"
(0.000675s) COMMIT
Finished applying migration 20110412143448_add_database_name_to_user_tables.
rb, direction: up, took 0.002926 seconds
Begin applying migration 20110425084611_drop_colum_the_geom_type.rb,
direction: up
(0.000293s) BEGIN
(0.000525s) ALTER TABLE "user_tables" DROP COLUMN "the_geom_type"
(0.000424s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20110425084611_drop_colum_the_geom_type.rb') RETURNING "filename"
(0.001220s) COMMIT
Finished applying migration 20110425084611_drop_colum_the_geom_type.rb,
direction: up, took 0.003324 seconds
Begin applying migration 20110628112715_add_subdomains.rb, direction: up
(0.000329s) BEGIN
(0.000496s) ALTER TABLE "users" ADD COLUMN "subdomain" character varying
(0.003430s) CREATE UNIQUE INDEX "users_subdomain_index" ON "users" (
"subdomain")
(0.000467s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20110628112715_add_subdomains.rb') RETURNING "filename"
(0.001565s) COMMIT
Finished applying migration 20110628112715_add_subdomains.rb, direction: up,
took 0.007519 seconds
Begin applying migration 20110706134412_add_map_enabled_to_users.rb,
direction: up
(0.000330s) BEGIN
(0.015796s) ALTER TABLE "users" ADD COLUMN "map_enabled" boolean DEFAULT
true
(0.000438s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20110706134412_add_map_enabled_to_users.rb') RETURNING "filename"
(0.001408s) COMMIT
Finished applying migration 20110706134412_add_map_enabled_to_users.rb,
direction: up, took 0.019088 seconds
Begin applying migration 20110712142238_change_default_enabled_in_users.rb,
direction: up
(0.000357s) BEGIN
(0.000721s) ALTER TABLE "users" ALTER COLUMN "enabled" SET DEFAULT true
(0.000435s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20110712142238_change_default_enabled_in_users.rb') RETURNING "filename"
(0.000728s) COMMIT
Finished applying migration 20110712142238_change_default_enabled_in_users.
rb, direction: up, took 0.003051 seconds
Begin applying migration 20110720135459_remove_subdomain_from_users.rb,
direction: up
(0.000293s) BEGIN
(0.000596s) ALTER TABLE "users" DROP COLUMN "subdomain"
(0.000430s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20110720135459_remove_subdomain_from_users.rb') RETURNING "filename"
(0.001036s) COMMIT
Finished applying migration 20110720135459_remove_subdomain_from_users.rb,
direction: up, took 0.003236 seconds
Begin applying migration 20111012094815_add_quota_to_user.rb, direction: up
(0.000330s) BEGIN
(0.013163s) ALTER TABLE "users" ADD COLUMN "quota_in_bytes" bigint DEFAULT
104857600
(0.000486s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20111012094815_add_quota_to_user.rb') RETURNING "filename"
(0.001553s) COMMIT
Finished applying migration 20111012094815_add_quota_to_user.rb, direction:
up, took 0.016890 seconds
Begin applying migration 20120202132847
_add_table_quota_and_account_type_to_user.rb, direction: up
(0.000235s) BEGIN
(0.013954s) ALTER TABLE "users" ADD COLUMN "table_quota" bigint DEFAULT 5
(0.013173s) ALTER TABLE "users" ADD COLUMN "account_type" text DEFAULT
'FREE'
(0.000488s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20120202132847_add_table_quota_and_account_type_to_user.rb') RETURNING
"filename"
(0.002602s) COMMIT
Finished applying migration 20120202132847
_add_table_quota_and_account_type_to_user.rb, direction: up, took 0.031797
seconds
Begin applying migration 20120213183707_add_private_tables_to_user.rb,
direction: up
(0.000354s) BEGIN
(0.012460s) ALTER TABLE "users" ADD COLUMN "private_tables_enabled" boolean
DEFAULT false
(0.000523s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20120213183707_add_private_tables_to_user.rb') RETURNING "filename"
(0.002028s) COMMIT
Finished applying migration 20120213183707_add_private_tables_to_user.rb,
direction: up, took 0.016485 seconds
Begin applying migration 20120221165244_add_data_import_to_management_db.rb,
direction: up
(0.000349s) BEGIN
(0.007434s) CREATE TABLE "data_imports" ("id" serial PRIMARY KEY, "user_id"
integer NOT NULL, "table_id" integer, "data_source" text, "data_type" text,
"table_name" text, "state" text NOT NULL, "success" Boolean NOT NULL,
"logger" Text NOT NULL, "updated_at" timestamp NOT NULL, "created_at"
timestamp)
(0.003034s) CREATE UNIQUE INDEX "data_imports_user_id_table_id_index" ON
"data_imports" ("user_id", "table_id")
(0.004301s) CREATE INDEX "data_imports_user_id_index" ON "data_imports" (
"user_id")
(0.002276s) CREATE INDEX "data_imports_table_id_index" ON "data_imports" (
"table_id")
(0.002981s) CREATE INDEX "data_imports_state_index" ON "data_imports" (
"state")
(0.001385s) ALTER TABLE "data_imports" ALTER COLUMN "logger" SET DEFAULT
'Begin:
', ALTER COLUMN "success" SET DEFAULT false, ALTER COLUMN "created_at" SET
DEFAULT '2016-10-04 19:45:41.746254+0200'
(0.000829s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20120221165244_add_data_import_to_management_db.rb') RETURNING "filename"
(0.000984s) COMMIT
Finished applying migration 20120221165244_add_data_import_to_management_db.
rb, direction: up, took 0.026951 seconds
Begin applying migration 20120308005044
_add_data_import_id_col_to_user_tables.rb, direction: up
(0.000415s) BEGIN
(0.000437s) ALTER TABLE "user_tables" ADD COLUMN "data_import_id" bigint
(0.000427s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20120308005044_add_data_import_id_col_to_user_tables.rb') RETURNING
"filename"
(0.000769s) COMMIT
Finished applying migration 20120308005044
_add_data_import_id_col_to_user_tables.rb, direction: up, took 0.002933
seconds
Begin applying migration 20120315143901
_add_new_error_code_column_to_data_import.rb, direction: up
(0.000299s) BEGIN
(0.000582s) ALTER TABLE "data_imports" ADD COLUMN "error_code" integer
(0.000410s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20120315143901_add_new_error_code_column_to_data_import.rb') RETURNING
"filename"
(0.000743s) COMMIT
Finished applying migration 20120315143901
_add_new_error_code_column_to_data_import.rb, direction: up, took 0.002880
seconds
Begin applying migration 20120321191228_change_data_import_timestamp_default
.rb, direction: up
(0.000345s) BEGIN
(0.001307s) ALTER TABLE "data_imports" ALTER COLUMN "created_at" SET
DEFAULT CURRENT_TIMESTAMP
(0.000436s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20120321191228_change_data_import_timestamp_default.rb') RETURNING
"filename"
(0.001491s) COMMIT
Finished applying migration 20120321191228
_change_data_import_timestamp_default.rb, direction: up, took 0.004641
seconds
Begin applying migration 20120704144241_add_queue_id_to_data_imports.rb,
direction: up
(0.000303s) BEGIN
(0.000476s) ALTER TABLE "data_imports" ADD COLUMN "queue_id" text
(0.000442s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20120704144241_add_queue_id_to_data_imports.rb') RETURNING "filename"
(0.000706s) COMMIT
Finished applying migration 20120704144241_add_queue_id_to_data_imports.rb,
direction: up, took 0.002863 seconds
Begin applying migration 20120719104544_maps.rb, direction: up
(0.000300s) BEGIN
(0.007639s) CREATE TABLE "maps" ("id" serial PRIMARY KEY, "user_id" integer
NOT NULL, "provider" text, "bounding_box_sw" text, "bounding_box_ne" text,
"center" text, "zoom" integer)
(0.003709s) CREATE INDEX "maps_user_id_index" ON "maps" ("user_id")
(0.000454s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20120719104544_maps.rb') RETURNING "filename"
(0.001034s) COMMIT
Finished applying migration 20120719104544_maps.rb, direction: up, took
0.014758 seconds
Begin applying migration 20120719105206_layers.rb, direction: up
(0.000386s) BEGIN
(0.007578s) CREATE TABLE "layers" ("id" serial PRIMARY KEY, "options" text,
"kind" text)
(0.000439s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20120719105206_layers.rb') RETURNING "filename"
(0.001670s) COMMIT
Finished applying migration 20120719105206_layers.rb, direction: up, took
0.011595 seconds
Begin applying migration 20120719112045_layers_maps.rb, direction: up
(0.000369s) BEGIN
(0.007301s) CREATE TABLE "layers_maps" ("id" serial PRIMARY KEY, "layer_id"
integer REFERENCES "layers", "map_id" integer REFERENCES "maps")
(0.000398s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20120719112045_layers_maps.rb') RETURNING "filename"
(0.000840s) COMMIT
Finished applying migration 20120719112045_layers_maps.rb, direction: up,
took 0.010365 seconds
Begin applying migration 20120720160358_add_map_id_to_tables.rb, direction:
up
(0.000219s) BEGIN
(0.000623s) ALTER TABLE "user_tables" ADD COLUMN "map_id" bigint
(0.000307s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20120720160358_add_map_id_to_tables.rb') RETURNING "filename"
(0.000830s) COMMIT
Finished applying migration 20120720160358_add_map_id_to_tables.rb,
direction: up, took 0.002902 seconds
Begin applying migration 20120803103512_add_description_to_tables.rb,
direction: up
(0.000302s) BEGIN
(0.000825s) ALTER TABLE "user_tables" ADD COLUMN "description" text
(0.000803s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20120803103512_add_description_to_tables.rb') RETURNING "filename"
(0.000895s) COMMIT
Finished applying migration 20120803103512_add_description_to_tables.rb,
direction: up, took 0.004105 seconds
Begin applying migration 20120807101605_add_infowindow_metadata_to_layer.rb,
direction: up
(0.000317s) BEGIN
(0.000542s) ALTER TABLE "layers" ADD COLUMN "infowindow" text
(0.000430s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20120807101605_add_infowindow_metadata_to_layer.rb') RETURNING "filename"
(0.000730s) COMMIT
Finished applying migration 20120807101605_add_infowindow_metadata_to_layer.
rb, direction: up, took 0.003006 seconds
Begin applying migration 20120809105200_add_default_map_and_layers_to_tables
.rb, direction: up
(0.000299s) BEGIN
(0.000421s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20120809105200_add_default_map_and_layers_to_tables.rb') RETURNING
"filename"
(0.000650s) COMMIT
Finished applying migration 20120809105200
_add_default_map_and_layers_to_tables.rb, direction: up, took 0.002015
seconds
Begin applying migration 20120809105233_copy_infowindow_metadata_to_model.rb
, direction: up
(0.000323s) BEGIN
(0.000454s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20120809105233_copy_infowindow_metadata_to_model.rb') RETURNING "filename"
(0.000702s) COMMIT
Finished applying migration 20120809105233_copy_infowindow_metadata_to_model
.rb, direction: up, took 0.002318 seconds
Begin applying migration 20120823114609_add_last_active_time_to_users.rb,
direction: up
(0.000305s) BEGIN
(0.000628s) ALTER TABLE "users" ADD COLUMN "last_active_time" timestamp
(0.000404s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20120823114609_add_last_active_time_to_users.rb') RETURNING "filename"
(0.000741s) COMMIT
Finished applying migration 20120823114609_add_last_active_time_to_users.rb,
direction: up, took 0.002942 seconds
Begin applying migration 20120903161841_layers_users.rb, direction: up
(0.000302s) BEGIN
(0.006535s) CREATE TABLE "layers_users" ("id" serial PRIMARY KEY, "layer_id"
integer REFERENCES "layers", "user_id" integer REFERENCES "users")
(0.000450s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20120903161841_layers_users.rb') RETURNING "filename"
(0.001532s) COMMIT
Finished applying migration 20120903161841_layers_users.rb, direction: up,
took 0.010204 seconds
Begin applying migration 20120912121006_add_order_to_layers.rb, direction:
up
(0.000625s) BEGIN
(0.000540s) ALTER TABLE "layers" ADD COLUMN "order" integer
(0.000491s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20120912121006_add_order_to_layers.rb') RETURNING "filename"
(0.000631s) COMMIT
Finished applying migration 20120912121006_add_order_to_layers.rb, direction
: up, took 0.003333 seconds
Begin applying migration 20120914162229_add_view_bounds_to_maps.rb,
direction: up
(0.000167s) BEGIN
(0.000563s) ALTER TABLE "maps" ADD COLUMN "view_bounds_sw" text, ADD COLUMN
"view_bounds_ne" text
(0.000412s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20120914162229_add_view_bounds_to_maps.rb') RETURNING "filename"
(0.000585s) COMMIT
Finished applying migration 20120914162229_add_view_bounds_to_maps.rb,
direction: up, took 0.002634 seconds
Begin applying migration 20120919095432_add_table_id_to_user_tables.rb,
direction: up
(0.000168s) BEGIN
(0.000363s) ALTER TABLE "user_tables" ADD COLUMN "table_id" integer
(0.000275s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20120919095432_add_table_id_to_user_tables.rb') RETURNING "filename"
(0.002080s) COMMIT
Finished applying migration 20120919095432_add_table_id_to_user_tables.rb,
direction: up, took 0.003688 seconds
Begin applying migration 20120924165043_assets.rb, direction: up
(0.000341s) BEGIN
(0.009451s) CREATE TABLE "assets" ("id" serial PRIMARY KEY, "user_id"
integer NOT NULL, "public_url" text)
(0.002765s) CREATE INDEX "assets_user_id_index" ON "assets" ("user_id")
(0.000453s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20120924165043_assets.rb') RETURNING "filename"
(0.000773s) COMMIT
Finished applying migration 20120924165043_assets.rb, direction: up, took
0.015279 seconds
Begin applying migration 20121016113011_remove_last_active_time_to_users.rb,
direction: up
(0.000345s) BEGIN
(0.000794s) ALTER TABLE "users" DROP COLUMN "last_active_time"
(0.000387s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20121016113011_remove_last_active_time_to_users.rb') RETURNING "filename"
(0.000748s) COMMIT
Finished applying migration 20121016113011_remove_last_active_time_to_users.
rb, direction: up, took 0.003073 seconds
Begin applying migration 20121017152007_migrate_data_from_1_0_to_2_0.rb,
direction: up
(0.000255s) BEGIN
(0.000514s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20121017152007_migrate_data_from_1_0_to_2_0.rb') RETURNING "filename"
(0.000686s) COMMIT
Finished applying migration 20121017152007_migrate_data_from_1_0_to_2_0.rb,
direction: up, took 0.001974 seconds
Begin applying migration 20121110180905_remove_blank_tags.rb, direction: up
(0.000297s) BEGIN
(0.003811s) SELECT "pg_attribute"."attname" AS "name", CAST("pg_attribute".
"atttypid" AS integer) AS "oid", format_type("pg_type"."oid", "pg_attribute"
."atttypmod") AS "db_type", pg_get_expr("pg_attrdef"."adbin", "pg_class".
"oid") AS "default", NOT "pg_attribute"."attnotnull" AS "allow_null",
COALESCE(("pg_attribute"."attnum" = ANY("pg_index"."indkey")), false) AS
"primary_key", "pg_namespace"."nspname" FROM "pg_class" INNER JOIN
"pg_attribute" ON ("pg_attribute"."attrelid" = "pg_class"."oid") INNER JOIN
"pg_type" ON ("pg_type"."oid" = "pg_attribute"."atttypid") INNER JOIN
"pg_namespace" ON ("pg_namespace"."oid" = "pg_class"."relnamespace") LEFT
OUTER JOIN "pg_attrdef" ON (("pg_attrdef"."adrelid" = "pg_class"."oid") AND
("pg_attrdef"."adnum" = "pg_attribute"."attnum")) LEFT OUTER JOIN "pg_index"
ON (("pg_index"."indrelid" = "pg_class"."oid") AND ("pg_index".
"indisprimary" IS TRUE)) WHERE (("pg_attribute"."attisdropped" IS FALSE)
AND ("pg_attribute"."attnum" > 0) AND ("pg_class"."relname" = 'tags') AND (
"pg_namespace"."nspname" !~* 'pg_*|information_schema')) ORDER BY
"pg_attribute"."attnum"
(0.001007s) DELETE FROM tags where name = ''
(0.000443s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20121110180905_remove_blank_tags.rb') RETURNING "filename"
(0.000756s) COMMIT
Finished applying migration 20121110180905_remove_blank_tags.rb, direction:
up, took 0.013870 seconds
Begin applying migration 20121115155323
_add_tables_created_count_to_data_imports.rb, direction: up
(0.000293s) BEGIN
(0.000508s) ALTER TABLE "data_imports" ADD COLUMN "tables_created_count"
integer
(0.000422s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20121115155323_add_tables_created_count_to_data_imports.rb') RETURNING
"filename"
(0.000787s) COMMIT
Finished applying migration 20121115155323
_add_tables_created_count_to_data_imports.rb, direction: up, took 0.002933
seconds
Begin applying migration 20121218112426_add_table_names_to_data_imports.rb,
direction: up
(0.000295s) BEGIN
(0.000492s) ALTER TABLE "data_imports" ADD COLUMN "table_names" text
(0.000404s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20121218112426_add_table_names_to_data_imports.rb') RETURNING "filename"
(0.000600s) COMMIT
Finished applying migration 20121218112426_add_table_names_to_data_imports.
rb, direction: up, took 0.002589 seconds
Begin applying migration 20130212094523_add_updated_at_to_layers.rb,
direction: up
(0.001726s) BEGIN
(0.001539s) ALTER TABLE "layers" ADD COLUMN "updated_at" timestamp
(0.001066s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20130212094523_add_updated_at_to_layers.rb') RETURNING "filename"
(0.000844s) COMMIT
Finished applying migration 20130212094523_add_updated_at_to_layers.rb,
direction: up, took 0.006649 seconds
Begin applying migration 20130212112825_add_updated_at_to_maps.rb, direction
: up
(0.000328s) BEGIN
(0.000610s) ALTER TABLE "maps" ADD COLUMN "updated_at" timestamp
(0.000414s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20130212112825_add_updated_at_to_maps.rb') RETURNING "filename"
(0.000762s) COMMIT
Finished applying migration 20130212112825_add_updated_at_to_maps.rb,
direction: up, took 0.003036 seconds
Begin applying migration 20130220145819_add_default_to_layers_updated_at.rb,
direction: up
(0.000315s) BEGIN
(0.000553s) ALTER TABLE layers ALTER COLUMN updated_at SET DEFAULT NOW()
(0.000416s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20130220145819_add_default_to_layers_updated_at.rb') RETURNING "filename"
(0.000679s) COMMIT
Finished applying migration 20130220145819_add_default_to_layers_updated_at.
rb, direction: up, took 0.002777 seconds
Begin applying migration 20130220153907_update_old_layers_updated_at.rb,
direction: up
(0.000314s) BEGIN
(0.000727s) UPDATE layers SET updated_at = NOW() WHERE updated_at IS NULL
(0.000410s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20130220153907_update_old_layers_updated_at.rb') RETURNING "filename"
(0.000613s) COMMIT
Finished applying migration 20130220153907_update_old_layers_updated_at.rb,
direction: up, took 0.002843 seconds
Begin applying migration 20130321100037
_add_missing_attributes_to_data_imports.rb, direction: up
(0.000176s) BEGIN
(0.000662s) ALTER TABLE "data_imports" ADD COLUMN "append" boolean, ADD
COLUMN "migrate_table" text, ADD COLUMN "table_copy" text, ADD COLUMN
"from_query" text
(0.000478s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20130321100037_add_missing_attributes_to_data_imports.rb') RETURNING
"filename"
(0.000721s) COMMIT
Finished applying migration 20130321100037
_add_missing_attributes_to_data_imports.rb, direction: up, took 0.003218
seconds
Begin applying migration 20130331112949_visualizations.rb, direction: up
(0.000313s) BEGIN
(0.006994s) CREATE TABLE "visualizations" ("id" text NOT NULL PRIMARY KEY,
"name" text, "description" text, "map_id" text, "type" text)
(0.002703s) CREATE INDEX "visualizations_map_id_index" ON "visualizations" (
"map_id")
(0.000463s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20130331112949_visualizations.rb') RETURNING "filename"
(0.000745s) COMMIT
Finished applying migration 20130331112949_visualizations.rb, direction: up,
took 0.012646 seconds
Begin applying migration 20130331113845_overlays.rb, direction: up
(0.000406s) BEGIN
(0.006252s) CREATE TABLE "overlays" ("id" text NOT NULL PRIMARY KEY, "order"
integer NOT NULL, "options" text, "visualization_id" text)
(0.002627s) CREATE INDEX "overlays_visualization_id_index" ON "overlays" (
"visualization_id")
(0.000600s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20130331113845_overlays.rb') RETURNING "filename"
(0.001792s) COMMIT
Finished applying migration 20130331113845_overlays.rb, direction: up, took
0.013642 seconds
Begin applying migration 20130412094805_visualization_tags.rb, direction: up
(0.000312s) BEGIN
(0.000463s)
ALTER TABLE "visualizations"
ADD COLUMN tags text[]
(0.001448s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20130412094805_visualization_tags.rb') RETURNING "filename"
(0.000755s) COMMIT
Finished applying migration 20130412094805_visualization_tags.rb, direction:
up, took 0.003825 seconds
Begin applying migration 20130417094205_add_type_to_overlays.rb, direction:
up
(0.000924s) BEGIN
(0.001069s) ALTER TABLE "overlays" ADD COLUMN "type" text
(0.000481s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20130417094205_add_type_to_overlays.rb') RETURNING "filename"
(0.000733s) COMMIT
Finished applying migration 20130417094205_add_type_to_overlays.rb,
direction: up, took 0.004543 seconds
Begin applying migration 20130424180022_visualizations.rb, direction: up
(0.000378s) BEGIN
(0.010208s)
ALTER TABLE visualizations
ALTER COLUMN map_id
TYPE integer
USING map_id::integer
(0.000454s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20130424180022_visualizations.rb') RETURNING "filename"
(0.001286s) COMMIT
Finished applying migration 20130424180022_visualizations.rb, direction: up,
took 0.013196 seconds
Begin applying migration 20130503084402
_add_active_layer_id_to_visualizations.rb, direction: up
(0.000344s) BEGIN
(0.000878s) ALTER TABLE "visualizations" ADD COLUMN "active_layer_id"
integer
(0.000576s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20130503084402_add_active_layer_id_to_visualizations.rb') RETURNING
"filename"
(0.000714s) COMMIT
Finished applying migration 20130503084402
_add_active_layer_id_to_visualizations.rb, direction: up, took 0.004030
seconds
Begin applying migration 20130503142207_add_privacy_to_visualizations.rb,
direction: up
(0.000298s) BEGIN
(0.000737s) ALTER TABLE "visualizations" ADD COLUMN "privacy" text
(0.000401s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20130503142207_add_privacy_to_visualizations.rb') RETURNING "filename"
(0.000622s) COMMIT
Finished applying migration 20130503142207_add_privacy_to_visualizations.rb,
direction: up, took 0.002884 seconds
Begin applying migration 20130521163240_add_timestamps_to_visualization.rb,
direction: up
(0.000182s) BEGIN
(0.000736s) ALTER TABLE "visualizations" ALTER COLUMN "created_at" SET
DEFAULT CURRENT_TIMESTAMP, ALTER COLUMN "updated_at" SET DEFAULT
CURRENT_TIMESTAMP, ADD COLUMN "created_at" timestamp, ADD COLUMN
"updated_at" timestamp
(0.000501s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20130521163240_add_timestamps_to_visualization.rb') RETURNING "filename"
(0.000689s) COMMIT
Finished applying migration 20130521163240_add_timestamps_to_visualization.
rb, direction: up, took 0.002979 seconds
Begin applying migration 20130524105247_layers_user_tables.rb, direction: up
(0.000298s) BEGIN
(0.006172s) CREATE TABLE "layers_user_tables" ("id" serial PRIMARY KEY,
"layer_id" integer REFERENCES "layers", "user_table_id" integer REFERENCES
"user_tables")
(0.000565s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20130524105247_layers_user_tables.rb') RETURNING "filename"
(0.001850s) COMMIT
Finished applying migration 20130524105247_layers_user_tables.rb, direction:
up, took 0.010577 seconds
Begin applying migration 20130605102802_add_period_end_date_to_users.rb,
direction: up
(0.000795s) BEGIN
(0.000768s) ALTER TABLE "users" ADD COLUMN "period_end_date" timestamp,
ALTER COLUMN "period_end_date" SET DEFAULT now()
(0.000410s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20130605102802_add_period_end_date_to_users.rb') RETURNING "filename"
(0.000711s) COMMIT
Finished applying migration 20130605102802_add_period_end_date_to_users.rb,
direction: up, took 0.004249 seconds
Begin applying migration 20130605112533_add_mapviews_quota_to_users.rb,
direction: up
(0.000294s) BEGIN
(0.010551s) ALTER TABLE "users" ADD COLUMN "map_view_quota" integer DEFAULT
10000
(0.000455s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20130605112533_add_mapviews_quota_to_users.rb') RETURNING "filename"
(0.001531s) COMMIT
Finished applying migration 20130605112533_add_mapviews_quota_to_users.rb,
direction: up, took 0.013811 seconds
Begin applying migration 20130626093348_add_max_layers_to_users.rb,
direction: up
(0.001350s) BEGIN
(0.014113s) ALTER TABLE "users" ADD COLUMN "max_layers" integer DEFAULT 3
(0.000477s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20130626093348_add_max_layers_to_users.rb') RETURNING "filename"
(0.001435s) COMMIT
Finished applying migration 20130626093348_add_max_layers_to_users.rb,
direction: up, took 0.018470 seconds
Begin applying migration 20130627164229_increase_default_user_max_layers.rb,
direction: up
(0.000423s) BEGIN
(0.000755s) ALTER TABLE "users" ALTER COLUMN "max_layers" SET DEFAULT 4
(0.001139s) UPDATE users set max_layers = 4
(0.000702s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20130627164229_increase_default_user_max_layers.rb') RETURNING "filename"
(0.001222s) COMMIT
Finished applying migration 20130627164229_increase_default_user_max_layers.
rb, direction: up, took 0.006314 seconds
Begin applying migration 20130802161253_add_timeouts_to_users.rb, direction:
up
(0.000311s) BEGIN
(0.012969s) ALTER TABLE "users" ADD COLUMN "database_timeout" integer
DEFAULT 300000, ADD COLUMN "user_timeout" integer DEFAULT 300000
(0.000704s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20130802161253_add_timeouts_to_users.rb') RETURNING "filename"
(0.002198s) COMMIT
Finished applying migration 20130802161253_add_timeouts_to_users.rb,
direction: up, took 0.017512 seconds
Begin applying migration 20130805121621_add_kind_to_assets.rb, direction: up
(0.000372s) BEGIN
(0.000580s) ALTER TABLE "assets" ADD COLUMN "kind" text
(0.000687s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20130805121621_add_kind_to_assets.rb') RETURNING "filename"
(0.000962s) COMMIT
Finished applying migration 20130805121621_add_kind_to_assets.rb, direction:
up, took 0.003579 seconds
Begin applying migration 20130807104954_add_upgraded_at_to_users.rb,
direction: up
(0.000317s) BEGIN
(0.000556s) ALTER TABLE "users" ADD COLUMN "upgraded_at" timestamp
(0.000696s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20130807104954_add_upgraded_at_to_users.rb') RETURNING "filename"
(0.001301s) COMMIT
Finished applying migration 20130807104954_add_upgraded_at_to_users.rb,
direction: up, took 0.003837 seconds
Begin applying migration 20130904130236_add_map_view_block_price_to_users.rb
, direction: up
(0.000301s) BEGIN
(0.000526s) ALTER TABLE "users" ADD COLUMN "map_view_block_price" integer
(0.000407s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20130904130236_add_map_view_block_price_to_users.rb') RETURNING "filename"
(0.000586s) COMMIT
Finished applying migration 20130904130236_add_map_view_block_price_to_users
.rb, direction: up, took 0.002791 seconds
Begin applying migration 20130917144013_add_geocoding_quota_to_users.rb,
direction: up
(0.000336s) BEGIN
(0.000589s) ALTER TABLE "users" ADD COLUMN "geocoding_quota" integer
(0.000408s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20130917144013_add_geocoding_quota_to_users.rb') RETURNING "filename"
(0.000705s) COMMIT
Finished applying migration 20130917144013_add_geocoding_quota_to_users.rb,
direction: up, took 0.003296 seconds
Begin applying migration 20130918091950_create_geocodings.rb, direction: up
(0.000357s) BEGIN
(0.010476s) CREATE TABLE "geocodings" ("id" serial PRIMARY KEY, "user_id"
integer, "table_name" Text, "total_rows" integer, "processed_rows" integer,
"created_at" timestamp DEFAULT CURRENT_TIMESTAMP, "updated_at" timestamp
DEFAULT CURRENT_TIMESTAMP)
(0.000901s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20130918091950_create_geocodings.rb') RETURNING "filename"
(0.002383s) COMMIT
Finished applying migration 20130918091950_create_geocodings.rb, direction:
up, took 0.015437 seconds
Begin applying migration 20130918100418_add_remote_id_to_geocodings.rb,
direction: up
(0.000370s) BEGIN
(0.000497s) ALTER TABLE "geocodings" ADD COLUMN "remote_id" text
(0.000423s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20130918100418_add_remote_id_to_geocodings.rb') RETURNING "filename"
(0.000677s) COMMIT
Finished applying migration 20130918100418_add_remote_id_to_geocodings.rb,
direction: up, took 0.003136 seconds
Begin applying migration 20130918100827_add_formatter_to_geocodings.rb,
direction: up
(0.000293s) BEGIN
(0.000483s) ALTER TABLE "geocodings" ADD COLUMN "formatter" text
(0.000454s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20130918100827_add_formatter_to_geocodings.rb') RETURNING "filename"
(0.000658s) COMMIT
Finished applying migration 20130918100827_add_formatter_to_geocodings.rb,
direction: up, took 0.002763 seconds
Begin applying migration 20131007133011_add_dashboard_viewed_at_to_user.rb,
direction: up
(0.000303s) BEGIN
(0.000847s) ALTER TABLE "users" ADD COLUMN "dashboard_viewed_at" timestamp
(0.001255s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20131007133011_add_dashboard_viewed_at_to_user.rb') RETURNING "filename"
(0.000825s) COMMIT
Finished applying migration 20131007133011_add_dashboard_viewed_at_to_user.
rb, direction: up, took 0.004274 seconds
Begin applying migration 20131008154516_synchronizations.rb, direction: up
(0.000372s) BEGIN
(0.008069s) CREATE TABLE "synchronizations" ("id" text NOT NULL PRIMARY KEY,
"name" text, "interval" integer, "url" text, "state" text, "user_id" integer
, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "run_at"
timestamp, "runned_at" timestamp, "retried_times" integer)
(0.000440s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20131008154516_synchronizations.rb') RETURNING "filename"
(0.001577s) COMMIT
Finished applying migration 20131008154516_synchronizations.rb, direction:
up, took 0.011850 seconds
Begin applying migration 20131008165405
_add_synchronization_id_to_data_import.rb, direction: up
(0.000300s) BEGIN
(0.002240s) ALTER TABLE "data_imports" ADD COLUMN "synchronization_id" text
(0.000562s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20131008165405_add_synchronization_id_to_data_import.rb') RETURNING
"filename"
(0.000939s) COMMIT
Finished applying migration 20131008165405
_add_synchronization_id_to_data_import.rb, direction: up, took 0.005286
seconds
Begin applying migration 20131009094750_add_sync_tables_to_user.rb,
direction: up
(0.000305s) BEGIN
(0.015447s) ALTER TABLE "users" ADD COLUMN "sync_tables_enabled" boolean
DEFAULT false
(0.000460s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20131009094750_add_sync_tables_to_user.rb') RETURNING "filename"
(0.002429s) COMMIT
Finished applying migration 20131009094750_add_sync_tables_to_user.rb,
direction: up, took 0.019682 seconds
Begin applying migration 20131009140427
_add_log_and_error_code_to_synchronization.rb, direction: up
(0.000390s) BEGIN
(0.000772s) ALTER TABLE "synchronizations" ADD COLUMN "log_id" text, ADD
COLUMN "error_code" integer, ADD COLUMN "error_message" text
(0.000418s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20131009140427_add_log_and_error_code_to_synchronization.rb') RETURNING
"filename"
(0.000731s) COMMIT
Finished applying migration 20131009140427
_add_log_and_error_code_to_synchronization.rb, direction: up, took 0.003303
seconds
Begin applying migration 20131010080230
_change_synchronization_runned_at_to_ran_at.rb, direction: up
(0.000438s) BEGIN
(0.000582s) ALTER TABLE "synchronizations" DROP COLUMN "runned_at", ADD
COLUMN "ran_at" timestamp
(0.000412s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20131010080230_change_synchronization_runned_at_to_ran_at.rb') RETURNING
"filename"
(0.000992s) COMMIT
Finished applying migration 20131010080230
_change_synchronization_runned_at_to_ran_at.rb, direction: up, took 0.003430
seconds
Begin applying migration 20131015033750_add_timezone_to_timestamps.rb,
direction: up
(0.000326s) BEGIN
(0.011140s)
ALTER TABLE client_applications
ALTER COLUMN created_at
TYPE timestamptz
(0.009943s)
ALTER TABLE client_applications
ALTER COLUMN updated_at
TYPE timestamptz
(0.017383s)
ALTER TABLE data_imports
ALTER COLUMN created_at
TYPE timestamptz
(0.015821s)
ALTER TABLE data_imports
ALTER COLUMN updated_at
TYPE timestamptz
(0.008315s)
ALTER TABLE geocodings
ALTER COLUMN created_at
TYPE timestamptz
(0.007218s)
ALTER TABLE geocodings
ALTER COLUMN updated_at
TYPE timestamptz
(0.009192s)
ALTER TABLE layers
ALTER COLUMN updated_at
TYPE timestamptz
(0.011904s)
ALTER TABLE maps
ALTER COLUMN updated_at
TYPE timestamptz
(0.009786s)
ALTER TABLE oauth_nonces
ALTER COLUMN created_at
TYPE timestamptz
(0.012379s)
ALTER TABLE oauth_nonces
ALTER COLUMN updated_at
TYPE timestamptz
(0.010810s)
ALTER TABLE oauth_tokens
ALTER COLUMN created_at
TYPE timestamptz
(0.009849s)
ALTER TABLE oauth_tokens
ALTER COLUMN updated_at
TYPE timestamptz
(0.010763s)
ALTER TABLE oauth_tokens
ALTER COLUMN authorized_at
TYPE timestamptz
(0.009269s)
ALTER TABLE oauth_tokens
ALTER COLUMN invalidated_at
TYPE timestamptz
(0.011196s)
ALTER TABLE oauth_tokens
ALTER COLUMN valid_to
TYPE timestamptz
(0.008015s)
ALTER TABLE synchronizations
ALTER COLUMN created_at
TYPE timestamptz
(0.007425s)
ALTER TABLE synchronizations
ALTER COLUMN updated_at
TYPE timestamptz
(0.007452s)
ALTER TABLE synchronizations
ALTER COLUMN run_at
TYPE timestamptz
(0.007049s)
ALTER TABLE synchronizations
ALTER COLUMN ran_at
TYPE timestamptz
(0.015745s)
ALTER TABLE user_tables
ALTER COLUMN updated_at
TYPE timestamptz
(0.013696s)
ALTER TABLE users
ALTER COLUMN period_end_date
TYPE timestamptz
(0.014370s)
ALTER TABLE users
ALTER COLUMN upgraded_at
TYPE timestamptz
(0.016267s)
ALTER TABLE users
ALTER COLUMN dashboard_viewed_at
TYPE timestamptz
(0.011398s)
ALTER TABLE visualizations
ALTER COLUMN created_at
TYPE timestamptz
(0.009732s)
ALTER TABLE visualizations
ALTER COLUMN updated_at
TYPE timestamptz
(0.000439s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20131015033750_add_timezone_to_timestamps.rb') RETURNING "filename"
(0.010427s) COMMIT
Finished applying migration 20131015033750_add_timezone_to_timestamps.rb,
direction: up, took 0.292424 seconds
Begin applying migration 20131015092056
_add_modified_at_etag_and_checksum_to_synchronization.rb, direction: up
(0.000469s) BEGIN
(0.001353s) ALTER TABLE "synchronizations" ADD COLUMN "modified_at"
timestamp, ADD COLUMN "etag" text, ADD COLUMN "checksum" text
(0.000595s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20131015092056_add_modified_at_etag_and_checksum_to_synchronization.rb')
RETURNING "filename"
(0.000842s) COMMIT
Finished applying migration 20131015092056
_add_modified_at_etag_and_checksum_to_synchronization.rb, direction: up,
took 0.004230 seconds
Begin applying migration 20131015154036_add_database_host_to_users.rb,
direction: up
(0.000283s) BEGIN
(0.000649s) ALTER TABLE "users" ADD COLUMN "database_host" text
(0.000967s)
UPDATE users
SET database_host='localhost'
WHERE database_host IS NULL
(0.000413s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20131015154036_add_database_host_to_users.rb') RETURNING "filename"
(0.000694s) COMMIT
Finished applying migration 20131015154036_add_database_host_to_users.rb,
direction: up, took 0.003906 seconds
Begin applying migration 20131030112026_add_geocoding_block_price_to_users.
rb, direction: up
(0.000346s) BEGIN
(0.000552s) ALTER TABLE "users" ADD COLUMN "geocoding_block_price" integer
(0.000595s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20131030112026_add_geocoding_block_price_to_users.rb') RETURNING "filename"
(0.001994s) COMMIT
Finished applying migration 20131030112026
_add_geocoding_block_price_to_users.rb, direction: up, took 0.004543 seconds
Begin applying migration 20131031152839_add_state_to_geocodings.rb,
direction: up
(0.000214s) BEGIN
(0.000509s) ALTER TABLE "geocodings" ADD COLUMN "state" text
(0.000553s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20131031152839_add_state_to_geocodings.rb') RETURNING "filename"
(0.001200s) COMMIT
Finished applying migration 20131031152839_add_state_to_geocodings.rb,
direction: up, took 0.003567 seconds
Begin applying migration 20131031175232_default_values_on_geocodings.rb,
direction: up
(0.000456s) BEGIN
(0.000832s) ALTER TABLE "geocodings" ALTER COLUMN "processed_rows" SET
DEFAULT 0, ALTER COLUMN "total_rows" SET DEFAULT 0
(0.000429s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20131031175232_default_values_on_geocodings.rb') RETURNING "filename"
(0.000688s) COMMIT
Finished applying migration 20131031175232_default_values_on_geocodings.rb,
direction: up, took 0.003451 seconds
Begin applying migration 20131118150048_drop_api_keys.rb, direction: up
(0.000290s) BEGIN
(0.001814s) DROP TABLE "api_keys"
(0.000439s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20131118150048_drop_api_keys.rb') RETURNING "filename"
(0.001515s) COMMIT
Finished applying migration 20131118150048_drop_api_keys.rb, direction: up,
took 0.004934 seconds
Begin applying migration 20131118150752_add_api_key_to_users.rb, direction:
up
(0.000325s) BEGIN
(0.000680s) ALTER TABLE "users" ADD COLUMN "api_key" text
(0.001499s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20131118150752_add_api_key_to_users.rb') RETURNING "filename"
(0.000815s) COMMIT
Finished applying migration 20131118150752_add_api_key_to_users.rb,
direction: up, took 0.004368 seconds
Begin applying migration 20131119150829_add_notification_to_users.rb,
direction: up
(0.000572s) BEGIN
(0.000775s) ALTER TABLE "users" ADD COLUMN "notification" text
(0.000701s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20131119150829_add_notification_to_users.rb') RETURNING "filename"
(0.000770s) COMMIT
Finished applying migration 20131119150829_add_notification_to_users.rb,
direction: up, took 0.004557 seconds
Begin applying migration 20131120112629_create_automatic_geocoders.rb,
direction: up
(0.000319s) BEGIN
(0.008532s) CREATE TABLE "automatic_geocodings" ("id" serial PRIMARY KEY,
"table_id" integer, "state" Text, "run_at" timestamp, "created_at"
timestamp NOT NULL, "updated_at" timestamp NOT NULL, "interval" integer,
"retried_times" integer)
(0.000497s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20131120112629_create_automatic_geocoders.rb') RETURNING "filename"
(0.004554s) COMMIT
Finished applying migration 20131120112629_create_automatic_geocoders.rb,
direction: up, took 0.015163 seconds
Begin applying migration 20131121121304_add_table_id_to_geocodings.rb,
direction: up
(0.000410s) BEGIN
(0.000603s) ALTER TABLE "geocodings" ADD COLUMN "table_id" integer
(0.000842s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20131121121304_add_table_id_to_geocodings.rb') RETURNING "filename"
(0.000916s) COMMIT
Finished applying migration 20131121121304_add_table_id_to_geocodings.rb,
direction: up, took 0.004050 seconds
Begin applying migration 20131121121317
_add_original_geocoding_id_to_automatic_geocodings.rb, direction: up
(0.000293s) BEGIN
(0.000543s) ALTER TABLE "automatic_geocodings" ADD COLUMN
"original_geocoding_id" integer
(0.000457s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20131121121317_add_original_geocoding_id_to_automatic_geocodings.rb')
RETURNING "filename"
(0.000753s) COMMIT
Finished applying migration 20131121121317
_add_original_geocoding_id_to_automatic_geocodings.rb, direction: up, took
0.002969 seconds
Begin applying migration 20131122105630_change_geocodings_association.rb,
direction: up
(0.000320s) BEGIN
(0.000492s) ALTER TABLE "automatic_geocodings" DROP COLUMN
"original_geocoding_id"
(0.002120s) ALTER TABLE "geocodings" ADD COLUMN "automatic_geocoding_id"
integer
(0.000487s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20131122105630_change_geocodings_association.rb') RETURNING "filename"
(0.001488s) COMMIT
Finished applying migration 20131122105630_change_geocodings_association.rb,
direction: up, took 0.006205 seconds
Begin applying migration 20131122114738_modify_automatic_geocodings.rb,
direction: up
(0.000396s) BEGIN
(0.000675s) ALTER TABLE "automatic_geocodings" DROP COLUMN "run_at"
(0.000419s) ALTER TABLE "automatic_geocodings" DROP COLUMN "interval"
(0.000411s) ALTER TABLE "automatic_geocodings" ADD COLUMN "ran_at" timestamp
(0.000484s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20131122114738_modify_automatic_geocodings.rb') RETURNING "filename"
(0.000770s) COMMIT
Finished applying migration 20131122114738_modify_automatic_geocodings.rb,
direction: up, took 0.004629 seconds
Begin applying migration 20131202142448_create_organizations.rb, direction:
up
(0.000305s) BEGIN
(0.015044s) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
(0.004242s) CREATE TABLE "organizations" ("id" Uuid DEFAULT uuid_generate_v4
() NOT NULL PRIMARY KEY, "seats" integer, "quota_in_bytes" integer,
"created_at" timestamp DEFAULT CURRENT_TIMESTAMP, "updated_at" timestamp
DEFAULT CURRENT_TIMESTAMP)
(0.000364s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20131202142448_create_organizations.rb') RETURNING "filename"
(0.001457s) COMMIT
Finished applying migration 20131202142448_create_organizations.rb,
direction: up, took 0.022738 seconds
Begin applying migration 20131202154602_add_organization_id_to_users.rb,
direction: up
(0.000375s) BEGIN
(0.000718s) ALTER TABLE "users" ADD COLUMN "organization_id" uuid
(0.000429s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20131202154602_add_organization_id_to_users.rb') RETURNING "filename"
(0.000767s) COMMIT
Finished applying migration 20131202154602_add_organization_id_to_users.rb,
direction: up, took 0.003429 seconds
Begin applying migration 20131204123219_add_organization_owner_to_users.rb,
direction: up
(0.000339s) BEGIN
(0.015516s) ALTER TABLE "users" ADD COLUMN "organization_owner" boolean
DEFAULT false
(0.000533s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20131204123219_add_organization_owner_to_users.rb') RETURNING "filename"
(0.002281s) COMMIT
Finished applying migration 20131204123219_add_organization_owner_to_users.
rb, direction: up, took 0.019836 seconds
Begin applying migration 20131211150547_change_organization_quota.rb,
direction: up
(0.000383s) BEGIN
(0.005043s) ALTER TABLE "organizations" ALTER COLUMN "quota_in_bytes" TYPE
bigint
(0.001323s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20131211150547_change_organization_quota.rb') RETURNING "filename"
(0.001196s) COMMIT
Finished applying migration 20131211150547_change_organization_quota.rb,
direction: up, took 0.008951 seconds
Begin applying migration 20131212172002_add_name_to_organizations.rb,
direction: up
(0.000211s) BEGIN
(0.005050s) ALTER TABLE "organizations" ADD COLUMN "name" text
(0.000474s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20131212172002_add_name_to_organizations.rb') RETURNING "filename"
(0.000747s) COMMIT
Finished applying migration 20131212172002_add_name_to_organizations.rb,
direction: up, took 0.007457 seconds
Begin applying migration 20140114131419_add_created_at_to_users.rb,
direction: up
(0.000392s) BEGIN
(0.016067s) ALTER TABLE "users" ADD COLUMN "created_at" timestamp DEFAULT
now()
(0.000481s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20140114131419_add_created_at_to_users.rb') RETURNING "filename"
(0.002085s) COMMIT
Finished applying migration 20140114131419_add_created_at_to_users.rb,
direction: up, took 0.020234 seconds
Begin applying migration 20140122211108_add_updated_at_to_users.rb,
direction: up
(0.000401s) BEGIN
(0.014409s) ALTER TABLE "users" ADD COLUMN "updated_at" timestamp DEFAULT
now()
(0.000474s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20140122211108_add_updated_at_to_users.rb') RETURNING "filename"
(0.001426s) COMMIT
Finished applying migration 20140122211108_add_updated_at_to_users.rb,
direction: up, took 0.018075 seconds
Begin applying migration 20140206145135_add_cache_hits_to_geocodings.rb,
direction: up
(0.000354s) BEGIN
(0.008759s) ALTER TABLE "geocodings" ADD COLUMN "cache_hits" integer
DEFAULT 0
(0.000543s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20140206145135_add_cache_hits_to_geocodings.rb') RETURNING "filename"
(0.001921s) COMMIT
Finished applying migration 20140206145135_add_cache_hits_to_geocodings.rb,
direction: up, took 0.012687 seconds
Begin applying migration 20140214110510_add_password_to_visualizations.rb,
direction: up
(0.000360s) BEGIN
(0.000521s) ALTER TABLE "visualizations" ADD COLUMN "encrypted_password"
text
(0.000415s) ALTER TABLE "visualizations" ADD COLUMN "password_salt" text
(0.000447s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20140214110510_add_password_to_visualizations.rb') RETURNING "filename"
(0.000673s) COMMIT
Finished applying migration 20140214110510_add_password_to_visualizations.rb
, direction: up, took 0.003359 seconds
Begin applying migration 20140228160605_drop_total_rows_from_geocodings.rb,
direction: up
(0.000387s) BEGIN
(0.000668s) ALTER TABLE "geocodings" DROP COLUMN "total_rows"
(0.000415s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20140228160605_drop_total_rows_from_geocodings.rb') RETURNING "filename"
(0.000594s) COMMIT
Finished applying migration 20140228160605_drop_total_rows_from_geocodings.
rb, direction: up, took 0.003082 seconds
Begin applying migration 20140303120018_add_index_on_geocodings.rb,
direction: up
(0.000289s) BEGIN
(0.003324s) CREATE INDEX geocodings_user_id_created_at ON geocodings(user_id
, created_at)
(0.001144s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20140303120018_add_index_on_geocodings.rb') RETURNING "filename"
(0.001091s) COMMIT
Finished applying migration 20140303120018_add_index_on_geocodings.rb,
direction: up, took 0.006955 seconds
Begin applying migration 20140304175816_add_disqus_shortname_to_users.rb,
direction: up
(0.000300s) BEGIN
(0.000835s) ALTER TABLE "users" ADD COLUMN "disqus_shortname" text
(0.000629s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20140304175816_add_disqus_shortname_to_users.rb') RETURNING "filename"
(0.000798s) COMMIT
Finished applying migration 20140304175816_add_disqus_shortname_to_users.rb,
direction: up, took 0.003662 seconds
Begin applying migration 20140304180412_migrate_to_uuid.rb, direction: up
(0.000302s) BEGIN
(0.001355s) SELECT COUNT(*) AS "count" FROM "assets" LIMIT 1
(0.009903s)
SELECT data_type
FROM information_schema.columns
WHERE table_name='assets' AND column_name='id';
(0.002935s)
SELECT data_type
FROM information_schema.columns
WHERE table_name='assets' AND column_name='user_id';
(0.000677s) SELECT COUNT(*) AS "count" FROM "automatic_geocodings" LIMIT 1
(0.002502s)
SELECT data_type
FROM information_schema.columns
WHERE table_name='automatic_geocodings' AND column_name='id';
(0.002921s)
SELECT data_type
FROM information_schema.columns
WHERE table_name='automatic_geocodings' AND column_name='table_id'
;
(0.000784s) SELECT COUNT(*) AS "count" FROM "client_applications" LIMIT 1
(0.002546s)
SELECT data_type
FROM information_schema.columns
WHERE table_name='client_applications' AND column_name='id';
(0.002686s)
SELECT data_type
FROM information_schema.columns
WHERE table_name='client_applications' AND column_name='user_id';
(0.001046s) SELECT COUNT(*) AS "count" FROM "data_imports" LIMIT 1
(0.003297s)
SELECT data_type
FROM information_schema.columns
WHERE table_name='data_imports' AND column_name='id';
(0.003149s)
SELECT data_type
FROM information_schema.columns
WHERE table_name='data_imports' AND column_name='user_id';
(0.003862s)
SELECT data_type
FROM information_schema.columns
WHERE table_name='data_imports' AND column_name='table_id';
(0.001226s) SELECT COUNT(*) AS "count" FROM "geocodings" LIMIT 1
(0.002770s)
SELECT data_type
FROM information_schema.columns
WHERE table_name='geocodings' AND column_name='id';
(0.002555s)
SELECT data_type
FROM information_schema.columns
WHERE table_name='geocodings' AND column_name='user_id';
(0.002602s)
SELECT data_type
FROM information_schema.columns
WHERE table_name='geocodings' AND column_name='table_id';
(0.002594s)
SELECT data_type
FROM information_schema.columns
WHERE table_name='geocodings' AND column_name=
'automatic_geocoding_id';
(0.000705s) SELECT COUNT(*) AS "count" FROM "layers_maps" LIMIT 1
(0.002523s)
SELECT data_type
FROM information_schema.columns
WHERE table_name='layers_maps' AND column_name='id';
(0.004013s)
SELECT data_type
FROM information_schema.columns
WHERE table_name='layers_maps' AND column_name='map_id';
(0.004039s)
SELECT data_type
FROM information_schema.columns
WHERE table_name='layers_maps' AND column_name='layer_id';
(0.000765s) SELECT COUNT(*) AS "count" FROM "layers_users" LIMIT 1
(0.003981s)
SELECT data_type
FROM information_schema.columns
WHERE table_name='layers_users' AND column_name='id';
(0.003689s)
SELECT data_type
FROM information_schema.columns
WHERE table_name='layers_users' AND column_name='user_id';
(0.002827s)
SELECT data_type
FROM information_schema.columns
WHERE table_name='layers_users' AND column_name='layer_id';
(0.000700s) SELECT COUNT(*) AS "count" FROM "layers_user_tables" LIMIT 1
(0.002633s)
SELECT data_type
FROM information_schema.columns
WHERE table_name='layers_user_tables' AND column_name='id';
(0.002798s)
SELECT data_type
FROM information_schema.columns
WHERE table_name='layers_user_tables' AND column_name=
'user_table_id';
(0.002477s)
SELECT data_type
FROM information_schema.columns
WHERE table_name='layers_user_tables' AND column_name='layer_id';
(0.000734s) SELECT COUNT(*) AS "count" FROM "layers" LIMIT 1
(0.002585s)
SELECT data_type
FROM information_schema.columns
WHERE table_name='layers' AND column_name='id';
(0.001028s) SELECT COUNT(*) AS "count" FROM "maps" LIMIT 1
(0.002470s)
SELECT data_type
FROM information_schema.columns
WHERE table_name='maps' AND column_name='id';
(0.003254s)
SELECT data_type
FROM information_schema.columns
WHERE table_name='maps' AND column_name='user_id';
(0.001059s) SELECT COUNT(*) AS "count" FROM "oauth_nonces" LIMIT 1
(0.003078s)
SELECT data_type
FROM information_schema.columns
WHERE table_name='oauth_nonces' AND column_name='id';
(0.000802s) SELECT COUNT(*) AS "count" FROM "oauth_tokens" LIMIT 1
(0.002495s)
SELECT data_type
FROM information_schema.columns
WHERE table_name='oauth_tokens' AND column_name='id';
(0.002671s)
SELECT data_type
FROM information_schema.columns
WHERE table_name='oauth_tokens' AND column_name='user_id';
(0.002811s)
SELECT data_type
FROM information_schema.columns
WHERE table_name='oauth_tokens' AND column_name=
'client_application_id';
(0.000703s) SELECT COUNT(*) AS "count" FROM "overlays" LIMIT 1
(0.003054s)
SELECT data_type
FROM information_schema.columns
WHERE table_name='overlays' AND column_name='id';
(0.001220s) SELECT COUNT(*) AS "count" FROM "synchronizations" LIMIT 1
(0.002928s)
SELECT data_type
FROM information_schema.columns
WHERE table_name='synchronizations' AND column_name='user_id';
(0.000927s) SELECT COUNT(*) AS "count" FROM "tags" LIMIT 1
(0.002684s)
SELECT data_type
FROM information_schema.columns
WHERE table_name='tags' AND column_name='id';
(0.003399s)
SELECT data_type
FROM information_schema.columns
WHERE table_name='tags' AND column_name='user_id';
(0.002631s)
SELECT data_type
FROM information_schema.columns
WHERE table_name='tags' AND column_name='table_id';
(0.000990s) SELECT COUNT(*) AS "count" FROM "user_tables" LIMIT 1
(0.003291s)
SELECT data_type
FROM information_schema.columns
WHERE table_name='user_tables' AND column_name='id';
(0.002894s)
SELECT data_type
FROM information_schema.columns
WHERE table_name='user_tables' AND column_name='user_id';
(0.002754s)
SELECT data_type
FROM information_schema.columns
WHERE table_name='user_tables' AND column_name='map_id';
(0.002484s)
SELECT data_type
FROM information_schema.columns
WHERE table_name='user_tables' AND column_name='data_import_id';
(0.000828s) SELECT COUNT(*) AS "count" FROM "users" LIMIT 1
(0.002865s)
SELECT data_type
FROM information_schema.columns
WHERE table_name='users' AND column_name='id';
(0.000800s) SELECT COUNT(*) AS "count" FROM "visualizations" LIMIT 1
(0.002763s)
SELECT data_type
FROM information_schema.columns
WHERE table_name='visualizations' AND column_name='map_id';
(0.002960s)
SELECT data_type
FROM information_schema.columns
WHERE table_name='visualizations' AND column_name=
'active_layer_id';
(0.027911s)
SELECT count(*) as count
FROM pg_available_extensions
WHERE name='uuid-ossp'
(0.000534s)
CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
(0.001055s)
ALTER TABLE assets
DROP COLUMN id
(0.012835s)
ALTER TABLE assets
ADD COLUMN id uuid UNIQUE PRIMARY KEY NOT NULL DEFAULT
uuid_generate_v4()
(0.000600s)
ALTER TABLE assets
DROP COLUMN user_id
(0.000404s)
ALTER TABLE assets
ADD COLUMN user_id uuid
(0.000805s)
ALTER TABLE automatic_geocodings
DROP COLUMN id
(0.008301s)
ALTER TABLE automatic_geocodings
ADD COLUMN id uuid UNIQUE PRIMARY KEY NOT NULL DEFAULT
uuid_generate_v4()
(0.000560s)
ALTER TABLE automatic_geocodings
DROP COLUMN table_id
(0.000618s)
ALTER TABLE automatic_geocodings
ADD COLUMN table_id uuid
(0.001319s)
ALTER TABLE client_applications
DROP COLUMN id
(0.015313s)
ALTER TABLE client_applications
ADD COLUMN id uuid UNIQUE PRIMARY KEY NOT NULL DEFAULT
uuid_generate_v4()
(0.000534s)
ALTER TABLE client_applications
DROP COLUMN user_id
(0.000574s)
ALTER TABLE client_applications
ADD COLUMN user_id uuid
(0.001316s)
ALTER TABLE data_imports
DROP COLUMN id
(0.020219s)
ALTER TABLE data_imports
ADD COLUMN id uuid UNIQUE PRIMARY KEY NOT NULL DEFAULT
uuid_generate_v4()
(0.000601s)
ALTER TABLE data_imports
DROP COLUMN user_id
(0.000773s)
ALTER TABLE data_imports
ADD COLUMN user_id uuid
(0.000544s)
ALTER TABLE data_imports
DROP COLUMN table_id
(0.000342s)
ALTER TABLE data_imports
ADD COLUMN table_id uuid
(0.000798s)
ALTER TABLE geocodings
DROP COLUMN id
(0.010033s)
ALTER TABLE geocodings
ADD COLUMN id uuid UNIQUE PRIMARY KEY NOT NULL DEFAULT
uuid_generate_v4()
(0.000455s)
ALTER TABLE geocodings
DROP COLUMN user_id
(0.000585s)
ALTER TABLE geocodings
ADD COLUMN user_id uuid
(0.000685s)
ALTER TABLE geocodings
DROP COLUMN table_id
(0.000774s)
ALTER TABLE geocodings
ADD COLUMN table_id uuid
(0.000448s)
ALTER TABLE geocodings
DROP COLUMN automatic_geocoding_id
(0.000783s)
ALTER TABLE geocodings
ADD COLUMN automatic_geocoding_id uuid
(0.001639s)
ALTER TABLE layers_maps
DROP COLUMN id
(0.007201s)
ALTER TABLE layers_maps
ADD COLUMN id uuid UNIQUE PRIMARY KEY NOT NULL DEFAULT
uuid_generate_v4()
(0.001010s)
ALTER TABLE layers_maps
DROP COLUMN map_id
(0.000415s)
ALTER TABLE layers_maps
ADD COLUMN map_id uuid
(0.000680s)
ALTER TABLE layers_maps
DROP COLUMN layer_id
(0.000420s)
ALTER TABLE layers_maps
ADD COLUMN layer_id uuid
(0.000828s)
ALTER TABLE layers_users
DROP COLUMN id
(0.008212s)
ALTER TABLE layers_users
ADD COLUMN id uuid UNIQUE PRIMARY KEY NOT NULL DEFAULT
uuid_generate_v4()
(0.001589s)
ALTER TABLE layers_users
DROP COLUMN user_id
(0.000984s)
ALTER TABLE layers_users
ADD COLUMN user_id uuid
(0.001254s)
ALTER TABLE layers_users
DROP COLUMN layer_id
(0.000444s)
ALTER TABLE layers_users
ADD COLUMN layer_id uuid
(0.000859s)
ALTER TABLE layers_user_tables
DROP COLUMN id
(0.007825s)
ALTER TABLE layers_user_tables
ADD COLUMN id uuid UNIQUE PRIMARY KEY NOT NULL DEFAULT
uuid_generate_v4()
(0.001225s)
ALTER TABLE layers_user_tables
DROP COLUMN user_table_id
(0.000602s)
ALTER TABLE layers_user_tables
ADD COLUMN user_table_id uuid
(0.000775s)
ALTER TABLE layers_user_tables
DROP COLUMN layer_id
(0.000466s)
ALTER TABLE layers_user_tables
ADD COLUMN layer_id uuid
(0.000925s)
ALTER TABLE layers
DROP COLUMN id
(0.009950s)
ALTER TABLE layers
ADD COLUMN id uuid UNIQUE PRIMARY KEY NOT NULL DEFAULT
uuid_generate_v4()
(0.001007s)
ALTER TABLE maps
DROP COLUMN id
(0.012031s)
ALTER TABLE maps
ADD COLUMN id uuid UNIQUE PRIMARY KEY NOT NULL DEFAULT
uuid_generate_v4()
(0.000620s)
ALTER TABLE maps
DROP COLUMN user_id
(0.000669s)
ALTER TABLE maps
ADD COLUMN user_id uuid
(0.000835s)
ALTER TABLE oauth_nonces
DROP COLUMN id
(0.009966s)
ALTER TABLE oauth_nonces
ADD COLUMN id uuid UNIQUE PRIMARY KEY NOT NULL DEFAULT
uuid_generate_v4()
(0.001258s)
ALTER TABLE oauth_tokens
DROP COLUMN id
(0.013203s)
ALTER TABLE oauth_tokens
ADD COLUMN id uuid UNIQUE PRIMARY KEY NOT NULL DEFAULT
uuid_generate_v4()
(0.000565s)
ALTER TABLE oauth_tokens
DROP COLUMN user_id
(0.000427s)
ALTER TABLE oauth_tokens
ADD COLUMN user_id uuid
(0.000435s)
ALTER TABLE oauth_tokens
DROP COLUMN client_application_id
(0.000411s)
ALTER TABLE oauth_tokens
ADD COLUMN client_application_id uuid
(0.000649s)
ALTER TABLE overlays
DROP COLUMN id
(0.011763s)
ALTER TABLE overlays
ADD COLUMN id uuid UNIQUE PRIMARY KEY NOT NULL DEFAULT
uuid_generate_v4()
(0.001103s)
ALTER TABLE synchronizations
DROP COLUMN user_id
(0.002487s)
ALTER TABLE synchronizations
ADD COLUMN user_id uuid
(0.000975s)
ALTER TABLE tags
DROP COLUMN id
(0.017445s)
ALTER TABLE tags
ADD COLUMN id uuid UNIQUE PRIMARY KEY NOT NULL DEFAULT
uuid_generate_v4()
(0.001418s)
ALTER TABLE tags
DROP COLUMN user_id
(0.001310s)
ALTER TABLE tags
ADD COLUMN user_id uuid
(0.000972s)
ALTER TABLE tags
DROP COLUMN table_id
(0.000507s)
ALTER TABLE tags
ADD COLUMN table_id uuid
(0.001031s)
ALTER TABLE user_tables
DROP COLUMN id
(0.015382s)
ALTER TABLE user_tables
ADD COLUMN id uuid UNIQUE PRIMARY KEY NOT NULL DEFAULT
uuid_generate_v4()
(0.000757s)
ALTER TABLE user_tables
DROP COLUMN user_id
(0.001068s)
ALTER TABLE user_tables
ADD COLUMN user_id uuid
(0.000639s)
ALTER TABLE user_tables
DROP COLUMN map_id
(0.000637s)
ALTER TABLE user_tables
ADD COLUMN map_id uuid
(0.000490s)
ALTER TABLE user_tables
DROP COLUMN data_import_id
(0.000810s)
ALTER TABLE user_tables
ADD COLUMN data_import_id uuid
(0.002280s)
ALTER TABLE users
DROP COLUMN id
(0.013096s)
ALTER TABLE users
ADD COLUMN id uuid UNIQUE PRIMARY KEY NOT NULL DEFAULT
uuid_generate_v4()
(0.000686s)
ALTER TABLE visualizations
DROP COLUMN map_id
(0.000381s)
ALTER TABLE visualizations
ADD COLUMN map_id uuid
(0.000375s)
ALTER TABLE visualizations
DROP COLUMN active_layer_id
(0.000472s)
ALTER TABLE visualizations
ADD COLUMN active_layer_id uuid
(0.000955s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20140304180412_migrate_to_uuid.rb') RETURNING "filename"
(0.009341s) COMMIT
Finished applying migration 20140304180412_migrate_to_uuid.rb, direction: up
, took 0.460581 seconds
Begin applying migration 20140305112732_add_extra_fields_to_geocodings.rb,
direction: up
(0.001041s) BEGIN
(0.001310s) ALTER TABLE "geocodings" ADD COLUMN "kind" text, ADD COLUMN
"country_code" text, ADD COLUMN "geometry_type" text
(0.000583s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20140305112732_add_extra_fields_to_geocodings.rb') RETURNING "filename"
(0.001163s) COMMIT
Finished applying migration 20140305112732_add_extra_fields_to_geocodings.rb
, direction: up, took 0.005487 seconds
Begin applying migration 20140307123930
_add_service_name_and_service_item_id_to_synchronizations.rb, direction: up
(0.000274s) BEGIN
(0.000639s) ALTER TABLE "synchronizations" ADD COLUMN "service_name" text
(0.000556s) ALTER TABLE "synchronizations" ADD COLUMN "service_item_id" text
(0.000451s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20140307123930_add_service_name_and_service_item_id_to_synchronizations.rb'
) RETURNING "filename"
(0.000768s) COMMIT
Finished applying migration 20140307123930
_add_service_name_and_service_item_id_to_synchronizations.rb, direction: up,
took 0.004174 seconds
Begin applying migration 20140314101744_create_synchronization_oauths.rb,
direction: up
(0.000298s) BEGIN
(0.008900s) CREATE TABLE "synchronization_oauths" ("id" serial PRIMARY KEY,
"user_id" Uuid, "service" Text, "token" Text, "created_at" timestamp
DEFAULT CURRENT_TIMESTAMP, "updated_at" timestamp DEFAULT CURRENT_TIMESTAMP)
(0.002316s) CREATE INDEX "synchronization_oauths_user_id_index" ON
"synchronization_oauths" ("user_id")
(0.003186s) CREATE INDEX "synchronization_oauths_service_index" ON
"synchronization_oauths" ("service")
(0.001381s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20140314101744_create_synchronization_oauths.rb') RETURNING "filename"
(0.001600s) COMMIT
Finished applying migration 20140314101744_create_synchronization_oauths.rb,
direction: up, took 0.019683 seconds
Begin applying migration 20140402140602_add_service_name_to_data_import.rb,
direction: up
(0.000386s) BEGIN
(0.001496s) ALTER TABLE "data_imports" ADD COLUMN "service_name" text
(0.000588s) ALTER TABLE "data_imports" ALTER COLUMN "service_name" SET
DEFAULT 'public_url'
(0.000709s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20140402140602_add_service_name_to_data_import.rb') RETURNING "filename"
(0.000889s) COMMIT
Finished applying migration 20140402140602_add_service_name_to_data_import.
rb, direction: up, took 0.005658 seconds
Begin applying migration 20140402142957_add_service_item_id_to_data_import.
rb, direction: up
(0.000328s) BEGIN
(0.000528s) ALTER TABLE "data_imports" ADD COLUMN "service_item_id" text
(0.000416s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20140402142957_add_service_item_id_to_data_import.rb') RETURNING "filename"
(0.000805s) COMMIT
Finished applying migration 20140402142957
_add_service_item_id_to_data_import.rb, direction: up, took 0.002997 seconds
Begin applying migration 20140410145007_add_processable_rows_to_geocodings.
rb, direction: up
(0.001367s) BEGIN
(0.000740s) ALTER TABLE "geocodings" ADD COLUMN "processable_rows" bigint
(0.000470s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20140410145007_add_processable_rows_to_geocodings.rb') RETURNING "filename"
(0.000659s) COMMIT
Finished applying migration 20140410145007
_add_processable_rows_to_geocodings.rb, direction: up, took 0.004311 seconds
Begin applying migration 20140410145024_add_real_rows_to_geocodings.rb,
direction: up
(0.000299s) BEGIN
(0.000610s) ALTER TABLE "geocodings" ADD COLUMN "real_rows" bigint
(0.000423s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20140410145024_add_real_rows_to_geocodings.rb') RETURNING "filename"
(0.000699s) COMMIT
Finished applying migration 20140410145024_add_real_rows_to_geocodings.rb,
direction: up, took 0.002873 seconds
Begin applying migration 20140414132400_add_url_options_to_visualizations.rb
, direction: up
(0.000304s) BEGIN
(0.001059s) ALTER TABLE "visualizations" ADD COLUMN "url_options" text
(0.000853s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20140414132400_add_url_options_to_visualizations.rb') RETURNING "filename"
(0.000904s) COMMIT
Finished applying migration 20140414132400_add_url_options_to_visualizations
.rb, direction: up, took 0.004420 seconds
Begin applying migration 20140414160500_add_used_credits_to_geocodings.rb,
direction: up
(0.000330s) BEGIN
(0.000869s) ALTER TABLE "geocodings" ADD COLUMN "used_credits" bigint
(0.000523s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20140414160500_add_used_credits_to_geocodings.rb') RETURNING "filename"
(0.000688s) COMMIT
Finished applying migration 20140414160500_add_used_credits_to_geocodings.rb
, direction: up, took 0.003644 seconds
Begin applying migration 20140429104839_add_tooltip_to_layer.rb, direction:
up
(0.001533s) BEGIN
(0.000639s) ALTER TABLE "layers" ADD COLUMN "tooltip" text
(0.000421s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20140429104839_add_tooltip_to_layer.rb') RETURNING "filename"
(0.000683s) COMMIT
Finished applying migration 20140429104839_add_tooltip_to_layer.rb,
direction: up, took 0.004348 seconds
Begin applying migration 20140509082703_add_twitter_username_to_users.rb,
direction: up
(0.000304s) BEGIN
(0.000581s) ALTER TABLE "users" ADD COLUMN "twitter_username" text
(0.000418s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20140509082703_add_twitter_username_to_users.rb') RETURNING "filename"
(0.000610s) COMMIT
Finished applying migration 20140509082703_add_twitter_username_to_users.rb,
direction: up, took 0.002803 seconds
Begin applying migration 20140509082717_add_website_to_users.rb, direction:
up
(0.000300s) BEGIN
(0.000552s) ALTER TABLE "users" ADD COLUMN "website" text
(0.000910s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20140509082717_add_website_to_users.rb') RETURNING "filename"
(0.000838s) COMMIT
Finished applying migration 20140509082717_add_website_to_users.rb,
direction: up, took 0.003611 seconds
Begin applying migration 20140509082727_add_description_to_users.rb,
direction: up
(0.000245s) BEGIN
(0.000806s) ALTER TABLE "users" ADD COLUMN "description" text
(0.000445s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20140509082727_add_description_to_users.rb') RETURNING "filename"
(0.000694s) COMMIT
Finished applying migration 20140509082727_add_description_to_users.rb,
direction: up, took 0.003340 seconds
Begin applying migration 20140509132419_add_name_to_users.rb, direction: up
(0.000397s) BEGIN
(0.000601s) ALTER TABLE "users" ADD COLUMN "name" text
(0.000444s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20140509132419_add_name_to_users.rb') RETURNING "filename"
(0.000777s) COMMIT
Finished applying migration 20140509132419_add_name_to_users.rb, direction:
up, took 0.003112 seconds
Begin applying migration 20140516125339_add_user_id_to_visualizations.rb,
direction: up
(0.000371s) BEGIN
(0.000515s) ALTER TABLE "visualizations" ADD COLUMN "user_id" uuid
(0.001909s)
UPDATE visualizations
SET user_id = maps.user_id FROM maps
WHERE maps.user_id IN (SELECT
users.id FROM users)
AND visualizations.user_id IS NULL
AND visualizations.map_id =
maps.id
(0.000435s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20140516125339_add_user_id_to_visualizations.rb') RETURNING "filename"
(0.000779s) COMMIT
Finished applying migration 20140516125339_add_user_id_to_visualizations.rb,
direction: up, took 0.005289 seconds
Begin applying migration 20140604155837_add_avatar_url_to_users.rb,
direction: up
(0.000312s) BEGIN
(0.000528s) ALTER TABLE "users" ADD COLUMN "avatar_url" text
(0.000424s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20140604155837_add_avatar_url_to_users.rb') RETURNING "filename"
(0.000729s) COMMIT
Finished applying migration 20140604155837_add_avatar_url_to_users.rb,
direction: up, took 0.002906 seconds
Begin applying migration 20140604161347_add_template_overlays.rb, direction:
up
(0.000304s) BEGIN
(0.000606s) ALTER TABLE "overlays" ADD COLUMN "template" text
(0.000427s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20140604161347_add_template_overlays.rb') RETURNING "filename"
(0.000658s) COMMIT
Finished applying migration 20140604161347_add_template_overlays.rb,
direction: up, took 0.002803 seconds
Begin applying migration 20140609105428_create_permissions.rb, direction: up
(0.000292s) BEGIN
(0.000329s) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
(0.008263s) CREATE TABLE "permissions" ("id" Uuid DEFAULT uuid_generate_v4()
NOT NULL PRIMARY KEY, "owner_id" Uuid NOT NULL, "owner_username" Text NOT
NULL, "access_control_list" Text DEFAULT '[]' NOT NULL, "created_at"
timestamp DEFAULT CURRENT_TIMESTAMP, "updated_at" timestamp DEFAULT
CURRENT_TIMESTAMP)
(0.000623s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20140609105428_create_permissions.rb') RETURNING "filename"
(0.000930s) COMMIT
Finished applying migration 20140609105428_create_permissions.rb, direction:
up, took 0.012045 seconds
Begin applying migration 20140611072144_add_permission_to_visualizations.rb,
direction: up
(0.000323s) BEGIN
(0.000566s) ALTER TABLE "visualizations" ADD COLUMN "permission_id" uuid
(0.000433s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20140611072144_add_permission_to_visualizations.rb') RETURNING "filename"
(0.000671s) COMMIT
Finished applying migration 20140611072144_add_permission_to_visualizations.
rb, direction: up, took 0.002860 seconds
Begin applying migration 20140616132854_add_database_schema_to_users.rb,
direction: up
(0.000301s) BEGIN
(0.014690s) ALTER TABLE "users" ADD COLUMN "database_schema" text DEFAULT
'public'
(0.000460s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20140616132854_add_database_schema_to_users.rb') RETURNING "filename"
(0.002102s) COMMIT
Finished applying migration 20140616132854_add_database_schema_to_users.rb,
direction: up, took 0.018526 seconds
Begin applying migration 20140617110548_add_avatar_url_to_organizations.rb,
direction: up
(0.000337s) BEGIN
(0.000529s) ALTER TABLE "organizations" ADD COLUMN "avatar_url" text
(0.000414s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20140617110548_add_avatar_url_to_organizations.rb') RETURNING "filename"
(0.000802s) COMMIT
Finished applying migration 20140617110548_add_avatar_url_to_organizations.
rb, direction: up, took 0.003025 seconds
Begin applying migration 20140617121918_create_shared_entities.rb, direction
: up
(0.000321s) BEGIN
(0.007560s) CREATE TABLE "shared_entities" ("id" serial PRIMARY KEY,
"user_id" Uuid NOT NULL, "entity_id" Uuid NOT NULL, "type" Text NOT NULL,
"created_at" timestamp DEFAULT CURRENT_TIMESTAMP, "updated_at" timestamp
DEFAULT CURRENT_TIMESTAMP)
(0.003439s) CREATE INDEX "shared_entities_user_id_index" ON
"shared_entities" ("user_id")
(0.002332s) CREATE UNIQUE INDEX "shared_entities_user_id_entity_id_index"
ON "shared_entities" ("user_id", "entity_id")
(0.000463s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20140617121918_create_shared_entities.rb') RETURNING "filename"
(0.000860s) COMMIT
Finished applying migration 20140617121918_create_shared_entities.rb,
direction: up, took 0.016869 seconds
Begin applying migration 20140617142314_add_entity_to_permissions.rb,
direction: up
(0.000342s) BEGIN
(0.000607s) ALTER TABLE "permissions" ADD COLUMN "entity_id" uuid
(0.000421s) ALTER TABLE "permissions" ADD COLUMN "entity_type" text
(0.000408s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20140617142314_add_entity_to_permissions.rb') RETURNING "filename"
(0.001562s) COMMIT
Finished applying migration 20140617142314_add_entity_to_permissions.rb,
direction: up, took 0.004481 seconds
Begin applying migration 20140625140749_add_recipients_to_shared_entities.rb
, direction: up
(0.000304s) BEGIN
(0.000617s) ALTER TABLE "shared_entities" RENAME COLUMN "user_id" TO
"recipient_id"
(0.000372s) ALTER TABLE "shared_entities" RENAME COLUMN "type" TO
"entity_type"
(0.000433s) ALTER TABLE "shared_entities" ADD COLUMN "recipient_type" text
(0.000863s) ALTER TABLE shared_entities ADD CONSTRAINT recipient_type_check
CHECK (recipient_type IN ('user', 'org'));
(0.000429s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20140625140749_add_recipients_to_shared_entities.rb') RETURNING "filename"
(0.000678s) COMMIT
Finished applying migration 20140625140749_add_recipients_to_shared_entities
.rb, direction: up, took 0.005085 seconds
Begin applying migration 20140625151906_add_owner_id_to_organizations.rb,
direction: up
(0.000311s) BEGIN
(0.000478s) ALTER TABLE "organizations" ADD COLUMN "owner_id" uuid
(0.003241s) SELECT "pg_attribute"."attname" AS "name", CAST("pg_attribute".
"atttypid" AS integer) AS "oid", format_type("pg_type"."oid", "pg_attribute"
."atttypmod") AS "db_type", pg_get_expr("pg_attrdef"."adbin", "pg_class".
"oid") AS "default", NOT "pg_attribute"."attnotnull" AS "allow_null",
COALESCE(("pg_attribute"."attnum" = ANY("pg_index"."indkey")), false) AS
"primary_key", "pg_namespace"."nspname" FROM "pg_class" INNER JOIN
"pg_attribute" ON ("pg_attribute"."attrelid" = "pg_class"."oid") INNER JOIN
"pg_type" ON ("pg_type"."oid" = "pg_attribute"."atttypid") INNER JOIN
"pg_namespace" ON ("pg_namespace"."oid" = "pg_class"."relnamespace") LEFT
OUTER JOIN "pg_attrdef" ON (("pg_attrdef"."adrelid" = "pg_class"."oid") AND
("pg_attrdef"."adnum" = "pg_attribute"."attnum")) LEFT OUTER JOIN "pg_index"
ON (("pg_index"."indrelid" = "pg_class"."oid") AND ("pg_index".
"indisprimary" IS TRUE)) WHERE (("pg_attribute"."attisdropped" IS FALSE)
AND ("pg_attribute"."attnum" > 0) AND ("pg_class"."relname" =
'organizations') AND ("pg_namespace"."nspname" !~* 'pg_*|information_schema'
)) ORDER BY "pg_attribute"."attnum"
(0.002107s) SELECT "pg_attribute"."attname" AS "name", CAST("pg_attribute".
"atttypid" AS integer) AS "oid", format_type("pg_type"."oid", "pg_attribute"
."atttypmod") AS "db_type", pg_get_expr("pg_attrdef"."adbin", "pg_class".
"oid") AS "default", NOT "pg_attribute"."attnotnull" AS "allow_null",
COALESCE(("pg_attribute"."attnum" = ANY("pg_index"."indkey")), false) AS
"primary_key", "pg_namespace"."nspname" FROM "pg_class" INNER JOIN
"pg_attribute" ON ("pg_attribute"."attrelid" = "pg_class"."oid") INNER JOIN
"pg_type" ON ("pg_type"."oid" = "pg_attribute"."atttypid") INNER JOIN
"pg_namespace" ON ("pg_namespace"."oid" = "pg_class"."relnamespace") LEFT
OUTER JOIN "pg_attrdef" ON (("pg_attrdef"."adrelid" = "pg_class"."oid") AND
("pg_attrdef"."adnum" = "pg_attribute"."attnum")) LEFT OUTER JOIN "pg_index"
ON (("pg_index"."indrelid" = "pg_class"."oid") AND ("pg_index".
"indisprimary" IS TRUE)) WHERE (("pg_attribute"."attisdropped" IS FALSE)
AND ("pg_attribute"."attnum" > 0) AND ("pg_class"."relname" =
'organizations') AND ("pg_namespace"."nspname" !~* 'pg_*|information_schema'
)) ORDER BY "pg_attribute"."attnum"
(0.000864s) SELECT * FROM "users" WHERE ("organization_owner" IS TRUE)
(0.000776s) ALTER TABLE "users" DROP COLUMN "organization_owner"
(0.000488s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20140625151906_add_owner_id_to_organizations.rb') RETURNING "filename"
(0.000783s) COMMIT
Finished applying migration 20140625151906_add_owner_id_to_organizations.rb,
direction: up, took 0.024266 seconds
Begin applying migration 20140627102015_add_extra_fields_to_organizations.rb
, direction: up
(0.000453s) BEGIN
(0.000618s) ALTER TABLE "organizations" ADD COLUMN "website" text
(0.000429s) ALTER TABLE "organizations" ADD COLUMN "description" text
(0.000405s) ALTER TABLE "organizations" ADD COLUMN "display_name" text
(0.001422s) ALTER TABLE "organizations" ADD COLUMN "discus_shortname" text
(0.001207s) ALTER TABLE "organizations" ADD COLUMN "twitter_username" text
(0.000606s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20140627102015_add_extra_fields_to_organizations.rb') RETURNING "filename"
(0.000730s) COMMIT
Finished applying migration 20140627102015_add_extra_fields_to_organizations
.rb, direction: up, took 0.008414 seconds
Begin applying migration 20140627130234_add_scroll_wheel_to_maps.rb,
direction: up
(0.000325s) BEGIN
(0.009693s) ALTER TABLE "maps" ADD COLUMN "scrollwheel" bool DEFAULT true
(0.000851s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20140627130234_add_scroll_wheel_to_maps.rb') RETURNING "filename"
(0.001817s) COMMIT
Finished applying migration 20140627130234_add_scroll_wheel_to_maps.rb,
direction: up, took 0.013912 seconds
Begin applying migration 20140704120337_add_quotas_to_organizations.rb,
direction: up
(0.000364s) BEGIN
(0.000505s) ALTER TABLE "organizations" ADD COLUMN "geocoding_quota" integer
(0.000435s) ALTER TABLE "organizations" ADD COLUMN "map_view_quota" integer
(0.000427s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20140704120337_add_quotas_to_organizations.rb') RETURNING "filename"
(0.000822s) COMMIT
Finished applying migration 20140704120337_add_quotas_to_organizations.rb,
direction: up, took 0.003775 seconds
Begin applying migration 20140707122338_add_soft_geocoding_limit_to_users.rb
, direction: up
(0.000280s) BEGIN
(0.000840s) ALTER TABLE "users" ADD COLUMN "soft_geocoding_limit" boolean
(0.000481s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20140707122338_add_soft_geocoding_limit_to_users.rb') RETURNING "filename"
(0.000720s) COMMIT
Finished applying migration 20140707122338_add_soft_geocoding_limit_to_users
.rb, direction: up, took 0.003819 seconds
Begin applying migration 20140707145307
_add_auth_token_to_users_and_organizations.rb, direction: up
(0.000302s) BEGIN
(0.000502s) ALTER TABLE "organizations" ADD COLUMN "auth_token" text
(0.000574s) ALTER TABLE "users" ADD COLUMN "auth_token" text
(0.000415s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20140707145307_add_auth_token_to_users_and_organizations.rb') RETURNING
"filename"
(0.000760s) COMMIT
Finished applying migration 20140707145307
_add_auth_token_to_users_and_organizations.rb, direction: up, took 0.003775
seconds
Begin applying migration 20140711105152_add_source_to_visualizations.rb,
direction: up
(0.000321s) BEGIN
(0.000491s) ALTER TABLE "visualizations" ADD COLUMN "source" text
(0.000546s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20140711105152_add_source_to_visualizations.rb') RETURNING "filename"
(0.000721s) COMMIT
Finished applying migration 20140711105152_add_source_to_visualizations.rb,
direction: up, took 0.002939 seconds
Begin applying migration 20140718133411_add_block_prices_to_organizations.rb
, direction: up
(0.000329s) BEGIN
(0.000482s) ALTER TABLE "organizations" ADD COLUMN "geocoding_block_price"
integer
(0.000486s) ALTER TABLE "organizations" ADD COLUMN "map_view_block_price"
integer
(0.000448s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20140718133411_add_block_prices_to_organizations.rb') RETURNING "filename"
(0.000613s) COMMIT
Finished applying migration 20140718133411_add_block_prices_to_organizations
.rb, direction: up, took 0.003459 seconds
Begin applying migration 20140721133136_add_legends_to_maps.rb, direction:
up
(0.000297s) BEGIN
(0.007760s) ALTER TABLE "maps" ADD COLUMN "legends" bool DEFAULT true
(0.000687s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20140721133136_add_legends_to_maps.rb') RETURNING "filename"
(0.002253s) COMMIT
Finished applying migration 20140721133136_add_legends_to_maps.rb, direction
: up, took 0.012232 seconds
Begin applying migration 20140723161952_add_locked_to_visualizations.rb,
direction: up
(0.000452s) BEGIN
(0.008490s) ALTER TABLE "visualizations" ADD COLUMN "locked" boolean
DEFAULT false NOT NULL
(0.000474s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20140723161952_add_locked_to_visualizations.rb') RETURNING "filename"
(0.002042s) COMMIT
Finished applying migration 20140723161952_add_locked_to_visualizations.rb,
direction: up, took 0.012682 seconds
Begin applying migration 20140801140346_create_logs.rb, direction: up
(0.000544s) BEGIN
(0.007352s) CREATE TABLE "logs" ("id" Uuid DEFAULT uuid_generate_v4() NOT
NULL PRIMARY KEY, "type" Text NOT NULL, "user_id" Uuid, "created_at"
timestamp DEFAULT CURRENT_TIMESTAMP, "updated_at" timestamp DEFAULT
CURRENT_TIMESTAMP, "entries" Text)
(0.000438s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20140801140346_create_logs.rb') RETURNING "filename"
(0.000872s) COMMIT
Finished applying migration 20140801140346_create_logs.rb, direction: up,
took 0.010797 seconds
Begin applying migration 20140804151839_add_twitter_datasource_fields.rb,
direction: up
(0.001380s) BEGIN
(0.000619s) ALTER TABLE "organizations" ADD COLUMN
"twitter_datasource_enabled" boolean
(0.000419s) ALTER TABLE "organizations" ADD COLUMN
"twitter_datasource_block_price" integer
(0.000427s) ALTER TABLE "organizations" ADD COLUMN
"twitter_datasource_block_size" integer
(0.000545s) ALTER TABLE "users" ADD COLUMN "twitter_datasource_enabled"
boolean
(0.000581s) ALTER TABLE "users" ADD COLUMN "twitter_datasource_block_price"
integer
(0.001058s) ALTER TABLE "users" ADD COLUMN "twitter_datasource_block_size"
integer
(0.000789s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20140804151839_add_twitter_datasource_fields.rb') RETURNING "filename"
(0.000818s) COMMIT
Finished applying migration 20140804151839_add_twitter_datasource_fields.rb,
direction: up, took 0.009431 seconds
Begin applying migration 20140806154519_add_twitter_datasource_quota.rb,
direction: up
(0.000338s) BEGIN
(0.012531s) ALTER TABLE "users" ADD COLUMN "twitter_datasource_quota"
integer DEFAULT 0
(0.007714s) ALTER TABLE "organizations" ADD COLUMN
"twitter_datasource_quota" integer DEFAULT 0
(0.001484s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20140806154519_add_twitter_datasource_quota.rb') RETURNING "filename"
(0.002648s) COMMIT
Finished applying migration 20140806154519_add_twitter_datasource_quota.rb,
direction: up, took 0.026348 seconds
Begin applying migration 20140812154748_add_soft_twitter_datasource_limit.rb
, direction: up
(0.000544s) BEGIN
(0.013930s) ALTER TABLE "users" ADD COLUMN "soft_twitter_datasource_limit"
boolean DEFAULT false
(0.000440s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20140812154748_add_soft_twitter_datasource_limit.rb') RETURNING "filename"
(0.002847s) COMMIT
Finished applying migration 20140812154748_add_soft_twitter_datasource_limit
.rb, direction: up, took 0.019285 seconds
Begin applying migration 20140818144705_create_search_tweets.rb, direction:
up
(0.000424s) BEGIN
(0.000343s) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
(0.006637s) CREATE TABLE "search_tweets" ("id" Uuid DEFAULT uuid_generate_v4
() NOT NULL PRIMARY KEY, "user_id" Uuid NOT NULL, "table_id" Uuid NULL,
"data_import_id" Uuid NOT NULL, "service_item_id" Text NOT NULL,
"retrieved_items" integer DEFAULT 0 NOT NULL, "state" Text NOT NULL,
"created_at" timestamp DEFAULT CURRENT_TIMESTAMP, "updated_at" timestamp
DEFAULT CURRENT_TIMESTAMP)
(0.000472s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20140818144705_create_search_tweets.rb') RETURNING "filename"
(0.000856s) COMMIT
Finished applying migration 20140818144705_create_search_tweets.rb,
direction: up, took 0.010110 seconds
Begin applying migration 20140828080913_add_table_attributes.rb, direction:
up
(0.000327s) BEGIN
(0.000497s) ALTER TABLE "visualizations" ADD COLUMN "license" text
(0.000431s) ALTER TABLE "visualizations" ADD COLUMN "title" text
(0.000857s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20140828080913_add_table_attributes.rb') RETURNING "filename"
(0.001264s) COMMIT
Finished applying migration 20140828080913_add_table_attributes.rb,
direction: up, took 0.004676 seconds
Begin applying migration 20140915150147_add_stats_to_data_import.rb,
direction: up
(0.000404s) BEGIN
(0.010473s) ALTER TABLE "data_imports" ADD COLUMN "stats" text DEFAULT '{}'
NOT NULL
(0.000415s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20140915150147_add_stats_to_data_import.rb') RETURNING "filename"
(0.001784s) COMMIT
Finished applying migration 20140915150147_add_stats_to_data_import.rb,
direction: up, took 0.014223 seconds
Begin applying migration 20140924101304_add_country_column_to_geocoding.rb,
direction: up
(0.000361s) BEGIN
(0.000616s) ALTER TABLE "geocodings" ADD COLUMN "country_column" text
(0.000413s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20140924101304_add_country_column_to_geocoding.rb') RETURNING "filename"
(0.000628s) COMMIT
Finished applying migration 20140924101304_add_country_column_to_geocoding.
rb, direction: up, took 0.003020 seconds
Begin applying migration 20141007100712
_add_arcgis_datasource_enabled_to_users.rb, direction: up
(0.000298s) BEGIN
(0.000637s) ALTER TABLE "users" ADD COLUMN "arcgis_datasource_enabled"
boolean
(0.000437s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20141007100712_add_arcgis_datasource_enabled_to_users.rb') RETURNING
"filename"
(0.000764s) COMMIT
Finished applying migration 20141007100712
_add_arcgis_datasource_enabled_to_users.rb, direction: up, took 0.003166
seconds
Begin applying migration 20141015110655_add_indexes_to_metadata_tables.rb,
direction: up
(0.001446s) BEGIN
(0.004031s) SELECT COUNT(*) AS "count" FROM (
SELECT * FROM pg_indexes WHERE indexname='tmp_user_tables_map_id' and
schemaname='public'
) AS "t1" LIMIT 1
(0.003538s)
CREATE INDEX user_tables_map_id_idx ON user_tables (map_id)
(0.001338s) SELECT COUNT(*) AS "count" FROM (
SELECT * FROM pg_indexes WHERE indexname='tmp_visualizations_map_id'
and schemaname='public'
) AS "t1" LIMIT 1
(0.003699s)
CREATE INDEX visualizations_map_id_idx ON visualizations (map_id)
(0.003802s)
CREATE INDEX visualizations_user_id_locked_idx ON visualizations (
user_id, locked)
(0.002427s)
CREATE INDEX maps_user_id_idx ON maps (user_id)
(0.001779s) SELECT COUNT(*) AS "count" FROM (
SELECT * FROM pg_indexes WHERE indexname=
'tmp_layers_maps_layer_id_map_id' and schemaname='public'
) AS "t1" LIMIT 1
(0.003359s)
CREATE INDEX layers_maps_layer_id_map_id_idx ON layers_maps (
layer_id, map_id)
(0.003191s)
CREATE INDEX permissions_entity_id_idx ON permissions (entity_id)
(0.002993s)
CREATE INDEX shared_entities_recipient_id_idx ON shared_entities (
recipient_id)
(0.010541s)
ALTER TABLE overlays
ALTER COLUMN visualization_id TYPE uuid USING visualization_id::uuid;
(0.000488s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20141015110655_add_indexes_to_metadata_tables.rb') RETURNING "filename"
(0.001463s) COMMIT
Finished applying migration 20141015110655_add_indexes_to_metadata_tables.rb
, direction: up, took 0.048043 seconds
Begin applying migration 20141016100333
_add_fields_guessing_to_data_import_and_synchronizations.rb, direction: up
(0.000438s) BEGIN
(0.009780s) ALTER TABLE "data_imports" ADD COLUMN "type_guessing" boolean
DEFAULT true NOT NULL
(0.011824s) ALTER TABLE "data_imports" ADD COLUMN "quoted_fields_guessing"
boolean DEFAULT true NOT NULL
(0.007425s) ALTER TABLE "synchronizations" ADD COLUMN "type_guessing"
boolean DEFAULT true NOT NULL
(0.008968s) ALTER TABLE "synchronizations" ADD COLUMN
"quoted_fields_guessing" boolean DEFAULT true NOT NULL
(0.000573s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20141016100333_add_fields_guessing_to_data_import_and_synchronizations.rb')
RETURNING "filename"
(0.003315s) COMMIT
Finished applying migration 20141016100333
_add_fields_guessing_to_data_import_and_synchronizations.rb, direction: up,
took 0.044585 seconds
Begin applying migration 20141020173508
_add_maps_flags_to_users_and_organizations.rb, direction: up
(0.000516s) BEGIN
(0.000558s) ALTER TABLE "organizations" ADD COLUMN "here_maps_enabled"
boolean
(0.000583s) ALTER TABLE "organizations" ADD COLUMN "stamen_maps_enabled"
boolean
(0.000555s) ALTER TABLE "users" ADD COLUMN "here_maps_enabled" boolean
(0.000439s) ALTER TABLE "users" ADD COLUMN "stamen_maps_enabled" boolean
(0.000430s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20141020173508_add_maps_flags_to_users_and_organizations.rb') RETURNING
"filename"
(0.000679s) COMMIT
Finished applying migration 20141020173508
_add_maps_flags_to_users_and_organizations.rb, direction: up, took 0.005323
seconds
Begin applying migration 20141022172959_enable_map_flags_by_default.rb,
direction: up
(0.000185s) BEGIN
(0.000440s) ALTER TABLE organizations DROP COLUMN IF EXISTS
here_maps_enabled
(0.000402s) ALTER TABLE organizations DROP COLUMN IF EXISTS
stamen_maps_enabled
(0.000543s) ALTER TABLE users DROP COLUMN IF EXISTS here_maps_enabled
(0.000292s) ALTER TABLE users DROP COLUMN IF EXISTS stamen_maps_enabled
(0.008445s) ALTER TABLE "organizations" ADD COLUMN "here_maps_enabled"
boolean DEFAULT true
(0.007316s) ALTER TABLE "organizations" ADD COLUMN "stamen_maps_enabled"
boolean DEFAULT true
(0.013151s) ALTER TABLE "users" ADD COLUMN "here_maps_enabled" boolean
DEFAULT true
(0.015398s) ALTER TABLE "users" ADD COLUMN "stamen_maps_enabled" boolean
DEFAULT true
(0.000453s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20141022172959_enable_map_flags_by_default.rb') RETURNING "filename"
(0.003554s) COMMIT
Finished applying migration 20141022172959_enable_map_flags_by_default.rb,
direction: up, took 0.053131 seconds
Begin applying migration 20141024134856_add_dynamic_cdn_user_flag.rb,
direction: up
(0.000853s) BEGIN
(0.013539s) ALTER TABLE "users" ADD COLUMN "dynamic_cdn_enabled" boolean
DEFAULT false
(0.000491s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20141024134856_add_dynamic_cdn_user_flag.rb') RETURNING "filename"
(0.002275s) COMMIT
Finished applying migration 20141024134856_add_dynamic_cdn_user_flag.rb,
direction: up, took 0.018557 seconds
Begin applying migration 20141103182931_add_ghost_tables_user_flag.rb,
direction: up
(0.000432s) BEGIN
(0.013836s) ALTER TABLE "users" ADD COLUMN "ghost_tables_enabled" boolean
DEFAULT false
(0.000315s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20141103182931_add_ghost_tables_user_flag.rb') RETURNING "filename"
(0.001468s) COMMIT
Finished applying migration 20141103182931_add_ghost_tables_user_flag.rb,
direction: up, took 0.017078 seconds
Begin applying migration 20141105113418_add_kind_to_visualizations.rb,
direction: up
(0.000412s) BEGIN
(0.015630s) ALTER TABLE "visualizations" ADD COLUMN "kind" text DEFAULT
'geom' NOT NULL
(0.000528s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20141105113418_add_kind_to_visualizations.rb') RETURNING "filename"
(0.001551s) COMMIT
Finished applying migration 20141105113418_add_kind_to_visualizations.rb,
direction: up, took 0.019338 seconds
Begin applying migration 20141106131135
_add_rainbow_flag_to_users_and_organizations.rb, direction: up
(0.000388s) BEGIN
(0.008460s) ALTER TABLE "organizations" ADD COLUMN "rainbow_maps_enabled"
boolean DEFAULT false
(0.013928s) ALTER TABLE "users" ADD COLUMN "rainbow_maps_enabled" boolean
DEFAULT false
(0.000602s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20141106131135_add_rainbow_flag_to_users_and_organizations.rb') RETURNING
"filename"
(0.002633s) COMMIT
Finished applying migration 20141106131135
_add_rainbow_flag_to_users_and_organizations.rb, direction: up, took
0.027489 seconds
Begin applying migration 20141107102826_add_available_for_hire_to_users.rb,
direction: up
(0.000706s) BEGIN
(0.015709s) ALTER TABLE "users" ADD COLUMN "available_for_hire" boolean
DEFAULT false
(0.000473s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20141107102826_add_available_for_hire_to_users.rb') RETURNING "filename"
(0.002035s) COMMIT
Finished applying migration 20141107102826_add_available_for_hire_to_users.
rb, direction: up, took 0.020157 seconds
Begin applying migration 20141111185500
_add_organization_id_index_to_users_table.rb, direction: up
(0.000384s) BEGIN
(0.003474s)
CREATE INDEX users_organization_id_idx ON users (organization_id)
(0.000519s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20141111185500_add_organization_id_index_to_users_table.rb') RETURNING
"filename"
(0.000684s) COMMIT
Finished applying migration 20141111185500
_add_organization_id_index_to_users_table.rb, direction: up, took 0.006942
seconds
Begin applying migration 20141118101138
_add_content_guessing_param_to_imports.rb, direction: up
(0.000316s) BEGIN
(0.011863s) ALTER TABLE "data_imports" ADD COLUMN "content_guessing" boolean
DEFAULT false NOT NULL
(0.000436s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20141118101138_add_content_guessing_param_to_imports.rb') RETURNING
"filename"
(0.001412s) COMMIT
Finished applying migration 20141118101138
_add_content_guessing_param_to_imports.rb, direction: up, took 0.015027
seconds
Begin applying migration 20141119173820_add_content_guessing_param_to_syncs.
rb, direction: up
(0.000374s) BEGIN
(0.008470s) ALTER TABLE "synchronizations" ADD COLUMN "content_guessing"
boolean DEFAULT false NOT NULL
(0.000447s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20141119173820_add_content_guessing_param_to_syncs.rb') RETURNING
"filename"
(0.001846s) COMMIT
Finished applying migration 20141119173820
_add_content_guessing_param_to_syncs.rb, direction: up, took 0.012058
seconds
Begin applying migration 20141121091557
_add_new_dashboard_flag_to_users_and_organizations.rb, direction: up
(0.000240s) BEGIN
(0.009488s) ALTER TABLE "organizations" ADD COLUMN "new_dashboard_enabled"
boolean DEFAULT false
(0.015910s) ALTER TABLE "users" ADD COLUMN "new_dashboard_enabled" boolean
DEFAULT false
(0.000475s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20141121091557_add_new_dashboard_flag_to_users_and_organizations.rb')
RETURNING "filename"
(0.002806s) COMMIT
Finished applying migration 20141121091557
_add_new_dashboard_flag_to_users_and_organizations.rb, direction: up, took
0.031333 seconds
Begin applying migration 20141126190000_add_server_and_host_to_data_import.
rb, direction: up
(0.000429s) BEGIN
(0.000730s) ALTER TABLE "data_imports" ADD COLUMN "server" text
(0.000465s) ALTER TABLE "data_imports" ADD COLUMN "host" text
(0.000680s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20141126190000_add_server_and_host_to_data_import.rb') RETURNING "filename"
(0.000831s) COMMIT
Finished applying migration 20141126190000
_add_server_and_host_to_data_import.rb, direction: up, took 0.004278 seconds
Begin applying migration 20141202092936_create_likes.rb, direction: up
(0.000348s) BEGIN
(0.000379s) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
(0.004602s)
CREATE TABLE likes(
actor uuid NOT NULL,
subject uuid NOT NULL,
created_at timestamp without time zone DEFAULT now(),
PRIMARY KEY(actor, subject)
)
(0.000553s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20141202092936_create_likes.rb') RETURNING "filename"
(0.000860s) COMMIT
Finished applying migration 20141202092936_create_likes.rb, direction: up,
took 0.007777 seconds
Begin applying migration 20141203111728_feature_flags.rb, direction: up
(0.000326s) BEGIN
(0.010540s) CREATE TABLE "feature_flags" ("id" integer PRIMARY KEY, "name"
Text NOT NULL UNIQUE, "restricted" boolean DEFAULT true NOT NULL,
"created_at" timestamp DEFAULT CURRENT_TIMESTAMP, "updated_at" timestamp
DEFAULT CURRENT_TIMESTAMP)
(0.007483s) CREATE TABLE "feature_flags_users" ("id" serial PRIMARY KEY,
"feature_flag_id" integer NOT NULL REFERENCES "feature_flags", "user_id"
uuid NOT NULL REFERENCES "users", "created_at" timestamp DEFAULT
CURRENT_TIMESTAMP, "updated_at" timestamp DEFAULT CURRENT_TIMESTAMP)
(0.002568s) CREATE UNIQUE INDEX
"feature_flags_users_user_id_feature_flag_id_index" ON "feature_flags_users"
("user_id", "feature_flag_id")
(0.001026s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20141203111728_feature_flags.rb') RETURNING "filename"
(0.002027s) COMMIT
Finished applying migration 20141203111728_feature_flags.rb, direction: up,
took 0.026675 seconds
Begin applying migration 20141217135102_add_upload_host_to_data_import.rb,
direction: up
(0.000773s) BEGIN
(0.000989s) ALTER TABLE "data_imports" ADD COLUMN "upload_host" text
(0.000607s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20141217135102_add_upload_host_to_data_import.rb') RETURNING "filename"
(0.000718s) COMMIT
Finished applying migration 20141217135102_add_upload_host_to_data_import.rb
, direction: up, took 0.004120 seconds
Begin applying migration 20141218140844_add_resque_ppid_to_data_import.rb,
direction: up
(0.000349s) BEGIN
(0.000838s) ALTER TABLE "data_imports" ADD COLUMN "resque_ppid" integer
(0.000505s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20141218140844_add_resque_ppid_to_data_import.rb') RETURNING "filename"
(0.000672s) COMMIT
Finished applying migration 20141218140844_add_resque_ppid_to_data_import.rb
, direction: up, took 0.003298 seconds
Begin applying migration 20141218175200_add_user_id_index_to_data_imports.rb
, direction: up
(0.000299s) BEGIN
(0.002999s)
CREATE INDEX data_imports_users_id_idx ON data_imports (user_id)
(0.002447s)
CREATE INDEX data_imports_users_id_state_idx ON data_imports (user_id,
state)
(0.000459s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20141218175200_add_user_id_index_to_data_imports.rb') RETURNING "filename"
(0.000586s) COMMIT
Finished applying migration 20141218175200_add_user_id_index_to_data_imports
.rb, direction: up, took 0.007802 seconds
Begin applying migration 20141229083623
_remove_ghost_tables_enabled_from_users.rb, direction: up
(0.000330s) BEGIN
(0.000764s) ALTER TABLE "users" DROP COLUMN "ghost_tables_enabled"
(0.000485s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20141229083623_remove_ghost_tables_enabled_from_users.rb') RETURNING
"filename"
(0.000678s) COMMIT
Finished applying migration 20141229083623
_remove_ghost_tables_enabled_from_users.rb, direction: up, took 0.003063
seconds
Begin applying migration 20150119141635_add_private_maps_enabled_to_users.rb
, direction: up
(0.000293s) BEGIN
(0.016832s) ALTER TABLE "users" ADD COLUMN "private_maps_enabled" boolean
DEFAULT false
(0.000523s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150119141635_add_private_maps_enabled_to_users.rb') RETURNING "filename"
(0.002733s) COMMIT
Finished applying migration 20150119141635_add_private_maps_enabled_to_users
.rb, direction: up, took 0.021420 seconds
Begin applying migration 20150119142000_add_parent_id_to_visualizations.rb,
direction: up
(0.000512s) BEGIN
(0.000602s) ALTER TABLE "visualizations" ADD COLUMN "parent_id" uuid
(0.000428s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150119142000_add_parent_id_to_visualizations.rb') RETURNING "filename"
(0.000761s) COMMIT
Finished applying migration 20150119142000_add_parent_id_to_visualizations.
rb, direction: up, took 0.003105 seconds
Begin applying migration 20150119142001_add_parent_id_to_layers.rb,
direction: up
(0.000339s) BEGIN
(0.000479s) ALTER TABLE "layers" ADD COLUMN "parent_id" uuid
(0.000406s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150119142001_add_parent_id_to_layers.rb') RETURNING "filename"
(0.000724s) COMMIT
Finished applying migration 20150119142001_add_parent_id_to_layers.rb,
direction: up, took 0.002808 seconds
Begin applying migration 20150119142002_add_prev_and_next_to_visualizations.
rb, direction: up
(0.000315s) BEGIN
(0.000254s) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
(0.000467s) ALTER TABLE "visualizations" ADD COLUMN "prev_id" uuid NULL
(0.000285s) ALTER TABLE "visualizations" ADD COLUMN "next_id" uuid NULL
(0.000328s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150119142002_add_prev_and_next_to_visualizations.rb') RETURNING
"filename"
(0.000580s) COMMIT
Finished applying migration 20150119142002
_add_prev_and_next_to_visualizations.rb, direction: up, took 0.003355
seconds
Begin applying migration 20150119142003
_add_transition_options_to_visualizations.rb, direction: up
(0.000300s) BEGIN
(0.013294s) ALTER TABLE "visualizations" ADD COLUMN
"slide_transition_options" text DEFAULT '{}' NOT NULL
(0.000328s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150119142003_add_transition_options_to_visualizations.rb') RETURNING
"filename"
(0.002378s) COMMIT
Finished applying migration 20150119142003
_add_transition_options_to_visualizations.rb, direction: up, took 0.017455
seconds
Begin applying migration 20150119142004_add_active_child_to_visualizations.
rb, direction: up
(0.000329s) BEGIN
(0.000253s) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
(0.001206s) ALTER TABLE "visualizations" ADD COLUMN "active_child" uuid NULL
(0.000487s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150119142004_add_active_child_to_visualizations.rb') RETURNING "filename"
(0.000870s) COMMIT
Finished applying migration 20150119142004
_add_active_child_to_visualizations.rb, direction: up, took 0.004324 seconds
Begin applying migration 20150121135500_add_data_import_id_fk_to_geocodings.
rb, direction: up
(0.000325s) BEGIN
(0.002264s) ALTER TABLE "geocodings" ADD COLUMN "data_import_id" uuid NULL
REFERENCES "data_imports"
(0.000675s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150121135500_add_data_import_id_fk_to_geocodings.rb') RETURNING
"filename"
(0.000884s) COMMIT
Finished applying migration 20150121135500
_add_data_import_id_fk_to_geocodings.rb, direction: up, took 0.005319
seconds
Begin applying migration 20150125201100_drop_basemap_options.rb, direction:
up
(0.000312s) BEGIN
(0.000636s) ALTER TABLE organizations DROP COLUMN IF EXISTS
here_maps_enabled
(0.000461s) ALTER TABLE organizations DROP COLUMN IF EXISTS
stamen_maps_enabled
(0.000499s) ALTER TABLE organizations DROP COLUMN IF EXISTS
rainbow_maps_enabled
(0.000699s) ALTER TABLE users DROP COLUMN IF EXISTS here_maps_enabled
(0.000590s) ALTER TABLE users DROP COLUMN IF EXISTS stamen_maps_enabled
(0.000563s) ALTER TABLE users DROP COLUMN IF EXISTS rainbow_maps_enabled
(0.000440s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150125201100_drop_basemap_options.rb') RETURNING "filename"
(0.000773s) COMMIT
Finished applying migration 20150125201100_drop_basemap_options.rb,
direction: up, took 0.006062 seconds
Begin applying migration 20150128161955_add_indexes_to_layers_tables.rb,
direction: up
(0.000309s) BEGIN
(0.002917s)
CREATE INDEX layers_maps_map_id_idx ON layers_maps (map_id)
(0.003940s)
CREATE INDEX layers_kind_idx ON layers (kind)
(0.000464s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150128161955_add_indexes_to_layers_tables.rb') RETURNING "filename"
(0.000925s) COMMIT
Finished applying migration 20150128161955_add_indexes_to_layers_tables.rb,
direction: up, took 0.009469 seconds
Begin applying migration 20150203081925_add_google_sign_in_to_users.rb,
direction: up
(0.000318s) BEGIN
(0.023880s) ALTER TABLE "users" ADD COLUMN "google_sign_in" boolean DEFAULT
false
(0.000450s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150203081925_add_google_sign_in_to_users.rb') RETURNING "filename"
(0.002902s) COMMIT
Finished applying migration 20150203081925_add_google_sign_in_to_users.rb,
direction: up, took 0.028447 seconds
Begin applying migration 20150205202100_common_data.rb, direction: up
(0.000411s) BEGIN
(0.000317s) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
(0.008966s) CREATE TABLE "external_sources" ("id" Uuid DEFAULT
uuid_generate_v4() NOT NULL PRIMARY KEY, "visualization_id" text NOT NULL
REFERENCES "visualizations", "import_url" text NOT NULL, "created_at"
timestamp DEFAULT CURRENT_TIMESTAMP, "updated_at" timestamp DEFAULT
CURRENT_TIMESTAMP, "rows_counted" integer NOT NULL, "size" integer NOT NULL,
"username" text)
(0.000860s)
ALTER TABLE "external_sources"
ADD COLUMN geometry_types text[]
(0.005146s) CREATE TABLE "external_data_imports" ("id" Uuid DEFAULT
uuid_generate_v4() NOT NULL PRIMARY KEY, "data_import_id" uuid NOT NULL
REFERENCES "data_imports", "external_source_id" uuid NOT NULL REFERENCES
"external_sources", "created_at" timestamp DEFAULT CURRENT_TIMESTAMP,
"updated_at" timestamp DEFAULT CURRENT_TIMESTAMP)
(0.000597s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150205202100_common_data.rb') RETURNING "filename"
(0.001130s) COMMIT
Finished applying migration 20150205202100_common_data.rb, direction: up,
took 0.019902 seconds
Begin applying migration 20150210100500
_add_last_password_change_date_to_users.rb, direction: up
(0.000351s) BEGIN
(0.000602s) ALTER TABLE "users" ADD COLUMN "last_password_change_date"
timestamp
(0.000303s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150210100500_add_last_password_change_date_to_users.rb') RETURNING
"filename"
(0.000612s) COMMIT
Finished applying migration 20150210100500
_add_last_password_change_date_to_users.rb, direction: up, took 0.002748
seconds
Begin applying migration 20150210154301_add_max_import_file_size_to_users.rb
, direction: up
(0.000190s) BEGIN
(0.018737s) ALTER TABLE "users" ADD COLUMN "max_import_file_size" integer
DEFAULT 157286400 NOT NULL
(0.001146s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150210154301_add_max_import_file_size_to_users.rb') RETURNING "filename"
(0.001493s) COMMIT
Finished applying migration 20150210154301_add_max_import_file_size_to_users
.rb, direction: up, took 0.022891 seconds
Begin applying migration 20150213110405
_add_max_import_table_row_count_to_users.rb, direction: up
(0.000418s) BEGIN
(0.016420s) ALTER TABLE "users" ADD COLUMN "max_import_table_row_count"
integer DEFAULT 500000 NOT NULL
(0.000468s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150213110405_add_max_import_table_row_count_to_users.rb') RETURNING
"filename"
(0.002265s) COMMIT
Finished applying migration 20150213110405
_add_max_import_table_row_count_to_users.rb, direction: up, took 0.020545
seconds
Begin applying migration 20150216111020
_add_max_concurrent_import_count_to_users.rb, direction: up
(0.000479s) BEGIN
(0.019266s) ALTER TABLE "users" ADD COLUMN "max_concurrent_import_count"
integer DEFAULT 3 NOT NULL
(0.000425s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150216111020_add_max_concurrent_import_count_to_users.rb') RETURNING
"filename"
(0.002433s) COMMIT
Finished applying migration 20150216111020
_add_max_concurrent_import_count_to_users.rb, direction: up, took 0.023500
seconds
Begin applying migration 20150219161453
_change_limit_ints_to_bigints_from_users.rb, direction: up
(0.000410s) BEGIN
(0.015144s)
ALTER TABLE users ALTER COLUMN max_import_table_row_count TYPE bigint
(0.018134s)
ALTER TABLE users ALTER COLUMN max_import_file_size TYPE bigint
(0.000505s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150219161453_change_limit_ints_to_bigints_from_users.rb') RETURNING
"filename"
(0.002842s) COMMIT
Finished applying migration 20150219161453
_change_limit_ints_to_bigints_from_users.rb, direction: up, took 0.037961
seconds
Begin applying migration 20150223213800_scrollwheeltofalse.rb, direction: up
(0.000488s) BEGIN
(0.000673s)
ALTER TABLE maps ALTER COLUMN scrollwheel SET DEFAULT false;
(0.000465s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150223213800_scrollwheeltofalse.rb') RETURNING "filename"
(0.000662s) COMMIT
Finished applying migration 20150223213800_scrollwheeltofalse.rb, direction:
up, took 0.003005 seconds
Begin applying migration 20150224135012
_add_create_visualization_to_data_imports.rb, direction: up
(0.000302s) BEGIN
(0.015205s) ALTER TABLE "data_imports" ADD COLUMN "create_visualization"
boolean DEFAULT false
(0.000846s) ALTER TABLE "data_imports" ADD COLUMN "visualization_id" uuid
DEFAULT NULL
(0.000503s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150224135012_add_create_visualization_to_data_imports.rb') RETURNING
"filename"
(0.002292s) COMMIT
Finished applying migration 20150224135012
_add_create_visualization_to_data_imports.rb, direction: up, took 0.020678
seconds
Begin applying migration 20150226105153
_add_user_defined_limits_to_data_imports.rb, direction: up
(0.000464s) BEGIN
(0.017035s) ALTER TABLE "data_imports" ADD COLUMN "user_defined_limits"
text DEFAULT '{}'
(0.000719s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150226105153_add_user_defined_limits_to_data_imports.rb') RETURNING
"filename"
(0.001637s) COMMIT
Finished applying migration 20150226105153
_add_user_defined_limits_to_data_imports.rb, direction: up, took 0.021136
seconds
Begin applying migration 20150311170544
_change_logger_default_value_from_data_imports.rb, direction: up
(0.000390s) BEGIN
(0.000528s)
ALTER TABLE data_imports ALTER COLUMN logger DROP NOT NULL
(0.000398s)
ALTER TABLE data_imports ALTER COLUMN logger DROP DEFAULT
(0.000420s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150311170544_change_logger_default_value_from_data_imports.rb')
RETURNING "filename"
(0.000815s) COMMIT
Finished applying migration 20150311170544
_change_logger_default_value_from_data_imports.rb, direction: up, took
0.003436 seconds
Begin applying migration 20150318102400_add_last_common_data_update_to_users
.rb, direction: up
(0.000309s) BEGIN
(0.000640s) ALTER TABLE "users" ADD COLUMN "last_common_data_update_date"
timestamp
(0.000846s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150318102400_add_last_common_data_update_to_users.rb') RETURNING
"filename"
(0.000678s) COMMIT
Finished applying migration 20150318102400
_add_last_common_data_update_to_users.rb, direction: up, took 0.003761
seconds
Begin applying migration 20150323161349
_add_import_extra_options_to_data_import.rb, direction: up
(0.001376s) BEGIN
(0.000595s) ALTER TABLE "data_imports" ADD COLUMN "import_extra_options"
text
(0.000473s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150323161349_add_import_extra_options_to_data_import.rb') RETURNING
"filename"
(0.000739s) COMMIT
Finished applying migration 20150323161349
_add_import_extra_options_to_data_import.rb, direction: up, took 0.004166
seconds
Begin applying migration 20150401160252_add_index_to_visualizations_parent.
rb, direction: up
(0.000286s) BEGIN
(0.003219s)
CREATE INDEX visualizations_parent_id_idx ON visualizations (parent_id
)
(0.000564s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150401160252_add_index_to_visualizations_parent.rb') RETURNING "filename"
(0.000705s) COMMIT
Finished applying migration 20150401160252
_add_index_to_visualizations_parent.rb, direction: up, took 0.005772 seconds
Begin applying migration 20150407094700_alter_visualization_id_type_uuid.rb,
direction: up
(0.000195s) BEGIN
(0.000807s) ALTER TABLE external_sources drop constraint if exists
external_sources_visualization_id_fkey;
(0.007257s) ALTER TABLE external_sources ALTER COLUMN visualization_id
TYPE uuid USING (visualization_id::uuid);
(0.016811s) ALTER TABLE visualizations ALTER COLUMN id TYPE uuid USING (id
::uuid);
(0.002104s) ALTER TABLE "external_sources" ADD FOREIGN KEY (
"visualization_id") REFERENCES "visualizations"
(0.000467s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150407094700_alter_visualization_id_type_uuid.rb') RETURNING "filename"
(0.002319s) COMMIT
Finished applying migration 20150407094700_alter_visualization_id_type_uuid.
rb, direction: up, took 0.031574 seconds
Begin applying migration 20150414093434_add_more_dashboard_indices.rb,
direction: up
(0.000447s) BEGIN
(0.003945s)
CREATE INDEX external_sources_visualization_id_idx ON
external_sources (visualization_id)
(0.005132s)
CREATE INDEX visualizations_permission_id_idx ON visualizations (
permission_id)
(0.000595s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150414093434_add_more_dashboard_indices.rb') RETURNING "filename"
(0.000828s) COMMIT
Finished applying migration 20150414093434_add_more_dashboard_indices.rb,
direction: up, took 0.011983 seconds
Begin applying migration 20150420131158_add_region_columns_to_geocodings.rb,
direction: up
(0.000264s) BEGIN
(0.000668s) ALTER TABLE "geocodings" ADD COLUMN "region_code" text
(0.000449s) ALTER TABLE "geocodings" ADD COLUMN "region_column" text
(0.000846s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150420131158_add_region_columns_to_geocodings.rb') RETURNING "filename"
(0.001053s) COMMIT
Finished applying migration 20150420131158_add_region_columns_to_geocodings.
rb, direction: up, took 0.004853 seconds
Begin applying migration 20150423103535
_add_google_maps_key_to_users_and_organizations.rb, direction: up
(0.000606s) BEGIN
(0.001528s) ALTER TABLE "organizations" ADD COLUMN "google_maps_key" text
(0.000888s) ALTER TABLE "users" ADD COLUMN "google_maps_key" text
(0.000455s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150423103535_add_google_maps_key_to_users_and_organizations.rb')
RETURNING "filename"
(0.000680s) COMMIT
Finished applying migration 20150423103535
_add_google_maps_key_to_users_and_organizations.rb, direction: up, took
0.006131 seconds
Begin applying migration 20150505103504_new_dashboard_for_everybody.rb,
direction: up
(0.000306s) BEGIN
(0.000475s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150505103504_new_dashboard_for_everybody.rb') RETURNING "filename"
(0.000792s) COMMIT
Finished applying migration 20150505103504_new_dashboard_for_everybody.rb,
direction: up, took 0.002314 seconds
Begin applying migration 20150507103715_sequence_for_automated_feature_flags
.rb, direction: up
(0.000286s) BEGIN
(0.001573s)
CREATE SEQUENCE machine_added_feature_flags_id_seq INCREMENT BY -1
START WITH -1000
OWNED BY
feature_flags.id;
(0.000450s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150507103715_sequence_for_automated_feature_flags.rb') RETURNING
"filename"
(0.001662s) COMMIT
Finished applying migration 20150507103715
_sequence_for_automated_feature_flags.rb, direction: up, took 0.004792
seconds
Begin applying migration 20150507103757_feature_flags_for_new_dashboard.rb,
direction: up
(0.000436s) BEGIN
(0.000886s)
UPDATE feature_flags SET restricted = FALSE WHERE name IN (
'new_public_dashboard','new_dashboard','new_public_dashboard_global') AND
restricted = TRUE;
(0.001986s)
INSERT INTO feature_flags (id, name, restricted)
WITH flags_to_add as (
SELECT * FROM (SELECT unnest(array['new_public_dashboard',
'new_dashboard','new_public_dashboard_global']) as name) as flag EXCEPT (SELECT
name from feature_flags)
)
SELECT nextval('machine_added_feature_flags_id_seq'), name, FALSE
FROM flags_to_add;
(0.000468s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150507103757_feature_flags_for_new_dashboard.rb') RETURNING "filename"
(0.000728s) COMMIT
Finished applying migration 20150507103757_feature_flags_for_new_dashboard.
rb, direction: up, took 0.005390 seconds
Begin applying migration 20150514141720_add_missing_default_values.rb,
direction: up
(0.000281s) BEGIN
(0.000701s) ALTER TABLE "layers" ALTER COLUMN "options" SET DEFAULT '{}'
(0.002029s) ALTER TABLE "overlays" ALTER COLUMN "options" SET DEFAULT '{}',
ALTER COLUMN "order" SET DEFAULT 0
(0.000479s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150514141720_add_missing_default_values.rb') RETURNING "filename"
(0.001328s) COMMIT
Finished applying migration 20150514141720_add_missing_default_values.rb,
direction: up, took 0.006488 seconds
Begin applying migration 20150518151555_add_geocoding_batching.rb, direction
: up
(0.000370s) BEGIN
(0.000771s) ALTER TABLE "geocodings" ADD COLUMN "batched" boolean
(0.000475s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150518151555_add_geocoding_batching.rb') RETURNING "filename"
(0.000679s) COMMIT
Finished applying migration 20150518151555_add_geocoding_batching.rb,
direction: up, took 0.003372 seconds
Begin applying migration 20150608074328_create_layers_parent_id_index.rb,
direction: up
(0.000352s) BEGIN
(0.003771s)
CREATE INDEX layers_parent_id_idx ON layers (parent_id)
(0.000965s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150608074328_create_layers_parent_id_index.rb') RETURNING "filename"
(0.000840s) COMMIT
Finished applying migration 20150608074328_create_layers_parent_id_index.rb,
direction: up, took 0.007020 seconds
Begin applying migration 20150608132000
_remove_new_dashboard_flag_from_users_and_organizations.rb, direction: up
(0.000320s) BEGIN
(0.000653s) ALTER TABLE "organizations" DROP COLUMN "new_dashboard_enabled"
(0.000720s) ALTER TABLE "users" DROP COLUMN "new_dashboard_enabled"
(0.000448s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150608132000_remove_new_dashboard_flag_from_users_and_organizations.rb')
RETURNING "filename"
(0.000704s) COMMIT
Finished applying migration 20150608132000
_remove_new_dashboard_flag_from_users_and_organizations.rb, direction: up,
took 0.003913 seconds
Begin applying migration 20150609083856
_add_google_maps_private_key_to_users_and_orgs.rb, direction: up
(0.000272s) BEGIN
(0.000595s) ALTER TABLE "organizations" ADD COLUMN "google_maps_private_key"
text DEFAULT NULL
(0.001344s) ALTER TABLE "users" ADD COLUMN "google_maps_private_key" text
DEFAULT NULL
(0.000519s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150609083856_add_google_maps_private_key_to_users_and_orgs.rb')
RETURNING "filename"
(0.000663s) COMMIT
Finished applying migration 20150609083856
_add_google_maps_private_key_to_users_and_orgs.rb, direction: up, took
0.004779 seconds
Begin applying migration 20150615094200_add_color_to_organizations.rb,
direction: up
(0.000252s) BEGIN
(0.000668s) ALTER TABLE "organizations" ADD COLUMN "color" text
(0.000980s)
update organizations set color = '#227dbd' where name = 'team';
(0.000504s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150615094200_add_color_to_organizations.rb') RETURNING "filename"
(0.001892s) COMMIT
Finished applying migration 20150615094200_add_color_to_organizations.rb,
direction: up, took 0.005448 seconds
Begin applying migration 20150616131813_add_error_code_to_geocodings.rb,
direction: up
(0.000253s) BEGIN
(0.000549s) ALTER TABLE "geocodings" ADD COLUMN "error_code" integer
(0.000452s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150616131813_add_error_code_to_geocodings.rb') RETURNING "filename"
(0.000729s) COMMIT
Finished applying migration 20150616131813_add_error_code_to_geocodings.rb,
direction: up, took 0.002943 seconds
Begin applying migration 20150619141200_organization_signup_migration.rb,
direction: up
(0.000312s) BEGIN
(0.000274s) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
(0.000517s) ALTER TABLE "organizations" ADD COLUMN "default_quota_in_bytes"
bigint
(0.008878s)
ALTER TABLE "organizations"
ADD COLUMN whitelisted_email_domains text[] NOT NULL DEFAULT ARRAY[]::
text[]
(0.000602s) ALTER TABLE "users" ADD COLUMN "enable_account_token" text
(0.007201s) CREATE TABLE "user_creations" ("id" Uuid DEFAULT
uuid_generate_v4() PRIMARY KEY, "username" text NOT NULL, "email" text NOT
NULL, "crypted_password" text NOT NULL, "salt" text NOT NULL,
"organization_id" Uuid, "google_sign_in" Boolean DEFAULT false,
"quota_in_bytes" Bigint, "state" text, "log_id" Uuid, "user_id" Uuid,
"created_at" timestamp DEFAULT CURRENT_TIMESTAMP, "updated_at" timestamp
DEFAULT CURRENT_TIMESTAMP)
(0.003168s) CREATE INDEX "user_creations_username_index" ON "user_creations"
("username")
(0.000519s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150619141200_organization_signup_migration.rb') RETURNING "filename"
(0.002393s) COMMIT
Finished applying migration 20150619141200_organization_signup_migration.rb,
direction: up, took 0.026551 seconds
Begin applying migration 20150710091458_add_force_all_rows_to_geocodings.rb,
direction: up
(0.001696s) BEGIN
(0.008945s) ALTER TABLE "geocodings" ADD COLUMN "force_all_rows" boolean
DEFAULT false
(0.001116s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150710091458_add_force_all_rows_to_geocodings.rb') RETURNING "filename"
(0.001363s) COMMIT
Finished applying migration 20150710091458_add_force_all_rows_to_geocodings.
rb, direction: up, took 0.014374 seconds
Begin applying migration 20150715133959_remove_dynamic_enable_field.rb,
direction: up
(0.000373s) BEGIN
(0.000918s) ALTER TABLE "users" DROP COLUMN "dynamic_cdn_enabled"
(0.000450s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150715133959_remove_dynamic_enable_field.rb') RETURNING "filename"
(0.000774s) COMMIT
Finished applying migration 20150715133959_remove_dynamic_enable_field.rb,
direction: up, took 0.003441 seconds
Begin applying migration 20150720093340_add_original_url_to_data_imports.rb,
direction: up
(0.000313s) BEGIN
(0.015750s) ALTER TABLE "data_imports" ADD COLUMN "original_url" text
DEFAULT ''
(0.000527s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150720093340_add_original_url_to_data_imports.rb') RETURNING "filename"
(0.002499s) COMMIT
Finished applying migration 20150720093340_add_original_url_to_data_imports.
rb, direction: up, took 0.020196 seconds
Begin applying migration 20150722102858_add_log_to_geocodings.rb, direction:
up
(0.000834s) BEGIN
(0.000855s) ALTER TABLE "geocodings" ADD COLUMN "log_id" uuid
(0.000454s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150722102858_add_log_to_geocodings.rb') RETURNING "filename"
(0.000776s) COMMIT
Finished applying migration 20150722102858_add_log_to_geocodings.rb,
direction: up, took 0.004032 seconds
Begin applying migration 20150724121847_remove_table_count_from_users.rb,
direction: up
(0.000299s) BEGIN
(0.000772s) ALTER TABLE "users" DROP COLUMN "tables_count"
(0.000418s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150724121847_remove_table_count_from_users.rb') RETURNING "filename"
(0.000704s) COMMIT
Finished applying migration 20150724121847_remove_table_count_from_users.rb,
direction: up, took 0.002997 seconds
Begin applying migration 20150727105500_add_admin_email_to_organizations.rb,
direction: up
(0.000294s) BEGIN
(0.000600s) ALTER TABLE "organizations" ADD COLUMN "admin_email" text
(0.001298s)
update organizations o set admin_email = (select email from users u
where o.owner_id =
u.id);
(0.000425s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150727105500_add_admin_email_to_organizations.rb') RETURNING "filename"
(0.000772s) COMMIT
Finished applying migration 20150727105500_add_admin_email_to_organizations.
rb, direction: up, took 0.004454 seconds
Begin applying migration 20150729102936_create_ldap_configuration.rb,
direction: up
(0.000330s) BEGIN
(0.000441s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150729102936_create_ldap_configuration.rb') RETURNING "filename"
(0.000775s) COMMIT
Finished applying migration 20150729102936_create_ldap_configuration.rb,
direction: up, took 0.002276 seconds
Begin applying migration 20150731082651_create_templates_table.rb, direction
: up
(0.000417s) BEGIN
(0.002053s) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
(0.011425s) CREATE TABLE "templates" ("id" Uuid DEFAULT uuid_generate_v4()
NOT NULL PRIMARY KEY, "source_visualization_id" Uuid NOT NULL, "title" text
NOT NULL, "description" text DEFAULT '' NOT NULL, "min_supported_version"
text DEFAULT '' NOT NULL, "max_supported_version" text DEFAULT '' NOT NULL,
"code" text DEFAULT '' NOT NULL, "organization_id" Uuid NOT NULL,
"required_tables_list" text DEFAULT '' NOT NULL, "created_at" timestamp
DEFAULT CURRENT_TIMESTAMP NOT NULL)
(0.001974s)
ALTER TABLE "templates"
ADD CONSTRAINT source_visualization_id_fkey_cascade_del
FOREIGN KEY (source_visualization_id)
REFERENCES visualizations(id)
ON DELETE CASCADE
(0.002297s)
ALTER TABLE "templates"
ADD CONSTRAINT organization_id_fkey_cascade_del
FOREIGN KEY (organization_id)
REFERENCES organizations(id)
ON DELETE CASCADE
(0.002589s)
CREATE INDEX organization_id_idx ON templates(organization_id)
(0.002833s)
CREATE INDEX source_visualization_id_idx ON templates(
source_visualization_id)
(0.000448s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150731082651_create_templates_table.rb') RETURNING "filename"
(0.000983s) COMMIT
Finished applying migration 20150731082651_create_templates_table.rb,
direction: up, took 0.027731 seconds
Begin applying migration 20150731082652
_add_default_geocoding_quota_for_users.rb, direction: up
(0.000389s) BEGIN
(0.000482s)
UPDATE users SET geocoding_quota = 0 WHERE geocoding_quota IS NULL
(0.000724s) ALTER TABLE "users" ALTER COLUMN "geocoding_quota" SET NOT NULL,
ALTER COLUMN "geocoding_quota" SET DEFAULT 0
(0.000603s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150731082652_add_default_geocoding_quota_for_users.rb') RETURNING
"filename"
(0.000834s) COMMIT
Finished applying migration 20150731082652
_add_default_geocoding_quota_for_users.rb, direction: up, took 0.004412
seconds
Begin applying migration 20150805144800_add_bbox_to_visualizations.rb,
direction: up
(0.000566s) BEGIN
(0.000476s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150805144800_add_bbox_to_visualizations.rb') RETURNING "filename"
(0.000694s) COMMIT
Finished applying migration 20150805144800_add_bbox_to_visualizations.rb,
direction: up, took 0.002515 seconds
Begin applying migration 20150811104517_new_visualizations_meta_data.rb,
direction: up
(0.000306s) BEGIN
(0.000620s) ALTER TABLE "visualizations" ADD COLUMN "attributions" text
(0.001731s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150811104517_new_visualizations_meta_data.rb') RETURNING "filename"
(0.000843s) COMMIT
Finished applying migration 20150811104517_new_visualizations_meta_data.rb,
direction: up, took 0.004462 seconds
Begin applying migration 20150811141941
_add_synchronization_id_to_external_data_imports.rb, direction: up
(0.000741s) BEGIN
(0.004520s) ALTER TABLE "external_data_imports" ADD COLUMN
"synchronization_id" text
(0.001561s)
ALTER TABLE "external_data_imports"
ADD CONSTRAINT synchronization_id_fkey
FOREIGN KEY (synchronization_id)
REFERENCES synchronizations(id)
ON DELETE CASCADE
(0.000660s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150811141941_add_synchronization_id_to_external_data_imports.rb')
RETURNING "filename"
(0.001675s) COMMIT
Finished applying migration 20150811141941
_add_synchronization_id_to_external_data_imports.rb, direction: up, took
0.010446 seconds
Begin applying migration 20150812080306_add_bbox_to_visualizations_at_import
.rb, direction: up
(0.001240s) BEGIN
(1.853302s)
CREATE EXTENSION IF NOT EXISTS "postgis"
(0.000800s)
ALTER TABLE visualizations ADD COLUMN bbox geometry;
(0.001072s)
CREATE INDEX visualizations_bbox_idx ON visualizations USING GIST (
bbox);
(0.000444s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150812080306_add_bbox_to_visualizations_at_import.rb') RETURNING
"filename"
(0.002518s) COMMIT
Finished applying migration 20150812080306
_add_bbox_to_visualizations_at_import.rb, direction: up, took 1.860369
seconds
Begin applying migration 20150812120815
_add_visualization_id_to_synchronizations.rb, direction: up
(0.000818s) BEGIN
(0.000532s) ALTER TABLE "synchronizations" ADD COLUMN "visualization_id"
uuid
(0.001562s)
ALTER TABLE "synchronizations"
ADD CONSTRAINT visualization_id_fkey
FOREIGN KEY (visualization_id)
REFERENCES visualizations(id)
ON DELETE CASCADE
(0.000467s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150812120815_add_visualization_id_to_synchronizations.rb') RETURNING
"filename"
(0.000770s) COMMIT
Finished applying migration 20150812120815
_add_visualization_id_to_synchronizations.rb, direction: up, took 0.005187
seconds
Begin applying migration 20150813102733
_add_visualization_id_index_to_synchronizations.rb, direction: up
(0.000208s) BEGIN
(0.003724s)
CREATE INDEX synchronizations_visualization_id_idx ON
synchronizations (visualization_id)
(0.001036s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150813102733_add_visualization_id_index_to_synchronizations.rb')
RETURNING "filename"
(0.000824s) COMMIT
Finished applying migration 20150813102733
_add_visualization_id_index_to_synchronizations.rb, direction: up, took
0.006855 seconds
Begin applying migration 20150814103121
_add_external_data_import_sync_id_index_and_visualizations_type_index.rb,
direction: up
(0.000349s) BEGIN
(0.002395s)
CREATE INDEX external_data_imports_synchronization_id_idx
ON external_data_imports
(synchronization_id)
(0.003019s)
CREATE INDEX visualizations_type_idx ON visualizations (type)
(0.000528s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150814103121_add_external_data_import_sync_id_index_and_visualizations_type_index.rb'
) RETURNING "filename"
(0.000824s) COMMIT
Finished applying migration 20150814103121
_add_external_data_import_sync_id_index_and_visualizations_type_index.rb,
direction: up, took 0.008059 seconds
Begin applying migration 20150814133226_add_visualizations_display_name.rb,
direction: up
(0.000218s) BEGIN
(0.000421s) ALTER TABLE "visualizations" ADD COLUMN "display_name" text
(0.000479s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150814133226_add_visualizations_display_name.rb') RETURNING "filename"
(0.000727s) COMMIT
Finished applying migration 20150814133226_add_visualizations_display_name.
rb, direction: up, took 0.002816 seconds
Begin applying migration 20150817094748
_change_modified_at_to_be_tz_at_synchronizations.rb, direction: up
(0.000337s) BEGIN
(0.009309s)
ALTER TABLE synchronizations ALTER COLUMN modified_at TYPE timestamp
with time zone
(0.000515s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150817094748_change_modified_at_to_be_tz_at_synchronizations.rb')
RETURNING "filename"
(0.001319s) COMMIT
Finished applying migration 20150817094748
_change_modified_at_to_be_tz_at_synchronizations.rb, direction: up, took
0.012282 seconds
Begin applying migration 20150817155219_add_privacy_to_data_import.rb,
direction: up
(0.000422s) BEGIN
(0.000742s) ALTER TABLE "data_imports" ADD COLUMN "privacy" integer
(0.000536s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150817155219_add_privacy_to_data_import.rb') RETURNING "filename"
(0.000716s) COMMIT
Finished applying migration 20150817155219_add_privacy_to_data_import.rb,
direction: up, took 0.003393 seconds
Begin applying migration 20150825121806_add_cartodbfy_time_to_data_imports.
rb, direction: up
(0.000457s) BEGIN
(0.014969s) ALTER TABLE "data_imports" ADD COLUMN "cartodbfy_time" float
DEFAULT 0.0
(0.000465s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150825121806_add_cartodbfy_time_to_data_imports.rb') RETURNING "filename"
(0.002507s) COMMIT
Finished applying migration 20150825121806
_add_cartodbfy_time_to_data_imports.rb, direction: up, took 0.019487 seconds
Begin applying migration 20150901074943_create_ldap_configuration.rb,
direction: up
(0.000452s) BEGIN
(0.000350s) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
(0.008457s) CREATE TABLE "ldap_configurations" ("id" Uuid DEFAULT
uuid_generate_v4() PRIMARY KEY, "organization_id" uuid NOT NULL REFERENCES
"organizations", "host" text NOT NULL, "port" integer NOT NULL, "encryption"
text, "ca_file" text, "ssl_version" text, "connection_user" text NOT NULL,
"connection_password" text NOT NULL, "user_id_field" text NOT NULL,
"username_field" text NOT NULL, "email_field" text NOT NULL, "domain_bases"
text NOT NULL, "user_object_class" text NOT NULL, "group_object_class" text
NOT NULL, "created_at" timestamp DEFAULT CURRENT_TIMESTAMP, "updated_at"
timestamp DEFAULT CURRENT_TIMESTAMP)
(0.000473s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150901074943_create_ldap_configuration.rb') RETURNING "filename"
(0.001032s) COMMIT
Finished applying migration 20150901074943_create_ldap_configuration.rb,
direction: up, took 0.012129 seconds
Begin applying migration 20150902152721_add_auth_options_to_organizations.rb
, direction: up
(0.000369s) BEGIN
(0.008374s) ALTER TABLE "organizations" ADD COLUMN
"auth_username_password_enabled" boolean DEFAULT true NOT NULL, ADD COLUMN
"auth_google_enabled" boolean DEFAULT true NOT NULL
(0.000439s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150902152721_add_auth_options_to_organizations.rb') RETURNING "filename"
(0.003082s) COMMIT
Finished applying migration 20150902152721_add_auth_options_to_organizations
.rb, direction: up, took 0.013338 seconds
Begin applying migration 20150910064152
_set_default_default_quota_to_organizations.rb, direction: up
(0.000474s) BEGIN
(0.000755s) update organizations set default_quota_in_bytes = '104857600'
where default_quota_in_bytes is null
(0.000773s) ALTER TABLE "organizations" ALTER COLUMN
"default_quota_in_bytes" SET DEFAULT 104857600, ALTER COLUMN
"default_quota_in_bytes" SET NOT NULL
(0.000834s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150910064152_set_default_default_quota_to_organizations.rb') RETURNING
"filename"
(0.001481s) COMMIT
Finished applying migration 20150910064152
_set_default_default_quota_to_organizations.rb, direction: up, took 0.005690
seconds
Begin applying migration 20150914151349
_add_location_field_to_user_and_organizations.rb, direction: up
(0.000439s) BEGIN
(0.000985s) ALTER TABLE "users" ADD COLUMN "location" text
(0.000670s) ALTER TABLE "organizations" ADD COLUMN "location" text
(0.000504s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150914151349_add_location_field_to_user_and_organizations.rb') RETURNING
"filename"
(0.000678s) COMMIT
Finished applying migration 20150914151349
_add_location_field_to_user_and_organizations.rb, direction: up, took
0.004879 seconds
Begin applying migration 20150915141325_change_synchronization_id_to_uuid.rb
, direction: up
(0.000342s) BEGIN
(0.013915s)
ALTER TABLE data_imports ALTER COLUMN synchronization_id TYPE uuid
USING synchronization_id ::uuid;
(0.000776s)
ALTER TABLE external_data_imports DROP CONSTRAINT
synchronization_id_fkey;
(0.009676s)
ALTER TABLE external_data_imports ALTER COLUMN synchronization_id
TYPE uuid USING synchronization_id ::uuid;
(0.012284s)
ALTER TABLE synchronizations ALTER COLUMN id TYPE uuid USING id ::uuid
;
(0.001563s)
ALTER TABLE external_data_imports
ADD CONSTRAINT synchronization_id_fkey FOREIGN KEY (
synchronization_id)
REFERENCES synchronizations (id) MATCH SIMPLE ON UPDATE NO ACTION
ON DELETE CASCADE;
(0.000456s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150915141325_change_synchronization_id_to_uuid.rb') RETURNING "filename"
(0.004271s) COMMIT
Finished applying migration 20150915141325_change_synchronization_id_to_uuid
.rb, direction: up, took 0.044586 seconds
Begin applying migration 20150917074433_groups.rb, direction: up
(0.000614s) BEGIN
(0.000329s) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
(0.007120s) CREATE TABLE "groups" ("id" Uuid DEFAULT uuid_generate_v4()
PRIMARY KEY, "name" text NOT NULL, "display_name" text NOT NULL,
"database_role" text NOT NULL, "organization_id" Uuid NOT NULL, "created_at"
timestamp DEFAULT CURRENT_TIMESTAMP, "updated_at" timestamp DEFAULT
CURRENT_TIMESTAMP)
(0.002105s)
ALTER TABLE "groups"
ADD CONSTRAINT groups_organization_id_fk
FOREIGN KEY (organization_id)
REFERENCES organizations(id)
ON DELETE CASCADE
(0.003625s)
ALTER TABLE "groups"
ADD CONSTRAINT groups_organization_id_name_uq
UNIQUE (organization_id, name)
(0.002704s)
ALTER TABLE "groups"
ADD CONSTRAINT groups_organization_id_display_name_uq
UNIQUE (organization_id, display_name)
(0.004381s)
ALTER TABLE "groups"
ADD CONSTRAINT groups_organization_id_database_role_uq
UNIQUE (organization_id, database_role)
(0.003883s) CREATE TABLE "users_groups" ("id" Uuid DEFAULT uuid_generate_v4
() PRIMARY KEY, "user_id" Uuid NOT NULL, "group_id" Uuid NOT NULL)
(0.002369s)
ALTER TABLE "users_groups"
ADD CONSTRAINT users_groups_user_id_fk
FOREIGN KEY (user_id)
REFERENCES users(id)
ON DELETE CASCADE
(0.001391s)
ALTER TABLE "users_groups"
ADD CONSTRAINT users_groups_group_id_fk
FOREIGN KEY (group_id)
REFERENCES groups(id)
ON DELETE CASCADE
(0.003170s)
ALTER TABLE "users_groups"
ADD CONSTRAINT users_groups_user_id_group_id_uq
UNIQUE (user_id, group_id)
(0.000560s) ALTER TABLE shared_entities DROP CONSTRAINT recipient_type_check
;
(0.000651s) ALTER TABLE shared_entities ADD CONSTRAINT recipient_type_check
CHECK (recipient_type IN ('user', 'org', 'group'));
(0.000435s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150917074433_groups.rb') RETURNING "filename"
(0.001364s) COMMIT
Finished applying migration 20150917074433_groups.rb, direction: up, took
0.038145 seconds
Begin applying migration 20150928100216_create_visualization_backups.rb,
direction: up
(0.000359s) BEGIN
(0.000233s) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
(0.003802s) CREATE TABLE "visualization_backups" ("username" text NOT NULL,
"visualization" Uuid NOT NULL, "export_vizjson" text NOT NULL, "created_at"
timestamp DEFAULT CURRENT_TIMESTAMP)
(0.000590s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150928100216_create_visualization_backups.rb') RETURNING "filename"
(0.002094s) COMMIT
Finished applying migration 20150928100216_create_visualization_backups.rb,
direction: up, took 0.008447 seconds
Begin applying migration 20150929082455_add_pk_to_visualization_backups.rb,
direction: up
(0.000441s) BEGIN
(0.004168s) ALTER TABLE visualization_backups ADD PRIMARY KEY (visualization
)
(0.000568s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150929082455_add_pk_to_visualization_backups.rb') RETURNING "filename"
(0.000734s) COMMIT
Finished applying migration 20150929082455_add_pk_to_visualization_backups.
rb, direction: up, took 0.006659 seconds
Begin applying migration 20150930105157_invitations.rb, direction: up
(0.000379s) BEGIN
(0.000406s) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
(0.006872s) CREATE TABLE "invitations" ("id" Uuid DEFAULT uuid_generate_v4()
PRIMARY KEY, "organization_id" Uuid NOT NULL, "inviter_user_id" Uuid NOT
NULL, "users_emails" text[] NULL, "used_emails" text[] NULL, "welcome_text"
text NOT NULL, "seed" text NOT NULL, "created_at" timestamp DEFAULT
CURRENT_TIMESTAMP, "updated_at" timestamp DEFAULT CURRENT_TIMESTAMP)
(0.001453s)
ALTER TABLE "invitations"
ADD CONSTRAINT invitations_organization_id_fk
FOREIGN KEY (organization_id)
REFERENCES organizations(id)
ON DELETE CASCADE
(0.001939s)
ALTER TABLE "invitations"
ADD CONSTRAINT invitations_inviter_user_id_fk
FOREIGN KEY (inviter_user_id)
REFERENCES users(id)
ON DELETE CASCADE
(0.000544s) ALTER TABLE "user_creations" ADD COLUMN "invitation_token" text
NULL
(0.000401s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20150930105157_invitations.rb') RETURNING "filename"
(0.000912s) COMMIT
Finished applying migration 20150930105157_invitations.rb, direction: up,
took 0.014635 seconds
Begin applying migration 20151002104452_remove_parent_id_from_layers.rb,
direction: up
(0.002003s) BEGIN
(0.000855s) ALTER TABLE "layers" DROP COLUMN "parent_id"
(0.000447s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20151002104452_remove_parent_id_from_layers.rb') RETURNING "filename"
(0.001294s) COMMIT
Finished applying migration 20151002104452_remove_parent_id_from_layers.rb,
direction: up, took 0.005765 seconds
Begin applying migration 20151002105834
_add_http_response_code_to_data_imports.rb, direction: up
(0.000370s) BEGIN
(0.000670s) ALTER TABLE "data_imports" ADD COLUMN "http_response_code" text
(0.000442s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20151002105834_add_http_response_code_to_data_imports.rb') RETURNING
"filename"
(0.000742s) COMMIT
Finished applying migration 20151002105834
_add_http_response_code_to_data_imports.rb, direction: up, took 0.003225
seconds
Begin applying migration 20151006120423_remove_shared_entities_numeric_pk.rb
, direction: up
(0.000337s) BEGIN
(0.000581s)
ALTER TABLE shared_entities DROP CONSTRAINT shared_entities_pkey;
(0.002796s)
ALTER TABLE shared_entities ADD PRIMARY KEY (recipient_id, entity_id
);
(0.002688s)
ALTER TABLE shared_entities DROP COLUMN id;
(0.000432s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20151006120423_remove_shared_entities_numeric_pk.rb') RETURNING "filename"
(0.001115s) COMMIT
Finished applying migration 20151006120423_remove_shared_entities_numeric_pk
.rb, direction: up, took 0.008918 seconds
Begin applying migration 20151014085055_add_rejected_layers_to_data_imports.
rb, direction: up
(0.000384s) BEGIN
(0.000694s) ALTER TABLE "data_imports" ADD COLUMN "rejected_layers" text
(0.000421s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20151014085055_add_rejected_layers_to_data_imports.rb') RETURNING
"filename"
(0.001058s) COMMIT
Finished applying migration 20151014085055
_add_rejected_layers_to_data_imports.rb, direction: up, took 0.003355
seconds
Begin applying migration 20151016130937_add_uuid_to_shared_entities.rb,
direction: up
(0.000635s) BEGIN
(0.000930s)
ALTER TABLE shared_entities DROP CONSTRAINT shared_entities_pkey;
(0.013161s)
ALTER TABLE shared_entities ADD COLUMN id uuid NOT NULL default
uuid_generate_v4();
(0.002146s)
ALTER TABLE shared_entities ADD PRIMARY KEY (id);
(0.000567s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20151016130937_add_uuid_to_shared_entities.rb') RETURNING "filename"
(0.001636s) COMMIT
Finished applying migration 20151016130937_add_uuid_to_shared_entities.rb,
direction: up, took 0.020326 seconds
Begin applying migration 20151022141441
_change_id_to_uuid_from_synchronization_oauths.rb, direction: up
(0.000441s) BEGIN
(0.011672s)
ALTER TABLE synchronization_oauths DROP COLUMN id;
ALTER TABLE synchronization_oauths ADD COLUMN id uuid NOT NULL
default uuid_generate_v4();
ALTER TABLE synchronization_oauths ADD PRIMARY KEY (id);
(0.000530s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20151022141441_change_id_to_uuid_from_synchronization_oauths.rb')
RETURNING "filename"
(0.001758s) COMMIT
Finished applying migration 20151022141441
_change_id_to_uuid_from_synchronization_oauths.rb, direction: up, took
0.015233 seconds
Begin applying migration 20151026134723_add_runner_warnings_to_data_imports.
rb, direction: up
(0.000441s) BEGIN
(0.000641s) ALTER TABLE "data_imports" ADD COLUMN "runner_warnings" text
(0.000455s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20151026134723_add_runner_warnings_to_data_imports.rb') RETURNING
"filename"
(0.000743s) COMMIT
Finished applying migration 20151026134723
_add_runner_warnings_to_data_imports.rb, direction: up, took 0.003041
seconds
Begin applying migration 20151028094000_add_country_codes_to_visualizations.
rb, direction: up
(0.000352s) BEGIN
(0.000567s)
ALTER TABLE "visualizations" ADD COLUMN country_codes text[]
(0.001106s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20151028094000_add_country_codes_to_visualizations.rb') RETURNING
"filename"
(0.000713s) COMMIT
Finished applying migration 20151028094000
_add_country_codes_to_visualizations.rb, direction: up, took 0.003439
seconds
Begin applying migration 20151028114700
_remove_country_codes_to_visualizations.rb, direction: up
(0.000280s) BEGIN
(0.000589s) ALTER TABLE "visualizations" DROP COLUMN "country_codes"
(0.000409s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20151028114700_remove_country_codes_to_visualizations.rb') RETURNING
"filename"
(0.000683s) COMMIT
Finished applying migration 20151028114700
_remove_country_codes_to_visualizations.rb, direction: up, took 0.003024
seconds
Begin applying migration 20151029102351_add_likes_uuidpk.rb, direction: up
(0.000429s) BEGIN
(0.000721s)
ALTER TABLE likes DROP CONSTRAINT likes_pkey;
(0.003665s)
ALTER TABLE likes ADD COLUMN id uuid NOT NULL default
uuid_generate_v4();
(0.002232s)
ALTER TABLE likes ADD PRIMARY KEY (id);
(0.004562s)
ALTER TABLE likes ADD CONSTRAINT actor_subject_unique UNIQUE (actor,
subject);
(0.000631s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20151029102351_add_likes_uuidpk.rb') RETURNING "filename"
(0.001286s) COMMIT
Finished applying migration 20151029102351_add_likes_uuidpk.rb, direction:
up, took 0.014992 seconds
Begin applying migration 20151118174316
_create_bi_visualizations_and_bi_datasets.rb, direction: up
(0.000534s) BEGIN
(0.000208s) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
(0.009922s) CREATE TABLE "bi_datasets" ("id" Uuid DEFAULT uuid_generate_v4()
PRIMARY KEY, "import_config" json NOT NULL, "state" text NOT NULL, "user_id"
uuid NOT NULL REFERENCES "users", "import_source" text NOT NULL,
"import_credentials" json NOT NULL, "created_at" timestamp DEFAULT
CURRENT_TIMESTAMP, "updated_at" timestamp DEFAULT CURRENT_TIMESTAMP)
(0.006958s) CREATE TABLE "bi_visualizations" ("id" Uuid DEFAULT
uuid_generate_v4() PRIMARY KEY, "viz_json" json NOT NULL, "bi_dataset_id"
uuid NOT NULL REFERENCES "bi_datasets", "created_at" timestamp DEFAULT
CURRENT_TIMESTAMP, "updated_at" timestamp DEFAULT CURRENT_TIMESTAMP)
(0.000902s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20151118174316_create_bi_visualizations_and_bi_datasets.rb') RETURNING
"filename"
(0.001404s) COMMIT
Finished applying migration 20151118174316
_create_bi_visualizations_and_bi_datasets.rb, direction: up, took 0.021889
seconds
Begin applying migration 20151127111900_invert_actor_subject_constraint.rb,
direction: up
(0.000405s) BEGIN
(0.000607s)
ALTER TABLE likes DROP CONSTRAINT IF EXISTS actor_subject_unique;
(0.002552s)
ALTER TABLE likes ADD CONSTRAINT subject_actor_unique UNIQUE (
subject, actor);
(0.000465s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20151127111900_invert_actor_subject_constraint.rb') RETURNING "filename"
(0.000901s) COMMIT
Finished applying migration 20151127111900_invert_actor_subject_constraint.
rb, direction: up, took 0.005720 seconds
Begin applying migration 20151204101429
_add_geocoding_quota_default_to_organizations.rb, direction: up
(0.000320s) BEGIN
(0.000583s) UPDATE organizations SET geocoding_quota = 0 WHERE
geocoding_quota IS NULL
(0.000693s) ALTER TABLE "organizations" ALTER COLUMN "geocoding_quota" SET
DEFAULT 0, ALTER COLUMN "geocoding_quota" SET NOT NULL
(0.000434s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20151204101429_add_geocoding_quota_default_to_organizations.rb') RETURNING
"filename"
(0.000730s) COMMIT
Finished applying migration 20151204101429
_add_geocoding_quota_default_to_organizations.rb, direction: up, took
0.003587 seconds
Begin applying migration 20151211103229_add_geocoding_type_to_geocodings.rb,
direction: up
(0.000444s) BEGIN
(0.000828s) ALTER TABLE "geocodings" ADD COLUMN "geocoder_type" text
(0.000481s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20151211103229_add_geocoding_type_to_geocodings.rb') RETURNING "filename"
(0.000782s) COMMIT
Finished applying migration 20151211103229_add_geocoding_type_to_geocodings.
rb, direction: up, took 0.003802 seconds
Begin applying migration 20151221152601
_add_soft_geocoding_limit_to_user_creation.rb, direction: up
(0.000327s) BEGIN
(0.010170s) ALTER TABLE "user_creations" ADD COLUMN "soft_geocoding_limit"
boolean DEFAULT true
(0.000778s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20151221152601_add_soft_geocoding_limit_to_user_creation.rb') RETURNING
"filename"
(0.002134s) COMMIT
Finished applying migration 20151221152601
_add_soft_geocoding_limit_to_user_creation.rb, direction: up, took 0.014589
seconds
Begin applying migration 20160108122849
_add_created_via_api_to_user_creations.rb, direction: up
(0.000476s) BEGIN
(0.012227s) ALTER TABLE "user_creations" ADD COLUMN "created_via_api"
boolean DEFAULT false NOT NULL
(0.000642s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20160108122849_add_created_via_api_to_user_creations.rb') RETURNING
"filename"
(0.001525s) COMMIT
Finished applying migration 20160108122849
_add_created_via_api_to_user_creations.rb, direction: up, took 0.016116
seconds
Begin applying migration 20160114082200_add_created_via_to_user_creations.rb
, direction: up
(0.000491s) BEGIN
(0.009623s) ALTER TABLE "user_creations" ADD COLUMN "created_via" text
DEFAULT 'org_signup' NOT NULL
(0.000764s) update user_creations set created_via = 'api' where
created_via_api = 'true'
(0.000485s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20160114082200_add_created_via_to_user_creations.rb') RETURNING "filename"
(0.002276s) COMMIT
Finished applying migration 20160114082200_add_created_via_to_user_creations
.rb, direction: up, took 0.014597 seconds
Begin applying migration 20160118144200
_remove_created_via_api_from_user_creations.rb, direction: up
(0.000672s) BEGIN
(0.000714s) ALTER TABLE "user_creations" DROP COLUMN "created_via_api"
(0.000424s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20160118144200_remove_created_via_api_from_user_creations.rb') RETURNING
"filename"
(0.000717s) COMMIT
Finished applying migration 20160118144200
_remove_created_via_api_from_user_creations.rb, direction: up, took 0.003370
seconds
Begin applying migration 20160120094316_create_widgets.rb, direction: up
(0.000246s) BEGIN
(0.000247s) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
(0.007141s) CREATE TABLE "widgets" ("id" Uuid DEFAULT uuid_generate_v4()
PRIMARY KEY, "layer_id" uuid NOT NULL REFERENCES "layers" ON DELETE CASCADE,
"order" integer NOT NULL, "type" text NOT NULL, "title" text, "options"
json NOT NULL, "created_at" timestamp DEFAULT CURRENT_TIMESTAMP,
"updated_at" timestamp DEFAULT CURRENT_TIMESTAMP)
(0.000466s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20160120094316_create_widgets.rb') RETURNING "filename"
(0.006902s) COMMIT
Finished applying migration 20160120094316_create_widgets.rb, direction: up,
took 0.016283 seconds
Begin applying migration 20160212170700
_add_routing_quota_and_block_price_fields.rb, direction: up
(0.000445s) BEGIN
(0.015596s) ALTER TABLE "users" ADD COLUMN "here_isolines_quota" integer
DEFAULT 0 NOT NULL
(0.000668s) ALTER TABLE "users" ADD COLUMN "here_isolines_block_price"
integer
(0.000570s) ALTER TABLE "users" ADD COLUMN "soft_here_isolines_limit"
boolean
(0.008730s) ALTER TABLE "organizations" ADD COLUMN "here_isolines_quota"
integer DEFAULT 0 NOT NULL
(0.000495s) ALTER TABLE "organizations" ADD COLUMN
"here_isolines_block_price" integer
(0.000343s) ALTER TABLE "user_creations" ADD COLUMN
"soft_here_isolines_limit" boolean
(0.000633s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20160212170700_add_routing_quota_and_block_price_fields.rb') RETURNING
"filename"
(0.002619s) COMMIT
Finished applying migration 20160212170700
_add_routing_quota_and_block_price_fields.rb, direction: up, took 0.032239
seconds
Begin applying migration 20160307094600_analysis.rb, direction: up
(0.000885s) BEGIN
(0.008067s) CREATE TABLE "analyses" ("id" Uuid DEFAULT uuid_generate_v4()
PRIMARY KEY, "visualization_id" uuid NOT NULL REFERENCES "visualizations"
ON DELETE CASCADE, "user_id" uuid NOT NULL REFERENCES "users" ON DELETE
CASCADE, "params" json NOT NULL, "created_at" timestamp DEFAULT
CURRENT_TIMESTAMP, "updated_at" timestamp DEFAULT CURRENT_TIMESTAMP)
(0.003049s) CREATE INDEX "analyses_visualization_id_index" ON "analyses" (
"visualization_id")
(0.002767s)
create index analysis_params_id on analyses ((params->>'id'))
(0.000775s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20160307094600_analysis.rb') RETURNING "filename"
(0.001706s) COMMIT
Finished applying migration 20160307094600_analysis.rb, direction: up, took
0.019267 seconds
Begin applying migration 20160309173100_analysis_params_to_analysis.rb,
direction: up
(0.000534s) BEGIN
(0.000537s) ALTER TABLE "analyses" RENAME COLUMN "params" TO
"analysis_definition"
(0.000443s)
alter index analysis_params_id rename to analyses_analisis_id
(0.000524s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20160309173100_analysis_params_to_analysis.rb') RETURNING "filename"
(0.000724s) COMMIT
Finished applying migration 20160309173100_analysis_params_to_analysis.rb,
direction: up, took 0.003570 seconds
Begin applying migration 20160310163800_user_creation_soft_limits.rb,
direction: up
(0.000335s) BEGIN
(0.010684s) ALTER TABLE "user_creations" ADD COLUMN
"soft_twitter_datasource_limit" boolean DEFAULT false NOT NULL
(0.000544s) ALTER TABLE user_creations ALTER COLUMN soft_geocoding_limit set
default false;
(0.000387s) ALTER TABLE user_creations ALTER COLUMN soft_geocoding_limit set
not null;
(0.000414s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20160310163800_user_creation_soft_limits.rb') RETURNING "filename"
(0.001362s) COMMIT
Finished applying migration 20160310163800_user_creation_soft_limits.rb,
direction: up, took 0.014970 seconds
Begin applying migration 20160318114518
_add_strong_passwords_enabled_to_organizations.rb, direction: up
(0.000453s) BEGIN
(0.008321s) ALTER TABLE "organizations" ADD COLUMN
"strong_passwords_enabled" boolean DEFAULT false NOT NULL
(0.000612s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20160318114518_add_strong_passwords_enabled_to_organizations.rb')
RETURNING "filename"
(0.002375s) COMMIT
Finished applying migration 20160318114518
_add_strong_passwords_enabled_to_organizations.rb, direction: up, took
0.013235 seconds
Begin applying migration 20160321102600_add_pid_field_to_geocodings.rb,
direction: up
(0.000585s) BEGIN
(0.000650s) ALTER TABLE "geocodings" ADD COLUMN "pid" text
(0.000481s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20160321102600_add_pid_field_to_geocodings.rb') RETURNING "filename"
(0.000759s) COMMIT
Finished applying migration 20160321102600_add_pid_field_to_geocodings.rb,
direction: up, took 0.003234 seconds
Begin applying migration 20160322165836
_add_not_null_constraint_to_layers_kind.rb, direction: up
(0.000368s) BEGIN
(0.000654s) UPDATE layers SET kind = 'carto' WHERE kind IS NULL;
(0.000446s) ALTER TABLE "layers" ALTER COLUMN "kind" SET NOT NULL
(0.000418s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20160322165836_add_not_null_constraint_to_layers_kind.rb') RETURNING
"filename"
(0.000618s) COMMIT
Finished applying migration 20160322165836
_add_not_null_constraint_to_layers_kind.rb, direction: up, took 0.003356
seconds
Begin applying migration 20160329121128
_add_permission_id_fk_to_visualization.rb, direction: up
(0.000338s) BEGIN
(1.6ms) SELECT COUNT(*) FROM "visualizations"
(0.001993s) ALTER TABLE "visualizations" ALTER COLUMN "permission_id" SET
NOT NULL, ADD FOREIGN KEY ("permission_id") REFERENCES "permissions"
(0.000445s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20160329121128_add_permission_id_fk_to_visualization.rb') RETURNING
"filename"
(0.000792s) COMMIT
Finished applying migration 20160329121128
_add_permission_id_fk_to_visualization.rb, direction: up, took 0.039217
seconds
Begin applying migration 20160407150453_drop_permission_entity_fields.rb,
direction: up
(0.000331s) BEGIN
(0.000714s) ALTER TABLE "permissions" DROP COLUMN "entity_id", DROP COLUMN
"entity_type"
(0.000443s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20160407150453_drop_permission_entity_fields.rb') RETURNING "filename"
(0.000987s) COMMIT
Finished applying migration 20160407150453_drop_permission_entity_fields.rb,
direction: up, took 0.003468 seconds
Begin applying migration 20160412144305
_add_unique_constraint_to_permission_id.rb, direction: up
(0.000342s) BEGIN
(0.003310s) ALTER TABLE "visualizations" ADD UNIQUE ("permission_id")
(0.000398s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20160412144305_add_unique_constraint_to_permission_id.rb') RETURNING
"filename"
(0.000520s) COMMIT
Finished applying migration 20160412144305
_add_unique_constraint_to_permission_id.rb, direction: up, took 0.005429
seconds
Begin applying migration 20160418142809_drop_url_options_from_visualizations
.rb, direction: up
(0.000166s) BEGIN
(0.000653s) ALTER TABLE "visualizations" DROP COLUMN "url_options"
(0.000404s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20160418142809_drop_url_options_from_visualizations.rb') RETURNING
"filename"
(0.000870s) COMMIT
Finished applying migration 20160418142809
_drop_url_options_from_visualizations.rb, direction: up, took 0.003361
seconds
Begin applying migration 20160420182800_add_data_observatory_fields.rb,
direction: up
(0.000312s) BEGIN
(0.015376s) ALTER TABLE "users" ADD COLUMN "obs_snapshot_quota" integer
DEFAULT 0 NOT NULL
(0.000821s) ALTER TABLE "users" ADD COLUMN "obs_snapshot_block_price"
integer
(0.000720s) ALTER TABLE "users" ADD COLUMN "soft_obs_snapshot_limit" boolean
(0.009455s) ALTER TABLE "organizations" ADD COLUMN "obs_snapshot_quota"
integer DEFAULT 0 NOT NULL
(0.000538s) ALTER TABLE "organizations" ADD COLUMN
"obs_snapshot_block_price" integer
(0.000479s) ALTER TABLE "user_creations" ADD COLUMN
"soft_obs_snapshot_limit" boolean
(0.000466s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20160420182800_add_data_observatory_fields.rb') RETURNING "filename"
(0.002133s) COMMIT
Finished applying migration 20160420182800_add_data_observatory_fields.rb,
direction: up, took 0.033167 seconds
Begin applying migration 20160425083000_widgets_source_id.rb, direction: up
(0.000575s) BEGIN
(0.001025s) ALTER TABLE "widgets" ADD COLUMN "source_id" text
(0.000619s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20160425083000_widgets_source_id.rb') RETURNING "filename"
(0.000698s) COMMIT
Finished applying migration 20160425083000_widgets_source_id.rb, direction:
up, took 0.004124 seconds
Begin applying migration 20160429180000_visualization_exports.rb, direction:
up
(0.000263s) BEGIN
(0.006589s) CREATE TABLE "visualization_exports" ("id" Uuid DEFAULT
uuid_generate_v4() PRIMARY KEY, "visualization_id" uuid NOT NULL, "user_id"
uuid NOT NULL, "user_tables_ids" text, "state" text DEFAULT 'pending' NOT
NULL, "file" text, "url" text, "log_id" uuid NULL, "created_at" timestamp
DEFAULT CURRENT_TIMESTAMP, "updated_at" timestamp DEFAULT CURRENT_TIMESTAMP)
(0.000891s)
ALTER TABLE visualization_exports
ADD CONSTRAINT visualization_exports_visualization_id_fkey FOREIGN
KEY (visualization_id)
REFERENCES visualizations (id) ON DELETE CASCADE NOT VALID;
(0.001846s)
ALTER TABLE visualization_exports
ADD CONSTRAINT visualization_exports_user_id_fkey FOREIGN KEY (
user_id)
REFERENCES users (id) ON DELETE CASCADE;
(0.001370s)
ALTER TABLE visualization_exports
ADD CONSTRAINT visualization_exports_log_id_fkey FOREIGN KEY (log_id
)
REFERENCES logs (id) ON DELETE CASCADE;
(0.000480s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20160429180000_visualization_exports.rb') RETURNING "filename"
(0.001516s) COMMIT
Finished applying migration 20160429180000_visualization_exports.rb,
direction: up, took 0.014604 seconds
Begin applying migration 20160506152932_add_mobile_sdk_features_to_user.rb,
direction: up
(0.000456s) BEGIN
(0.018235s) ALTER TABLE "users" ADD COLUMN "mobile_xamarin" boolean DEFAULT
false NOT NULL, ADD COLUMN "mobile_custom_watermark" boolean DEFAULT false
NOT NULL, ADD COLUMN "mobile_offline_maps" boolean DEFAULT false NOT NULL,
ADD COLUMN "mobile_gis_extension" boolean DEFAULT false NOT NULL, ADD
COLUMN "mobile_max_open_users" integer DEFAULT 0 NOT NULL, ADD COLUMN
"mobile_max_private_users" integer DEFAULT 0 NOT NULL
(0.000427s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20160506152932_add_mobile_sdk_features_to_user.rb') RETURNING "filename"
(0.002139s) COMMIT
Finished applying migration 20160506152932_add_mobile_sdk_features_to_user.
rb, direction: up, took 0.022322 seconds
Begin applying migration 20160512103225_add_observatory_general_fields.rb,
direction: up
(0.000545s) BEGIN
(0.016162s) ALTER TABLE "users" ADD COLUMN "obs_general_quota" integer
DEFAULT 0 NOT NULL
(0.000880s) ALTER TABLE "users" ADD COLUMN "obs_general_block_price" integer
(0.000714s) ALTER TABLE "users" ADD COLUMN "soft_obs_general_limit" boolean
(0.008676s) ALTER TABLE "organizations" ADD COLUMN "obs_general_quota"
integer DEFAULT 0 NOT NULL
(0.001931s) ALTER TABLE "organizations" ADD COLUMN "obs_general_block_price"
integer
(0.000812s) ALTER TABLE "user_creations" ADD COLUMN "soft_obs_general_limit"
boolean
(0.000545s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20160512103225_add_observatory_general_fields.rb') RETURNING "filename"
(0.002733s) COMMIT
Finished applying migration 20160512103225_add_observatory_general_fields.rb
, direction: up, took 0.035797 seconds
Begin applying migration 20160516103200
_drop_visualization_exports_user_id_null_constraint.rb, direction: up
(0.000637s) BEGIN
(0.000502s)
ALTER TABLE visualization_exports alter column user_id drop not null;
(0.000407s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20160516103200_drop_visualization_exports_user_id_null_constraint.rb')
RETURNING "filename"
(0.000620s) COMMIT
Finished applying migration 20160516103200
_drop_visualization_exports_user_id_null_constraint.rb, direction: up, took
0.002961 seconds
Begin applying migration 20160608165132_add_viewer_to_users.rb, direction:
up
(0.000304s) BEGIN
(0.019880s) ALTER TABLE "users" ADD COLUMN "viewer" boolean DEFAULT false
NOT NULL
(0.000354s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20160608165132_add_viewer_to_users.rb') RETURNING "filename"
(0.002078s) COMMIT
Finished applying migration 20160608165132_add_viewer_to_users.rb, direction
: up, took 0.023620 seconds
Begin applying migration 20160616122125_add_salesforce_connector.rb,
direction: up
(0.000582s) BEGIN
(0.022321s) ALTER TABLE "users" ADD COLUMN "salesforce_datasource_enabled"
boolean DEFAULT false NOT NULL
(0.008343s) ALTER TABLE "organizations" ADD COLUMN
"salesforce_datasource_enabled" boolean DEFAULT false NOT NULL
(0.000495s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20160616122125_add_salesforce_connector.rb') RETURNING "filename"
(0.003135s) COMMIT
Finished applying migration 20160616122125_add_salesforce_connector.rb,
direction: up, took 0.036349 seconds
Begin applying migration 20160622115500_add_viewer_quota_to_organizations.rb
, direction: up
(0.000700s) BEGIN
(0.008685s) ALTER TABLE "organizations" ADD COLUMN "viewer_seats" integer
DEFAULT 0 NOT NULL
(0.000847s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20160622115500_add_viewer_quota_to_organizations.rb') RETURNING "filename"
(0.002109s) COMMIT
Finished applying migration 20160622115500_add_viewer_quota_to_organizations
.rb, direction: up, took 0.013307 seconds
Begin applying migration 20160622141618_add_index_to_widgets_layer_id.rb,
direction: up
(0.000560s) BEGIN
(0.003242s) CREATE INDEX "widgets_layer_id_index" ON "widgets" ("layer_id")
(0.000559s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20160622141618_add_index_to_widgets_layer_id.rb') RETURNING "filename"
(0.000740s) COMMIT
Finished applying migration 20160622141618_add_index_to_widgets_layer_id.rb,
direction: up, took 0.006023 seconds
Begin applying migration 20160624101145_add_builder_enabled_to_users.rb,
direction: up
(0.000308s) BEGIN
(0.016792s) ALTER TABLE "users" ADD COLUMN "builder_enabled" boolean
DEFAULT true NULL
(0.000451s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20160624101145_add_builder_enabled_to_users.rb') RETURNING "filename"
(0.002669s) COMMIT
Finished applying migration 20160624101145_add_builder_enabled_to_users.rb,
direction: up, took 0.021247 seconds
Begin applying migration 20160628105307_create_mapcaps.rb, direction: up
(0.000595s) BEGIN
(0.007374s) CREATE TABLE "mapcaps" ("visualization_id" uuid NOT NULL
REFERENCES "visualizations" ON DELETE CASCADE, "id" Uuid DEFAULT
uuid_generate_v4() PRIMARY KEY, "export_json" json NOT NULL, "ids_json"
json NOT NULL, "created_at" timestamp DEFAULT CURRENT_TIMESTAMP)
(0.003899s) CREATE INDEX "mapcaps_visualization_id_index" ON "mapcaps" (
"visualization_id")
(0.000526s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20160628105307_create_mapcaps.rb') RETURNING "filename"
(0.000903s) COMMIT
Finished applying migration 20160628105307_create_mapcaps.rb, direction: up,
took 0.014614 seconds
Begin applying migration 20160629133441
_drop_arcgis_datasource_enabled_from_users.rb, direction: up
(0.000393s) BEGIN
(0.000700s) ALTER TABLE "users" DROP COLUMN "arcgis_datasource_enabled"
(0.000417s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20160629133441_drop_arcgis_datasource_enabled_from_users.rb') RETURNING
"filename"
(0.000781s) COMMIT
Finished applying migration 20160629133441
_drop_arcgis_datasource_enabled_from_users.rb, direction: up, took 0.003079
seconds
Begin applying migration 20160701125000_add_viewer_to_invitations.rb,
direction: up
(0.000339s) BEGIN
(0.007344s) ALTER TABLE "invitations" ADD COLUMN "viewer" boolean DEFAULT
false NOT NULL
(0.000477s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20160701125000_add_viewer_to_invitations.rb') RETURNING "filename"
(0.001266s) COMMIT
Finished applying migration 20160701125000_add_viewer_to_invitations.rb,
direction: up, took 0.010365 seconds
Begin applying migration 20160718095625_change_user_max_layers_default.rb,
direction: up
(0.000274s) BEGIN
(0.001089s) ALTER TABLE "users" ALTER COLUMN "max_layers" SET DEFAULT 8
(0.000414s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20160718095625_change_user_max_layers_default.rb') RETURNING "filename"
(0.000651s) COMMIT
Finished applying migration 20160718095625_change_user_max_layers_default.rb
, direction: up, took 0.003514 seconds
Begin applying migration 20160718154742_create_user_migration_exports.rb,
direction: up
(0.000370s) BEGIN
(0.010910s) CREATE TABLE "user_migration_exports" ("id" Uuid DEFAULT
uuid_generate_v4() PRIMARY KEY, "state" text NOT NULL, "exported_file" text
NULL, "json_file" text NULL, "created_at" timestamp DEFAULT
CURRENT_TIMESTAMP, "updated_at" timestamp DEFAULT CURRENT_TIMESTAMP,
"user_id" uuid NULL REFERENCES "users" ON DELETE CASCADE, "organization_id"
uuid NULL REFERENCES "organizations" ON DELETE CASCADE, "log_id" uuid NOT
NULL REFERENCES "logs")
(0.008975s) CREATE TABLE "user_migration_imports" ("id" Uuid DEFAULT
uuid_generate_v4() PRIMARY KEY, "state" text NOT NULL, "exported_file" text
NOT NULL, "json_file" text NOT NULL, "database_host" text NOT NULL,
"org_import" Boolean NOT NULL, "created_at" timestamp DEFAULT
CURRENT_TIMESTAMP, "updated_at" timestamp DEFAULT CURRENT_TIMESTAMP,
"user_id" uuid NULL REFERENCES "users" ON DELETE CASCADE, "organization_id"
uuid NULL REFERENCES "organizations" ON DELETE CASCADE, "log_id" uuid NOT
NULL REFERENCES "logs")
(0.000481s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20160718154742_create_user_migration_exports.rb') RETURNING "filename"
(0.001885s) COMMIT
Finished applying migration 20160718154742_create_user_migration_exports.rb,
direction: up, took 0.024892 seconds
Begin applying migration 20160720152600_add_service_providers.rb, direction:
up
(0.002801s) BEGIN
(0.001116s) ALTER TABLE "users" ADD COLUMN "geocoder_provider" text, ADD
COLUMN "isolines_provider" text, ADD COLUMN "routing_provider" text
(0.000916s) ALTER TABLE "organizations" ADD COLUMN "geocoder_provider" text,
ADD COLUMN "isolines_provider" text, ADD COLUMN "routing_provider" text
(0.000366s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20160720152600_add_service_providers.rb') RETURNING "filename"
(0.001060s) COMMIT
Finished applying migration 20160720152600_add_service_providers.rb,
direction: up, took 0.007586 seconds
Begin applying migration 20160802075029_create_user_notifications.rb,
direction: up
(0.000567s) BEGIN
(0.010220s) CREATE TABLE "user_notifications" ("user_id" uuid NOT NULL
PRIMARY KEY REFERENCES "users" ON DELETE CASCADE, "notifications" json
DEFAULT '{}' NOT NULL)
(0.000532s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20160802075029_create_user_notifications.rb') RETURNING "filename"
(0.000937s) COMMIT
Finished applying migration 20160802075029_create_user_notifications.rb,
direction: up, took 0.013330 seconds
Begin applying migration 20160803125905_add_auth_token_to_groups.rb,
direction: up
(0.000379s) BEGIN
(0.000558s) ALTER TABLE "groups" ADD COLUMN "auth_token" text
(0.000475s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20160803125905_add_auth_token_to_groups.rb') RETURNING "filename"
(0.000686s) COMMIT
Finished applying migration 20160803125905_add_auth_token_to_groups.rb,
direction: up, took 0.002800 seconds
Begin applying migration 20160808114840_add_auth_token_to_visualization.rb,
direction: up
(0.000302s) BEGIN
(0.000534s) ALTER TABLE "visualizations" ADD COLUMN "auth_token" text
(0.000416s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20160808114840_add_auth_token_to_visualization.rb') RETURNING "filename"
(0.000682s) COMMIT
Finished applying migration 20160808114840_add_auth_token_to_visualization.
rb, direction: up, took 0.002772 seconds
Begin applying migration 20160808114841_create_states.rb, direction: up
(0.000312s) BEGIN
(0.010124s) CREATE TABLE "states" ("id" Uuid DEFAULT uuid_generate_v4()
PRIMARY KEY, "created_at" timestamp DEFAULT CURRENT_TIMESTAMP, "updated_at"
timestamp DEFAULT CURRENT_TIMESTAMP, "json" json DEFAULT '{}' NOT NULL,
"user_id" uuid NOT NULL REFERENCES "users" ON DELETE CASCADE,
"visualization_id" uuid NOT NULL REFERENCES "visualizations" ON DELETE
CASCADE)
(0.003177s) CREATE INDEX "states_visualization_id_user_id_index" ON "states"
("visualization_id", "user_id")
(0.000522s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20160808114841_create_states.rb') RETURNING "filename"
(0.000992s) COMMIT
Finished applying migration 20160808114841_create_states.rb, direction: up,
took 0.016662 seconds
Begin applying migration 20160808114842_add_state_id_to_visualizations.rb,
direction: up
(0.000369s) BEGIN
(0.001139s) ALTER TABLE "visualizations" ADD COLUMN "state_id" uuid NULL
REFERENCES "states"
(0.000477s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20160808114842_add_state_id_to_visualizations.rb') RETURNING "filename"
(0.001661s) COMMIT
Finished applying migration 20160808114842_add_state_id_to_visualizations.rb
, direction: up, took 0.004549 seconds
Begin applying migration 20160819090641_add_github_user_id_to_users.rb,
direction: up
(0.001319s) BEGIN
(0.000712s) ALTER TABLE "users" ADD COLUMN "github_user_id" bigint
(0.003091s) CREATE INDEX "users_github_user_id_index" ON "users" (
"github_user_id")
(0.000473s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20160819090641_add_github_user_id_to_users.rb') RETURNING "filename"
(0.001371s) COMMIT
Finished applying migration 20160819090641_add_github_user_id_to_users.rb,
direction: up, took 0.008408 seconds
Begin applying migration 20160819121416_add_github_auth_to_organizations.rb,
direction: up
(0.000460s) BEGIN
(0.008023s) ALTER TABLE "organizations" ADD COLUMN "auth_github_enabled"
boolean DEFAULT false NOT NULL
(0.000556s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20160819121416_add_github_auth_to_organizations.rb') RETURNING "filename"
(0.001528s) COMMIT
Finished applying migration 20160819121416_add_github_auth_to_organizations.
rb, direction: up, took 0.012329 seconds
Begin applying migration 20160822093606_add_github_user_id_to_user_creations
.rb, direction: up
(0.000616s) BEGIN
(0.000540s) ALTER TABLE "user_creations" ADD COLUMN "github_user_id" bigint
(0.000924s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20160822093606_add_github_user_id_to_user_creations.rb') RETURNING
"filename"
(0.001087s) COMMIT
Finished applying migration 20160822093606
_add_github_user_id_to_user_creations.rb, direction: up, took 0.004924
seconds
Begin applying migration 20160824084904_add_state_id_index_to_visualizations
.rb, direction: up
(0.005281s)
CREATE INDEX CONCURRENTLY "visualizations_state_id_index" ON
"visualizations" ("state_id");
(0.000910s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20160824084904_add_state_id_index_to_visualizations.rb') RETURNING
"filename"
Finished applying migration 20160824084904
_add_state_id_index_to_visualizations.rb, direction: up, took 0.006901
seconds
Begin applying migration 20160916073130
_add_additional_search_filter_to_ldap_configurations.rb, direction: up
(0.000298s) BEGIN
(0.000547s) ALTER TABLE "ldap_configurations" ADD COLUMN
"additional_search_filter" text
(0.000424s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20160916073130_add_additional_search_filter_to_ldap_configurations.rb')
RETURNING "filename"
(0.000742s) COMMIT
Finished applying migration 20160916073130
_add_additional_search_filter_to_ldap_configurations.rb, direction: up,
took 0.002992 seconds
Begin applying migration 20160916073131_create_legends.rb, direction: up
(0.000303s) BEGIN
(0.006851s) CREATE TABLE "legends" ("id" Uuid DEFAULT uuid_generate_v4()
PRIMARY KEY, "created_at" timestamp DEFAULT CURRENT_TIMESTAMP, "updated_at"
timestamp DEFAULT CURRENT_TIMESTAMP, "layer_id" uuid NOT NULL, "title" text,
"pre_html" text, "post_html" text, "type" text NOT NULL, "definition" json
NOT NULL)
(0.000463s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20160916073131_create_legends.rb') RETURNING "filename"
(0.001863s) COMMIT
Finished applying migration 20160916073131_create_legends.rb, direction: up,
took 0.010741 seconds
Begin applying migration 20160916131013
_create_connector_providers_configurations.rb, direction: up
(0.000319s) BEGIN
(0.008035s) CREATE TABLE "connector_providers" ("id" Uuid DEFAULT
uuid_generate_v4() PRIMARY KEY, "created_at" timestamp DEFAULT
CURRENT_TIMESTAMP, "updated_at" timestamp DEFAULT CURRENT_TIMESTAMP, "name"
text NOT NULL)
(0.002611s) CREATE INDEX "connector_providers_name_index" ON
"connector_providers" ("name")
(0.005978s) CREATE TABLE "connector_configurations" ("id" Uuid DEFAULT
uuid_generate_v4() PRIMARY KEY, "created_at" timestamp DEFAULT
CURRENT_TIMESTAMP, "updated_at" timestamp DEFAULT CURRENT_TIMESTAMP,
"enabled" Boolean NOT NULL, "max_rows" integer NULL, "user_id" uuid NULL
REFERENCES "users" ON DELETE CASCADE, "organization_id" uuid NULL
REFERENCES "organizations" ON DELETE CASCADE, "connector_provider_id" uuid
NOT NULL REFERENCES "connector_providers" ON DELETE RESTRICT)
(0.004131s) CREATE INDEX "connector_configurations_user_id_index" ON
"connector_configurations" ("user_id")
(0.002701s) CREATE INDEX "connector_configurations_organization_id_index"
ON "connector_configurations" ("organization_id")
(0.003465s) CREATE INDEX
"connector_configurations_connector_provider_id_index" ON
"connector_configurations" ("connector_provider_id")
(0.000529s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20160916131013_create_connector_providers_configurations.rb') RETURNING
"filename"
(0.001068s) COMMIT
Finished applying migration 20160916131013
_create_connector_providers_configurations.rb, direction: up, took 0.031988
seconds
Begin applying migration 20160920104742
_drop_log_id_fk_from_migration_exports.rb, direction: up
(0.000451s) BEGIN
(0.000852s) ALTER TABLE "user_migration_exports" DROP CONSTRAINT
"user_migration_exports_log_id_fkey"
(0.000658s) ALTER TABLE "user_migration_imports" DROP CONSTRAINT
"user_migration_imports_log_id_fkey"
(0.000448s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20160920104742_drop_log_id_fk_from_migration_exports.rb') RETURNING
"filename"
(0.001985s) COMMIT
Finished applying migration 20160920104742
_drop_log_id_fk_from_migration_exports.rb, direction: up, took 0.005524
seconds
Begin applying migration 20160926140426_add_viewer_to_user_creations.rb,
direction: up
(0.000342s) BEGIN
(0.009956s) ALTER TABLE "user_creations" ADD COLUMN "viewer" boolean
DEFAULT false NOT NULL
(0.000436s) INSERT INTO "schema_migrations" ("filename") VALUES (
'20160926140426_add_viewer_to_user_creations.rb') RETURNING "filename"
(0.002032s) COMMIT
Finished applying migration 20160926140426_add_viewer_to_user_creations.rb,
direction: up, took 0.013757 seconds
and after that if write
RAILS_ENV=development bundle exec rake cartodb:db:setup_user
it give me
(0.000622s) SET standard_conforming_strings = ON
(0.000337s) SET client_min_messages = 'WARNING'
(0.000360s) SET DateStyle = 'ISO'
(0.009907s) SELECT "pg_attribute"."attname" AS "name", CAST("pg_attribute".
"atttypid" AS integer) AS "oid", format_type("pg_type"."oid", "pg_attribute"
."atttypmod") AS "db_type", pg_get_expr("pg_attrdef"."adbin", "pg_class".
"oid") AS "default", NOT "pg_attribute"."attnotnull" AS "allow_null",
COALESCE(("pg_attribute"."attnum" = ANY("pg_index"."indkey")), false) AS
"primary_key", "pg_namespace"."nspname" FROM "pg_class" INNER JOIN
"pg_attribute" ON ("pg_attribute"."attrelid" = "pg_class"."oid") INNER JOIN
"pg_type" ON ("pg_type"."oid" = "pg_attribute"."atttypid") INNER JOIN
"pg_namespace" ON ("pg_namespace"."oid" = "pg_class"."relnamespace") LEFT
OUTER JOIN "pg_attrdef" ON (("pg_attrdef"."adrelid" = "pg_class"."oid") AND
("pg_attrdef"."adnum" = "pg_attribute"."attnum")) LEFT OUTER JOIN "pg_index"
ON (("pg_index"."indrelid" = "pg_class"."oid") AND ("pg_index".
"indisprimary" IS TRUE)) WHERE (("pg_attribute"."attisdropped" IS FALSE)
AND ("pg_attribute"."attnum" > 0) AND ("pg_class"."relname" =
'external_sources') AND ("pg_namespace"."nspname" !~*
'pg_*|information_schema')) ORDER BY "pg_attribute"."attnum"
(0.006241s) SELECT "pg_attribute"."attname" AS "name", CAST("pg_attribute".
"atttypid" AS integer) AS "oid", format_type("pg_type"."oid", "pg_attribute"
."atttypmod") AS "db_type", pg_get_expr("pg_attrdef"."adbin", "pg_class".
"oid") AS "default", NOT "pg_attribute"."attnotnull" AS "allow_null",
COALESCE(("pg_attribute"."attnum" = ANY("pg_index"."indkey")), false) AS
"primary_key", "pg_namespace"."nspname" FROM "pg_class" INNER JOIN
"pg_attribute" ON ("pg_attribute"."attrelid" = "pg_class"."oid") INNER JOIN
"pg_type" ON ("pg_type"."oid" = "pg_attribute"."atttypid") INNER JOIN
"pg_namespace" ON ("pg_namespace"."oid" = "pg_class"."relnamespace") LEFT
OUTER JOIN "pg_attrdef" ON (("pg_attrdef"."adrelid" = "pg_class"."oid") AND
("pg_attrdef"."adnum" = "pg_attribute"."attnum")) LEFT OUTER JOIN "pg_index"
ON (("pg_index"."indrelid" = "pg_class"."oid") AND ("pg_index".
"indisprimary" IS TRUE)) WHERE (("pg_attribute"."attisdropped" IS FALSE)
AND ("pg_attribute"."attnum" > 0) AND ("pg_class"."relname" =
'shared_entities') AND ("pg_namespace"."nspname" !~*
'pg_*|information_schema')) ORDER BY "pg_attribute"."attnum"
(0.004303s) SELECT "pg_attribute"."attname" AS "name", CAST("pg_attribute".
"atttypid" AS integer) AS "oid", format_type("pg_type"."oid", "pg_attribute"
."atttypmod") AS "db_type", pg_get_expr("pg_attrdef"."adbin", "pg_class".
"oid") AS "default", NOT "pg_attribute"."attnotnull" AS "allow_null",
COALESCE(("pg_attribute"."attnum" = ANY("pg_index"."indkey")), false) AS
"primary_key", "pg_namespace"."nspname" FROM "pg_class" INNER JOIN
"pg_attribute" ON ("pg_attribute"."attrelid" = "pg_class"."oid") INNER JOIN
"pg_type" ON ("pg_type"."oid" = "pg_attribute"."atttypid") INNER JOIN
"pg_namespace" ON ("pg_namespace"."oid" = "pg_class"."relnamespace") LEFT
OUTER JOIN "pg_attrdef" ON (("pg_attrdef"."adrelid" = "pg_class"."oid") AND
("pg_attrdef"."adnum" = "pg_attribute"."attnum")) LEFT OUTER JOIN "pg_index"
ON (("pg_index"."indrelid" = "pg_class"."oid") AND ("pg_index".
"indisprimary" IS TRUE)) WHERE (("pg_attribute"."attisdropped" IS FALSE)
AND ("pg_attribute"."attnum" > 0) AND ("pg_class"."relname" = 'permissions')
AND ("pg_namespace"."nspname" !~* 'pg_*|information_schema')) ORDER BY
"pg_attribute"."attnum"
(0.007185s) SELECT "pg_attribute"."attname" AS "name", CAST("pg_attribute".
"atttypid" AS integer) AS "oid", format_type("pg_type"."oid", "pg_attribute"
."atttypmod") AS "db_type", pg_get_expr("pg_attrdef"."adbin", "pg_class".
"oid") AS "default", NOT "pg_attribute"."attnotnull" AS "allow_null",
COALESCE(("pg_attribute"."attnum" = ANY("pg_index"."indkey")), false) AS
"primary_key", "pg_namespace"."nspname" FROM "pg_class" INNER JOIN
"pg_attribute" ON ("pg_attribute"."attrelid" = "pg_class"."oid") INNER JOIN
"pg_type" ON ("pg_type"."oid" = "pg_attribute"."atttypid") INNER JOIN
"pg_namespace" ON ("pg_namespace"."oid" = "pg_class"."relnamespace") LEFT
OUTER JOIN "pg_attrdef" ON (("pg_attrdef"."adrelid" = "pg_class"."oid") AND
("pg_attrdef"."adnum" = "pg_attribute"."attnum")) LEFT OUTER JOIN "pg_index"
ON (("pg_index"."indrelid" = "pg_class"."oid") AND ("pg_index".
"indisprimary" IS TRUE)) WHERE (("pg_attribute"."attisdropped" IS FALSE)
AND ("pg_attribute"."attnum" > 0) AND ("pg_class"."relname" = 'user_tables')
AND ("pg_namespace"."nspname" !~* 'pg_*|information_schema')) ORDER BY
"pg_attribute"."attnum"
(0.004659s) SELECT "pg_attribute"."attname" AS "name", CAST("pg_attribute".
"atttypid" AS integer) AS "oid", format_type("pg_type"."oid", "pg_attribute"
."atttypmod") AS "db_type", pg_get_expr("pg_attrdef"."adbin", "pg_class".
"oid") AS "default", NOT "pg_attribute"."attnotnull" AS "allow_null",
COALESCE(("pg_attribute"."attnum" = ANY("pg_index"."indkey")), false) AS
"primary_key", "pg_namespace"."nspname" FROM "pg_class" INNER JOIN
"pg_attribute" ON ("pg_attribute"."attrelid" = "pg_class"."oid") INNER JOIN
"pg_type" ON ("pg_type"."oid" = "pg_attribute"."atttypid") INNER JOIN
"pg_namespace" ON ("pg_namespace"."oid" = "pg_class"."relnamespace") LEFT
OUTER JOIN "pg_attrdef" ON (("pg_attrdef"."adrelid" = "pg_class"."oid") AND
("pg_attrdef"."adnum" = "pg_attribute"."attnum")) LEFT OUTER JOIN "pg_index"
ON (("pg_index"."indrelid" = "pg_class"."oid") AND ("pg_index".
"indisprimary" IS TRUE)) WHERE (("pg_attribute"."attisdropped" IS FALSE)
AND ("pg_attribute"."attnum" > 0) AND ("pg_class"."relname" = 'maps') AND (
"pg_namespace"."nspname" !~* 'pg_*|information_schema')) ORDER BY
"pg_attribute"."attnum"
(0.002308s) SELECT "pg_attribute"."attname" AS "name", CAST("pg_attribute".
"atttypid" AS integer) AS "oid", format_type("pg_type"."oid", "pg_attribute"
."atttypmod") AS "db_type", pg_get_expr("pg_attrdef"."adbin", "pg_class".
"oid") AS "default", NOT "pg_attribute"."attnotnull" AS "allow_null",
COALESCE(("pg_attribute"."attnum" = ANY("pg_index"."indkey")), false) AS
"primary_key", "pg_namespace"."nspname" FROM "pg_class" INNER JOIN
"pg_attribute" ON ("pg_attribute"."attrelid" = "pg_class"."oid") INNER JOIN
"pg_type" ON ("pg_type"."oid" = "pg_attribute"."atttypid") INNER JOIN
"pg_namespace" ON ("pg_namespace"."oid" = "pg_class"."relnamespace") LEFT
OUTER JOIN "pg_attrdef" ON (("pg_attrdef"."adrelid" = "pg_class"."oid") AND
("pg_attrdef"."adnum" = "pg_attribute"."attnum")) LEFT OUTER JOIN "pg_index"
ON (("pg_index"."indrelid" = "pg_class"."oid") AND ("pg_index".
"indisprimary" IS TRUE)) WHERE (("pg_attribute"."attisdropped" IS FALSE)
AND ("pg_attribute"."attnum" > 0) AND ("pg_class"."relname" = 'layers') AND
("pg_namespace"."nspname" !~* 'pg_*|information_schema')) ORDER BY
"pg_attribute"."attnum"
(0.004600s) SELECT "pg_attribute"."attname" AS "name", CAST("pg_attribute".
"atttypid" AS integer) AS "oid", format_type("pg_type"."oid", "pg_attribute"
."atttypmod") AS "db_type", pg_get_expr("pg_attrdef"."adbin", "pg_class".
"oid") AS "default", NOT "pg_attribute"."attnotnull" AS "allow_null",
COALESCE(("pg_attribute"."attnum" = ANY("pg_index"."indkey")), false) AS
"primary_key", "pg_namespace"."nspname" FROM "pg_class" INNER JOIN
"pg_attribute" ON ("pg_attribute"."attrelid" = "pg_class"."oid") INNER JOIN
"pg_type" ON ("pg_type"."oid" = "pg_attribute"."atttypid") INNER JOIN
"pg_namespace" ON ("pg_namespace"."oid" = "pg_class"."relnamespace") LEFT
OUTER JOIN "pg_attrdef" ON (("pg_attrdef"."adrelid" = "pg_class"."oid") AND
("pg_attrdef"."adnum" = "pg_attribute"."attnum")) LEFT OUTER JOIN "pg_index"
ON (("pg_index"."indrelid" = "pg_class"."oid") AND ("pg_index".
"indisprimary" IS TRUE)) WHERE (("pg_attribute"."attisdropped" IS FALSE)
AND ("pg_attribute"."attnum" > 0) AND ("pg_class"."relname" = 'likes') AND (
"pg_namespace"."nspname" !~* 'pg_*|information_schema')) ORDER BY
"pg_attribute"."attnum"
(0.002687s) SELECT "pg_attribute"."attname" AS "name", CAST("pg_attribute".
"atttypid" AS integer) AS "oid", format_type("pg_type"."oid", "pg_attribute"
."atttypmod") AS "db_type", pg_get_expr("pg_attrdef"."adbin", "pg_class".
"oid") AS "default", NOT "pg_attribute"."attnotnull" AS "allow_null",
COALESCE(("pg_attribute"."attnum" = ANY("pg_index"."indkey")), false) AS
"primary_key", "pg_namespace"."nspname" FROM "pg_class" INNER JOIN
"pg_attribute" ON ("pg_attribute"."attrelid" = "pg_class"."oid") INNER JOIN
"pg_type" ON ("pg_type"."oid" = "pg_attribute"."atttypid") INNER JOIN
"pg_namespace" ON ("pg_namespace"."oid" = "pg_class"."relnamespace") LEFT
OUTER JOIN "pg_attrdef" ON (("pg_attrdef"."adrelid" = "pg_class"."oid") AND
("pg_attrdef"."adnum" = "pg_attribute"."attnum")) LEFT OUTER JOIN "pg_index"
ON (("pg_index"."indrelid" = "pg_class"."oid") AND ("pg_index".
"indisprimary" IS TRUE)) WHERE (("pg_attribute"."attisdropped" IS FALSE)
AND ("pg_attribute"."attnum" > 0) AND ("pg_class"."relname" =
'synchronization_oauths') AND ("pg_namespace"."nspname" !~*
'pg_*|information_schema')) ORDER BY "pg_attribute"."attnum"
(0.002865s) SELECT "pg_attribute"."attname" AS "name", CAST("pg_attribute".
"atttypid" AS integer) AS "oid", format_type("pg_type"."oid", "pg_attribute"
."atttypmod") AS "db_type", pg_get_expr("pg_attrdef"."adbin", "pg_class".
"oid") AS "default", NOT "pg_attribute"."attnotnull" AS "allow_null",
COALESCE(("pg_attribute"."attnum" = ANY("pg_index"."indkey")), false) AS
"primary_key", "pg_namespace"."nspname" FROM "pg_class" INNER JOIN
"pg_attribute" ON ("pg_attribute"."attrelid" = "pg_class"."oid") INNER JOIN
"pg_type" ON ("pg_type"."oid" = "pg_attribute"."atttypid") INNER JOIN
"pg_namespace" ON ("pg_namespace"."oid" = "pg_class"."relnamespace") LEFT
OUTER JOIN "pg_attrdef" ON (("pg_attrdef"."adrelid" = "pg_class"."oid") AND
("pg_attrdef"."adnum" = "pg_attribute"."attnum")) LEFT OUTER JOIN "pg_index"
ON (("pg_index"."indrelid" = "pg_class"."oid") AND ("pg_index".
"indisprimary" IS TRUE)) WHERE (("pg_attribute"."attisdropped" IS FALSE)
AND ("pg_attribute"."attnum" > 0) AND ("pg_class"."relname" = 'logs') AND (
"pg_namespace"."nspname" !~* 'pg_*|information_schema')) ORDER BY
"pg_attribute"."attnum"
(0.003530s) SELECT "pg_attribute"."attname" AS "name", CAST("pg_attribute".
"atttypid" AS integer) AS "oid", format_type("pg_type"."oid", "pg_attribute"
."atttypmod") AS "db_type", pg_get_expr("pg_attrdef"."adbin", "pg_class".
"oid") AS "default", NOT "pg_attribute"."attnotnull" AS "allow_null",
COALESCE(("pg_attribute"."attnum" = ANY("pg_index"."indkey")), false) AS
"primary_key", "pg_namespace"."nspname" FROM "pg_class" INNER JOIN
"pg_attribute" ON ("pg_attribute"."attrelid" = "pg_class"."oid") INNER JOIN
"pg_type" ON ("pg_type"."oid" = "pg_attribute"."atttypid") INNER JOIN
"pg_namespace" ON ("pg_namespace"."oid" = "pg_class"."relnamespace") LEFT
OUTER JOIN "pg_attrdef" ON (("pg_attrdef"."adrelid" = "pg_class"."oid") AND
("pg_attrdef"."adnum" = "pg_attribute"."attnum")) LEFT OUTER JOIN "pg_index"
ON (("pg_index"."indrelid" = "pg_class"."oid") AND ("pg_index".
"indisprimary" IS TRUE)) WHERE (("pg_attribute"."attisdropped" IS FALSE)
AND ("pg_attribute"."attnum" > 0) AND ("pg_class"."relname" = 'data_imports'
) AND ("pg_namespace"."nspname" !~* 'pg_*|information_schema')) ORDER BY
"pg_attribute"."attnum"
(0.004135s) SELECT "pg_attribute"."attname" AS "name", CAST("pg_attribute".
"atttypid" AS integer) AS "oid", format_type("pg_type"."oid", "pg_attribute"
."atttypmod") AS "db_type", pg_get_expr("pg_attrdef"."adbin", "pg_class".
"oid") AS "default", NOT "pg_attribute"."attnotnull" AS "allow_null",
COALESCE(("pg_attribute"."attnum" = ANY("pg_index"."indkey")), false) AS
"primary_key", "pg_namespace"."nspname" FROM "pg_class" INNER JOIN
"pg_attribute" ON ("pg_attribute"."attrelid" = "pg_class"."oid") INNER JOIN
"pg_type" ON ("pg_type"."oid" = "pg_attribute"."atttypid") INNER JOIN
"pg_namespace" ON ("pg_namespace"."oid" = "pg_class"."relnamespace") LEFT
OUTER JOIN "pg_attrdef" ON (("pg_attrdef"."adrelid" = "pg_class"."oid") AND
("pg_attrdef"."adnum" = "pg_attribute"."attnum")) LEFT OUTER JOIN "pg_index"
ON (("pg_index"."indrelid" = "pg_class"."oid") AND ("pg_index".
"indisprimary" IS TRUE)) WHERE (("pg_attribute"."attisdropped" IS FALSE)
AND ("pg_attribute"."attnum" > 0) AND ("pg_class"."relname" =
'external_data_imports') AND ("pg_namespace"."nspname" !~*
'pg_*|information_schema')) ORDER BY "pg_attribute"."attnum"
(0.002692s) SELECT "pg_attribute"."attname" AS "name", CAST("pg_attribute".
"atttypid" AS integer) AS "oid", format_type("pg_type"."oid", "pg_attribute"
."atttypmod") AS "db_type", pg_get_expr("pg_attrdef"."adbin", "pg_class".
"oid") AS "default", NOT "pg_attribute"."attnotnull" AS "allow_null",
COALESCE(("pg_attribute"."attnum" = ANY("pg_index"."indkey")), false) AS
"primary_key", "pg_namespace"."nspname" FROM "pg_class" INNER JOIN
"pg_attribute" ON ("pg_attribute"."attrelid" = "pg_class"."oid") INNER JOIN
"pg_type" ON ("pg_type"."oid" = "pg_attribute"."atttypid") INNER JOIN
"pg_namespace" ON ("pg_namespace"."oid" = "pg_class"."relnamespace") LEFT
OUTER JOIN "pg_attrdef" ON (("pg_attrdef"."adrelid" = "pg_class"."oid") AND
("pg_attrdef"."adnum" = "pg_attribute"."attnum")) LEFT OUTER JOIN "pg_index"
ON (("pg_index"."indrelid" = "pg_class"."oid") AND ("pg_index".
"indisprimary" IS TRUE)) WHERE (("pg_attribute"."attisdropped" IS FALSE)
AND ("pg_attribute"."attnum" > 0) AND ("pg_class"."relname" =
'feature_flags') AND ("pg_namespace"."nspname" !~* 'pg_*|information_schema'
)) ORDER BY "pg_attribute"."attnum"
(0.007068s) SELECT "pg_attribute"."attname" AS "name", CAST("pg_attribute".
"atttypid" AS integer) AS "oid", format_type("pg_type"."oid", "pg_attribute"
."atttypmod") AS "db_type", pg_get_expr("pg_attrdef"."adbin", "pg_class".
"oid") AS "default", NOT "pg_attribute"."attnotnull" AS "allow_null",
COALESCE(("pg_attribute"."attnum" = ANY("pg_index"."indkey")), false) AS
"primary_key", "pg_namespace"."nspname" FROM "pg_class" INNER JOIN
"pg_attribute" ON ("pg_attribute"."attrelid" = "pg_class"."oid") INNER JOIN
"pg_type" ON ("pg_type"."oid" = "pg_attribute"."atttypid") INNER JOIN
"pg_namespace" ON ("pg_namespace"."oid" = "pg_class"."relnamespace") LEFT
OUTER JOIN "pg_attrdef" ON (("pg_attrdef"."adrelid" = "pg_class"."oid") AND
("pg_attrdef"."adnum" = "pg_attribute"."attnum")) LEFT OUTER JOIN "pg_index"
ON (("pg_index"."indrelid" = "pg_class"."oid") AND ("pg_index".
"indisprimary" IS TRUE)) WHERE (("pg_attribute"."attisdropped" IS FALSE)
AND ("pg_attribute"."attnum" > 0) AND ("pg_class"."relname" = 'users') AND (
"pg_namespace"."nspname" !~* 'pg_*|information_schema')) ORDER BY
"pg_attribute"."attnum"
Ignoring statsd, because there were a error loading the config
rake aborted!
You should provide a valid e-mail
Tasks: TOP => cartodb:db:setup_user
(See full trace by running task with --trace)
what's wrong? where is the mistake?
Best regards
Claudio
Il giorno martedì 4 ottobre 2016 17:32:32 UTC+2, Nacho Sanchez ha scritto:
>
> It is. Please write here if you find any problem.
>
> On Tue, Oct 4, 2016 at 5:25 PM, Claudio Pellegrino <
cla.p...@gmail.com
> <javascript:>> wrote:
>
>> Is the installation guide updated? Can someone helps me? Can I find a
>> script sh?
>>
>> --
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "cartodb" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to
cartodb+u...@googlegroups.com <javascript:>.
> *Juan Ignacio Sánchez Lara*
> CARTO Backend Engineer
> Twitter: @juanignaciosl <
https://twitter.com/juanignaciosl>
>
> *CARTO <
http://www.carto.com> — Predict Through Location*
>
> Live sessions to learn CARTO <
http://carto.com/webinars/>
>