test/dummy/log/development.log in ceo-0.1.5 vs test/dummy/log/development.log in ceo-0.1.6
- old
+ new
@@ -1,52 +1,105 @@
\ No newline at end of file
+ [1m[36mActiveRecord::SchemaMigration Load (19.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Migrating to CreateBananas (20151112204745)
+ [1m[35m (6.4ms)[0m BEGIN
+ [1m[36m (52.6ms)[0m [1mCREATE TABLE "bananas" ("id" serial primary key, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [0m
+ [1m[35mSQL (2.0ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151112204745"]]
+ [1m[36m (13.4ms)[0m [1mCOMMIT[0m
+ [1m[35mActiveRecord::SchemaMigration Load (0.3ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
+ [1m[36m (10.5ms)[0m [1mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
+FROM pg_constraint c
+JOIN pg_class t1 ON c.conrelid = t1.oid
+JOIN pg_class t2 ON c.confrelid = t2.oid
+JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
+JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
+JOIN pg_namespace t3 ON c.connamespace = t3.oid
+WHERE c.contype = 'f'
+ AND t1.relname = 'apples'
+ AND t3.nspname = ANY (current_schemas(false))
+ORDER BY c.conname
+[0m
+ [1m[35m (2.5ms)[0m SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
+FROM pg_constraint c
+JOIN pg_class t1 ON c.conrelid = t1.oid
+JOIN pg_class t2 ON c.confrelid = t2.oid
+JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
+JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
+JOIN pg_namespace t3 ON c.connamespace = t3.oid
+WHERE c.contype = 'f'
+ AND t1.relname = 'bananas'
+ AND t3.nspname = ANY (current_schemas(false))
+ORDER BY c.conname
+
+ [1m[36m (1.9ms)[0m [1mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
+FROM pg_constraint c
+JOIN pg_class t1 ON c.conrelid = t1.oid
+JOIN pg_class t2 ON c.confrelid = t2.oid
+JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
+JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
+JOIN pg_namespace t3 ON c.connamespace = t3.oid
+WHERE c.contype = 'f'
+ AND t1.relname = 'fruits'
+ AND t3.nspname = ANY (current_schemas(false))
+ORDER BY c.conname
+[0m
+ [1m[36mApple Load (1.4ms)[0m [1mSELECT "apples".* FROM "apples" ORDER BY "apples"."id" ASC LIMIT 1[0m
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "apples" DEFAULT VALUES RETURNING "id"[0m
+ [1m[35m (6.6ms)[0m COMMIT
+ [1m[36mApple Load (0.5ms)[0m [1mSELECT "apples".* FROM "apples" ORDER BY "apples"."id" ASC LIMIT 1[0m
+ [1m[35mApple Load (0.5ms)[0m SELECT "apples".* FROM "apples" ORDER BY "apples"."id" ASC LIMIT 1
+ [1m[36mApple Load (0.5ms)[0m [1mSELECT "apples".* FROM "apples" ORDER BY "apples"."id" ASC LIMIT 1[0m
+ [1m[35mApple Load (0.4ms)[0m SELECT "apples".* FROM "apples" ORDER BY "apples"."id" ASC LIMIT 1
+ [1m[36mApple Load (0.9ms)[0m [1mSELECT "apples".* FROM "apples" ORDER BY "apples"."id" ASC LIMIT 1[0m
+ [1m[35mApple Load (0.7ms)[0m SELECT "apples".* FROM "apples" ORDER BY "apples"."id" ASC LIMIT 1