test/dummy/log/development.log in pagers-4.0.0.0 vs test/dummy/log/development.log in pagers-4.0.0.1
- old
+ new
@@ -21,5 +21,26 @@
WHERE c.contype = 'f'
AND t1.relname = 'products'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
+ [1m[36m (2.5ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
+ [1m[35m (13.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
+ [1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Migrating to CreateProducts (20130820024335)
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36m (7.2ms)[0m [1mCREATE TABLE "products" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130820024335"]]
+ [1m[36m (0.4ms)[0m [1mCOMMIT[0m
+ [1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
+ [1m[36m (2.0ms)[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 = 'products'
+ AND t3.nspname = ANY (current_schemas(false))
+ORDER BY c.conname
+[0m