citier4 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13,6 +13,9 @@
13
13
 
14
14
  ActiveRecord::Schema.define(version: 20150102200786) do
15
15
 
16
+ # These are extensions that must be enabled in order to support this database
17
+ enable_extension "plpgsql"
18
+
16
19
  create_table "animals", force: true do |t|
17
20
  t.string "name"
18
21
  t.string "race"
@@ -46,7 +49,7 @@ ActiveRecord::Schema.define(version: 20150102200786) do
46
49
  t.datetime "updated_at"
47
50
  end
48
51
 
49
- create_view "view_books" , "SELECT products.id, name,type,created_at,updated_at,author,title FROM products, books WHERE products.id = books.id", :force => true do |v|
52
+ create_view "view_books" , " SELECT products.id,\n products.name,\n products.type,\n products.created_at,\n products.updated_at,\n books.author,\n books.title\n FROM products,\n books\n WHERE (products.id = books.id);", :force => true do |v|
50
53
  v.column :id
51
54
  v.column :name
52
55
  v.column :type
@@ -56,7 +59,7 @@ ActiveRecord::Schema.define(version: 20150102200786) do
56
59
  v.column :title
57
60
  end
58
61
 
59
- create_view "view_dictionaries" , "SELECT view_books.id, name,type,created_at,updated_at,author,title,language FROM view_books, dictionaries WHERE view_books.id = dictionaries.id", :force => true do |v|
62
+ create_view "view_dictionaries" , " SELECT view_books.id,\n view_books.name,\n view_books.type,\n view_books.created_at,\n view_books.updated_at,\n view_books.author,\n view_books.title,\n dictionaries.language\n FROM view_books,\n dictionaries\n WHERE (view_books.id = dictionaries.id);", :force => true do |v|
60
63
  v.column :id
61
64
  v.column :name
62
65
  v.column :type
@@ -67,7 +70,7 @@ ActiveRecord::Schema.define(version: 20150102200786) do
67
70
  v.column :language
68
71
  end
69
72
 
70
- create_view "view_fictions" , "SELECT view_books.id, name,type,created_at,updated_at,author,title,story FROM view_books, fictions WHERE view_books.id = fictions.id", :force => true do |v|
73
+ create_view "view_fictions" , " SELECT view_books.id,\n view_books.name,\n view_books.type,\n view_books.created_at,\n view_books.updated_at,\n view_books.author,\n view_books.title,\n fictions.story\n FROM view_books,\n fictions\n WHERE (view_books.id = fictions.id);", :force => true do |v|
71
74
  v.column :id
72
75
  v.column :name
73
76
  v.column :type
@@ -2772,3 +2772,989 @@ DEPRECATION WARNING: `#timestamp` was called without specifying an option for `n
2772
2772
  FROM sqlite_master
2773
2773
  WHERE name = 'view_fictions' AND NOT name = 'sqlite_sequence'
2774
2774
 
2775
+  (1.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
2776
+  (0.1ms) select sqlite_version(*)
2777
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2778
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2779
+ Migrating to CreateProducts (20141228200436)
2780
+  (0.0ms) begin transaction
2781
+ DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/laurent/Desktop/code/citier4/test/dummy/db/migrate/20141228200436_create_products.rb:7)
2782
+  (0.3ms) CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "type" varchar, "created_at" datetime, "updated_at" datetime)
2783
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141228200436"]]
2784
+  (0.8ms) commit transaction
2785
+ Migrating to CreateBooks (20141228200756)
2786
+  (0.1ms) begin transaction
2787
+  (0.3ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "author" varchar, "title" varchar)
2788
+  (0.7ms) CREATE VIEW "view_books" AS SELECT products.id, name,type,created_at,updated_at,author,title FROM products, books WHERE products.id = books.id
2789
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141228200756"]]
2790
+  (1.2ms) commit transaction
2791
+ Migrating to CreateDictionaries (20150101181703)
2792
+  (0.3ms) begin transaction
2793
+  (0.6ms) CREATE TABLE "dictionaries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "language" varchar) 
2794
+  (0.7ms) CREATE VIEW "view_dictionaries" AS SELECT view_books.id, name,type,created_at,updated_at,author,title,language FROM view_books, dictionaries WHERE view_books.id = dictionaries.id
2795
+ SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150101181703"]]
2796
+  (0.8ms) commit transaction
2797
+ Migrating to CreateFictions (20150101181916)
2798
+  (0.2ms) begin transaction
2799
+  (0.6ms) CREATE TABLE "fictions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "story" text)
2800
+  (0.7ms) CREATE VIEW "view_fictions" AS SELECT view_books.id, name,type,created_at,updated_at,author,title,story FROM view_books, fictions WHERE view_books.id = fictions.id
2801
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150101181916"]]
2802
+  (1.0ms) commit transaction
2803
+ Migrating to CreateBidules (20150102200342)
2804
+  (0.3ms) begin transaction
2805
+ DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/laurent/Desktop/code/citier4/test/dummy/db/migrate/20150102200342_create_bidules.rb:6)
2806
+  (0.4ms) CREATE TABLE "bidules" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime, "updated_at" datetime) 
2807
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150102200342"]]
2808
+  (3.9ms) commit transaction
2809
+ Migrating to CreateAnimals (20150102200786)
2810
+  (0.3ms) begin transaction
2811
+ DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/laurent/Desktop/code/citier4/test/dummy/db/migrate/20150102200786_create_animals.rb:7)
2812
+  (0.7ms) CREATE TABLE "animals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "race" varchar, "created_at" datetime, "updated_at" datetime) 
2813
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150102200786"]]
2814
+  (1.1ms) commit transaction
2815
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
2816
+  (0.4ms)  SELECT name
2817
+ FROM sqlite_master
2818
+ WHERE (type = 'table') AND NOT name = 'sqlite_sequence'
2819
+ 
2820
+  (0.3ms) SELECT name
2821
+ FROM sqlite_master
2822
+ WHERE type = 'view' AND NOT name = 'sqlite_sequence'
2823
+
2824
+  (0.2ms)  SELECT sql
2825
+ FROM sqlite_master
2826
+ WHERE name = 'view_books' AND NOT name = 'sqlite_sequence'
2827
+ 
2828
+  (0.2ms) SELECT sql
2829
+ FROM sqlite_master
2830
+ WHERE name = 'view_dictionaries' AND NOT name = 'sqlite_sequence'
2831
+
2832
+  (0.3ms)  SELECT sql
2833
+ FROM sqlite_master
2834
+ WHERE name = 'view_fictions' AND NOT name = 'sqlite_sequence'
2835
+ 
2836
+  (19.9ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
2837
+  (13.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2838
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
2839
+ Migrating to CreateProducts (20141228200436)
2840
+  (0.1ms) BEGIN
2841
+ DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/laurent/Desktop/code/citier4/test/dummy/db/migrate/20141228200436_create_products.rb:7)
2842
+  (15.8ms) CREATE TABLE "products" ("id" serial primary key, "name" character varying, "type" character varying, "created_at" timestamp, "updated_at" timestamp) 
2843
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141228200436"]]
2844
+  (0.5ms) COMMIT
2845
+ Migrating to CreateBooks (20141228200756)
2846
+  (6.2ms) BEGIN
2847
+  (15.7ms) CREATE TABLE "books" ("id" serial primary key, "author" character varying, "title" character varying) 
2848
+  (3.0ms) SELECT table_name, table_type
2849
+ FROM information_schema.tables
2850
+ WHERE table_schema IN ('"$user"','public')
2851
+ AND table_type IN ('BASE TABLE', 'VIEW')
2852
+
2853
+  (1.3ms) CREATE VIEW "view_books" ("id", "name", "type", "created_at", "updated_at", "author", "title") AS SELECT products.id, name,type,created_at,updated_at,author,title FROM products, books WHERE products.id = books.id
2854
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141228200756"]]
2855
+  (6.5ms) COMMIT
2856
+ Migrating to CreateDictionaries (20150101181703)
2857
+  (6.0ms) BEGIN
2858
+  (14.9ms) CREATE TABLE "dictionaries" ("id" serial primary key, "language" character varying) 
2859
+  (0.9ms) CREATE VIEW "view_dictionaries" ("id", "name", "type", "created_at", "updated_at", "author", "title", "language") AS SELECT view_books.id, name,type,created_at,updated_at,author,title,language FROM view_books, dictionaries WHERE view_books.id = dictionaries.id
2860
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150101181703"]]
2861
+  (6.5ms) COMMIT
2862
+ Migrating to CreateFictions (20150101181916)
2863
+  (6.3ms) BEGIN
2864
+  (15.3ms) CREATE TABLE "fictions" ("id" serial primary key, "story" text)
2865
+  (1.0ms) CREATE VIEW "view_fictions" ("id", "name", "type", "created_at", "updated_at", "author", "title", "story") AS SELECT view_books.id, name,type,created_at,updated_at,author,title,story FROM view_books, fictions WHERE view_books.id = fictions.id
2866
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150101181916"]]
2867
+  (6.4ms) COMMIT
2868
+ Migrating to CreateBidules (20150102200342)
2869
+  (6.2ms) BEGIN
2870
+ DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/laurent/Desktop/code/citier4/test/dummy/db/migrate/20150102200342_create_bidules.rb:6)
2871
+  (15.2ms) CREATE TABLE "bidules" ("id" serial primary key, "name" character varying, "created_at" timestamp, "updated_at" timestamp) 
2872
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150102200342"]]
2873
+  (0.5ms) COMMIT
2874
+ Migrating to CreateAnimals (20150102200786)
2875
+  (6.3ms) BEGIN
2876
+ DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/laurent/Desktop/code/citier4/test/dummy/db/migrate/20150102200786_create_animals.rb:7)
2877
+  (15.2ms) CREATE TABLE "animals" ("id" serial primary key, "name" character varying, "race" character varying, "created_at" timestamp, "updated_at" timestamp) 
2878
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150102200786"]]
2879
+  (0.5ms) COMMIT
2880
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
2881
+  (1.6ms)  SELECT table_name, table_type
2882
+ FROM information_schema.tables
2883
+ WHERE table_schema IN ('"$user"','public')
2884
+ AND table_type = 'BASE TABLE'
2885
+ 
2886
+  (1.1ms) SELECT table_name, table_type
2887
+ FROM information_schema.tables
2888
+ WHERE table_schema IN ('"$user"','public')
2889
+ AND table_type = 'VIEW'
2890
+
2891
+  (1.5ms)  SELECT view_definition
2892
+ FROM information_schema.views
2893
+ WHERE table_catalog = (SELECT catalog_name FROM information_schema.information_schema_catalog_name)
2894
+ AND table_schema IN ('"$user"','public')
2895
+ AND table_name = 'view_books'
2896
+ 
2897
+  (0.8ms) SELECT view_definition
2898
+ FROM information_schema.views
2899
+ WHERE table_catalog = (SELECT catalog_name FROM information_schema.information_schema_catalog_name)
2900
+ AND table_schema IN ('"$user"','public')
2901
+ AND table_name = 'view_dictionaries'
2902
+
2903
+  (0.7ms)  SELECT view_definition
2904
+ FROM information_schema.views
2905
+ WHERE table_catalog = (SELECT catalog_name FROM information_schema.information_schema_catalog_name)
2906
+ AND table_schema IN ('"$user"','public')
2907
+ AND table_name = 'view_fictions'
2908
+ 
2909
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
2910
+ Product Load (0.5ms) SELECT "products".* FROM "products"
2911
+  (2.7ms) SELECT table_name, table_type
2912
+ FROM information_schema.tables
2913
+ WHERE table_schema IN ('"$user"','public')
2914
+ AND table_type IN ('BASE TABLE', 'VIEW')
2915
+
2916
+  (0.1ms) BEGIN
2917
+ SQL (0.4ms) INSERT INTO "products" ("type", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["type", "Book"], ["name", "toto"], ["created_at", "2015-01-15 18:46:08.483787"], ["updated_at", "2015-01-15 18:46:08.483787"]]
2918
+  (1.1ms) COMMIT
2919
+  (0.1ms) BEGIN
2920
+ SQL (0.4ms) INSERT INTO "books" ("author", "id") VALUES ($1, $2) RETURNING "id" [["author", "laurent"], ["id", 1]]
2921
+  (0.4ms) COMMIT
2922
+  (0.2ms) BEGIN
2923
+ SQL (0.3ms) UPDATE "products" SET "name" = $1, "id" = $2, "updated_at" = $3 WHERE "products"."id" = $4 [["name", "titi"], ["id", 1], ["updated_at", "2015-01-15 18:47:05.844891"], ["id", 0]]
2924
+  (0.1ms) COMMIT
2925
+  (0.1ms) BEGIN
2926
+ SQL (0.2ms) UPDATE "books" SET "id" = $1 WHERE "books"."id" = $2 [["id", 1], ["id", 1]]
2927
+  (1.0ms) COMMIT
2928
+  (2.5ms)  SELECT table_name, table_type
2929
+ FROM information_schema.tables
2930
+ WHERE table_schema IN ('"$user"','public')
2931
+ AND table_type IN ('BASE TABLE', 'VIEW')
2932
+ 
2933
+ Product Load (0.7ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1
2934
+ Book Load (0.6ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = $1 LIMIT 1 [["id", 1]]
2935
+  (0.2ms) BEGIN
2936
+ SQL (0.4ms) UPDATE "products" SET "id" = $1, "updated_at" = $2 WHERE "products"."id" = $3 [["id", 1], ["updated_at", "2015-01-15 22:57:33.175096"], ["id", 0]]
2937
+  (0.3ms) COMMIT
2938
+  (0.3ms) BEGIN
2939
+ SQL (0.4ms) UPDATE "books" SET "author" = $1, "id" = $2 WHERE "books"."id" = $3 [["author", "laurent"], ["id", 1], ["id", 1]]
2940
+  (0.6ms) COMMIT
2941
+  (0.2ms) BEGIN
2942
+ SQL (0.3ms) UPDATE "products" SET "name" = $1, "id" = $2, "updated_at" = $3 WHERE "products"."id" = $4 [["name", "toti"], ["id", 1], ["updated_at", "2015-01-15 22:59:07.356083"], ["id", 0]]
2943
+  (0.2ms) COMMIT
2944
+  (0.2ms) BEGIN
2945
+ SQL (0.4ms) UPDATE "books" SET "id" = $1 WHERE "books"."id" = $2 [["id", 1], ["id", 1]]
2946
+  (0.4ms) COMMIT
2947
+ Product Load (0.9ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1
2948
+ Book Load (0.4ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = $1 LIMIT 1 [["id", 1]]
2949
+  (0.3ms) BEGIN
2950
+ SQL (0.5ms) INSERT INTO "products" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "un produit"], ["created_at", "2015-01-15 23:04:06.147660"], ["updated_at", "2015-01-15 23:04:06.147660"]]
2951
+  (1.2ms) COMMIT
2952
+ Product Load (0.6ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 2]]
2953
+ Product Load (0.5ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 1]]
2954
+ Book Load (0.4ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = $1 LIMIT 1 [["id", 1]]
2955
+ Product Load (0.7ms) SELECT "products".* FROM "products"
2956
+ Book Load (0.3ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = $1 LIMIT 1 [["id", 1]]
2957
+ Product Load (0.5ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 1]]
2958
+ Book Load (0.4ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = $1 LIMIT 1 [["id", 1]]
2959
+ Product Load (0.6ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 1]]
2960
+ Book Load (0.5ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = $1 LIMIT 1 [["id", 1]]
2961
+ Product Load (0.5ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 2]]
2962
+ Product Load (0.7ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 3]]
2963
+ Product Load (0.5ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 2]]
2964
+ Product Load (0.5ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 1]]
2965
+ Book Load (0.6ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = $1 LIMIT 1 [["id", 1]]
2966
+ Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 1]]
2967
+ Book Load (0.4ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = $1 LIMIT 1 [["id", 1]]
2968
+ Product Load (0.5ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 1]]
2969
+ Book Load (0.4ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = $1 LIMIT 1 [["id", 1]]
2970
+ Product Load (0.5ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 1]]
2971
+ Book Load (0.3ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = $1 LIMIT 1 [["id", 1]]
2972
+ Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 1]]
2973
+ Book Load (0.2ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = $1 LIMIT 1 [["id", 1]]
2974
+ Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 1]]
2975
+ Book Load (2.2ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = $1 LIMIT 1 [["id", 1]]
2976
+ Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 1]]
2977
+ Book Load (0.2ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = $1 LIMIT 1 [["id", 1]]
2978
+ Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 1]]
2979
+ Book Load (0.2ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = $1 LIMIT 1 [["id", 1]]
2980
+ Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 1]]
2981
+ Book Load (0.5ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = $1 LIMIT 1 [["id", 1]]
2982
+ Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 1]]
2983
+ Book Load (0.3ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = $1 LIMIT 1 [["id", 1]]
2984
+ Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 1]]
2985
+ Book Load (0.4ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = $1 LIMIT 1 [["id", 1]]
2986
+  (2.2ms)  SELECT table_name, table_type
2987
+ FROM information_schema.tables
2988
+ WHERE table_schema IN ('"$user"','public')
2989
+ AND table_type IN ('BASE TABLE', 'VIEW')
2990
+ 
2991
+ Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 1]]
2992
+ Book Load (0.4ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = $1 LIMIT 1 [["id", 1]]
2993
+ Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 1]]
2994
+ Book Load (0.6ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = $1 LIMIT 1 [["id", 1]]
2995
+  (3.3ms)  SELECT table_name, table_type
2996
+ FROM information_schema.tables
2997
+ WHERE table_schema IN ('"$user"','public')
2998
+ AND table_type IN ('BASE TABLE', 'VIEW')
2999
+ 
3000
+ Book Load (1.0ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') ORDER BY "view_books"."id" ASC LIMIT 1
3001
+ Product Load (0.5ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1
3002
+ Book Load (0.4ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = $1 LIMIT 1 [["id", 1]]
3003
+  (10.7ms)  SELECT table_name, table_type
3004
+ FROM information_schema.tables
3005
+ WHERE table_schema IN ('"$user"','public')
3006
+ AND table_type IN ('BASE TABLE', 'VIEW')
3007
+ 
3008
+ Book Load (1.7ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') ORDER BY "view_books"."id" ASC LIMIT 1
3009
+  (0.3ms) BEGIN
3010
+ SQL (0.6ms) UPDATE "products" SET "name" = $1, "id" = $2, "updated_at" = $3 WHERE "products"."id" = $4 [["name", "titi"], ["id", 1], ["updated_at", "2015-01-16 19:39:52.922756"], ["id", 0]]
3011
+  (0.5ms) COMMIT
3012
+  (0.2ms) BEGIN
3013
+ SQL (0.5ms) UPDATE "books" SET "id" = $1 WHERE "books"."id" = $2 [["id", 1], ["id", 1]]
3014
+  (6.7ms) COMMIT
3015
+ Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 1]]
3016
+ Book Load (0.6ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = $1 LIMIT 1 [["id", 1]]
3017
+ Product Load (0.5ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 1]]
3018
+ Book Load (0.6ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = $1 LIMIT 1 [["id", 1]]
3019
+ Product Load (0.6ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 1]]
3020
+ Book Load (0.7ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = $1 LIMIT 1 [["id", 1]]
3021
+  (3.3ms)  SELECT table_name, table_type
3022
+ FROM information_schema.tables
3023
+ WHERE table_schema IN ('"$user"','public')
3024
+ AND table_type IN ('BASE TABLE', 'VIEW')
3025
+ 
3026
+ Product Load (0.6ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1
3027
+ Book Load (0.8ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = $1 LIMIT 1 [["id", 1]]
3028
+  (3.5ms)  SELECT table_name, table_type
3029
+ FROM information_schema.tables
3030
+ WHERE table_schema IN ('"$user"','public')
3031
+ AND table_type IN ('BASE TABLE', 'VIEW')
3032
+ 
3033
+ Book Load (1.0ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') ORDER BY "view_books"."id" ASC LIMIT 1
3034
+ Product Load (0.8ms) SELECT "products".* FROM "products"
3035
+ Book Load (0.6ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = $1 LIMIT 1 [["id", 1]]
3036
+ Product Load (0.5ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 2]]
3037
+  (0.3ms) BEGIN
3038
+ SQL (0.4ms) UPDATE "products" SET "name" = $1, "updated_at" = $2 WHERE "products"."id" = $3 [["name", "new name"], ["updated_at", "2015-01-16 20:27:52.276904"], ["id", 2]]
3039
+  (6.6ms) COMMIT
3040
+ Product Load (0.5ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 2]]
3041
+ Book Load (0.6ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = $1 LIMIT 1 [["id", 2]]
3042
+ Product Load (0.7ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 2]]
3043
+ Product Load (0.6ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 234]]
3044
+ Book Load (0.9ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = $1 LIMIT 1 [["id", 1]]
3045
+  (0.3ms) BEGIN
3046
+ SQL (0.4ms) UPDATE "products" SET "name" = $1, "id" = $2, "updated_at" = $3 WHERE "products"."id" = $4 [["name", "new name toto"], ["id", 1], ["updated_at", "2015-01-16 20:31:34.898567"], ["id", 0]]
3047
+  (0.4ms) COMMIT
3048
+ Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 1]]
3049
+ Book Load (0.6ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = $1 LIMIT 1 [["id", 1]]
3050
+  (2.3ms)  SELECT table_name, table_type
3051
+ FROM information_schema.tables
3052
+ WHERE table_schema IN ('"$user"','public')
3053
+ AND table_type IN ('BASE TABLE', 'VIEW')
3054
+ 
3055
+ Product Load (0.6ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1
3056
+  (2.6ms)  SELECT table_name, table_type
3057
+ FROM information_schema.tables
3058
+ WHERE table_schema IN ('"$user"','public')
3059
+ AND table_type IN ('BASE TABLE', 'VIEW')
3060
+ 
3061
+ Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 1]]
3062
+ Book Load (0.4ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = $1 LIMIT 1 [["id", 1]]
3063
+ Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 1]]
3064
+ Book Load (0.5ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = $1 LIMIT 1 [["id", 1]]
3065
+ ProductTest Load (0.4ms) SELECT "products".* FROM "products"
3066
+  (1.9ms) SELECT table_name, table_type
3067
+ FROM information_schema.tables
3068
+ WHERE table_schema IN ('"$user"','public')
3069
+ AND table_type IN ('BASE TABLE', 'VIEW')
3070
+
3071
+ ProductTest Load (0.7ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1
3072
+ ProductTest Load (0.5ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1
3073
+ ProductTest Load (0.5ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1
3074
+  (0.1ms) BEGIN
3075
+  (0.2ms) COMMIT
3076
+ ProductTest Load (0.4ms) SELECT "products".* FROM "products"
3077
+  (1.8ms) SELECT table_name, table_type
3078
+ FROM information_schema.tables
3079
+ WHERE table_schema IN ('"$user"','public')
3080
+ AND table_type IN ('BASE TABLE', 'VIEW')
3081
+
3082
+ ProductTest Load (0.7ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1
3083
+ Product Load (0.7ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1
3084
+ Book Load (0.4ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = $1 LIMIT 1 [["id", 1]]
3085
+  (0.2ms) BEGIN
3086
+ SQL (0.5ms) UPDATE "products" SET "name" = $1, "updated_at" = $2 WHERE "products"."id" = $3 [["name", "tutu"], ["updated_at", "2015-01-17 07:05:38.030874"], ["id", 1]]
3087
+  (1.0ms) COMMIT
3088
+ Product Load (0.6ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1
3089
+ Book Load (0.6ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = $1 LIMIT 1 [["id", 1]]
3090
+  (0.2ms) BEGIN
3091
+ SQL (0.4ms) UPDATE "products" SET "id" = $1, "updated_at" = $2 WHERE "products"."id" = $3 [["id", 20], ["updated_at", "2015-01-17 07:05:49.549586"], ["id", 1]]
3092
+  (1.0ms) COMMIT
3093
+ ProductTest Load (0.4ms) SELECT "products".* FROM "products"
3094
+  (0.2ms) BEGIN
3095
+  (0.2ms) COMMIT
3096
+  (2.2ms)  SELECT table_name, table_type
3097
+ FROM information_schema.tables
3098
+ WHERE table_schema IN ('"$user"','public')
3099
+ AND table_type IN ('BASE TABLE', 'VIEW')
3100
+ 
3101
+ ProductTest Load (0.6ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1
3102
+ ProductTest Load (0.6ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1
3103
+ ProductTest Load (0.4ms) SELECT "products".* FROM "products"
3104
+ Product Load (0.4ms) SELECT "products".* FROM "products"
3105
+ Book Load (0.4ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = $1 LIMIT 1 [["id", 20]]
3106
+ ProductTest Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 20]]
3107
+  (0.2ms) BEGIN
3108
+ SQL (0.4ms) UPDATE "products" SET "id" = $1, "updated_at" = $2 WHERE "products"."id" = $3 [["id", 1], ["updated_at", "2015-01-17 07:09:17.858710"], ["id", 20]]
3109
+  (1.0ms) COMMIT
3110
+ Product Load (0.4ms) SELECT "products".* FROM "products"
3111
+ Book Load (0.7ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = $1 LIMIT 1 [["id", 1]]
3112
+  (0.2ms) BEGIN
3113
+ SQL (0.3ms) UPDATE "products" SET "name" = $1, "updated_at" = $2 WHERE "products"."id" = $3 [["name", "boby"], ["updated_at", "2015-01-17 07:14:20.861178"], ["id", 1]]
3114
+  (0.9ms) COMMIT
3115
+  (0.2ms) BEGIN
3116
+ SQL (0.4ms) UPDATE "products" SET "name" = $1, "updated_at" = $2 WHERE "products"."id" = $3 [["name", "boby"], ["updated_at", "2015-01-17 07:16:21.237480"], ["id", 1]]
3117
+  (0.9ms) COMMIT
3118
+  (0.2ms) BEGIN
3119
+ SQL (0.4ms) UPDATE "products" SET "name" = $1, "updated_at" = $2 WHERE "products"."id" = $3 [["name", "bobyyqfdqsfdqsfdqs"], ["updated_at", "2015-01-17 07:16:38.781916"], ["id", 1]]
3120
+  (4.4ms) COMMIT
3121
+ Product Load (0.6ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1
3122
+ Book Load (0.6ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = $1 LIMIT 1 [["id", 1]]
3123
+  (0.2ms) BEGIN
3124
+ SQL (0.4ms) UPDATE "products" SET "name" = $1, "updated_at" = $2 WHERE "products"."id" = $3 [["name", "laurent"], ["updated_at", "2015-01-17 07:18:25.960732"], ["id", 1]]
3125
+  (1.0ms) COMMIT
3126
+  (3.2ms)  SELECT table_name, table_type
3127
+ FROM information_schema.tables
3128
+ WHERE table_schema IN ('"$user"','public')
3129
+ AND table_type IN ('BASE TABLE', 'VIEW')
3130
+ 
3131
+ ProductTest Load (0.6ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1
3132
+ ProductTest Load (0.5ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1
3133
+  (0.2ms) BEGIN
3134
+  (0.2ms) COMMIT
3135
+  (0.2ms) BEGIN
3136
+  (0.2ms) COMMIT
3137
+  (0.2ms) BEGIN
3138
+  (0.2ms) COMMIT
3139
+  (0.2ms) BEGIN
3140
+  (0.2ms) COMMIT
3141
+  (0.2ms) BEGIN
3142
+  (0.2ms) COMMIT
3143
+ ProductTest Load (0.5ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1
3144
+ ProductTest Load (0.5ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1
3145
+  (0.2ms) BEGIN
3146
+  (0.2ms) COMMIT
3147
+  (0.2ms) BEGIN
3148
+ SQL (0.4ms) UPDATE "products" SET "name" = $1, "updated_at" = $2 WHERE "products"."id" = $3 [["name", "titi"], ["updated_at", "2015-01-17 07:27:18.430362"], ["id", 1]]
3149
+  (0.9ms) COMMIT
3150
+  (0.2ms) BEGIN
3151
+ SQL (0.3ms) UPDATE "products" SET "name" = $1, "updated_at" = $2 WHERE "products"."id" = $3 [["name", "laurent"], ["updated_at", "2015-01-17 07:32:53.884486"], ["id", 0]]
3152
+  (0.2ms) COMMIT
3153
+  (0.1ms) BEGIN
3154
+  (0.2ms) COMMIT
3155
+  (0.2ms) BEGIN
3156
+ SQL (0.4ms) UPDATE "products" SET "name" = $1, "updated_at" = $2 WHERE "products"."id" = $3 [["name", "laurent"], ["updated_at", "2015-01-17 07:34:43.355903"], ["id", 1]]
3157
+  (1.0ms) COMMIT
3158
+ Product Load (0.4ms) SELECT "products".* FROM "products"
3159
+  (1.8ms) SELECT table_name, table_type
3160
+ FROM information_schema.tables
3161
+ WHERE table_schema IN ('"$user"','public')
3162
+ AND table_type IN ('BASE TABLE', 'VIEW')
3163
+
3164
+ Book Load (0.4ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = $1 LIMIT 1 [["id", 1]]
3165
+ Product::Writeable Load (0.4ms) SELECT "products".* FROM "products"
3166
+ Book Load (1.0ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') ORDER BY "view_books"."id" ASC LIMIT 1
3167
+  (0.3ms) BEGIN
3168
+ SQL (0.4ms) UPDATE "products" SET "name" = $1, "id" = $2, "updated_at" = $3 WHERE "products"."id" = $4 [["name", "toto"], ["id", 1], ["updated_at", "2015-01-17 07:49:57.310766"], ["id", 0]]
3169
+  (0.3ms) COMMIT
3170
+  (0.3ms) BEGIN
3171
+ SQL (0.6ms) UPDATE "books" SET "id" = $1 WHERE "books"."id" = $2 [["id", 1], ["id", 1]]
3172
+  (0.5ms) COMMIT
3173
+ Product::Writeable Load (0.6ms) SELECT "products".* FROM "products"
3174
+  (2.2ms)  SELECT table_name, table_type
3175
+ FROM information_schema.tables
3176
+ WHERE table_schema IN ('"$user"','public')
3177
+ AND table_type IN ('BASE TABLE', 'VIEW')
3178
+ 
3179
+ Product Load (0.6ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1
3180
+ Book Load (0.4ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = $1 LIMIT 1 [["id", 1]]
3181
+ Product Load (0.7ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1
3182
+ Book Load (0.7ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = $1 LIMIT 1 [["id", 1]]
3183
+  (0.3ms) BEGIN
3184
+ SQL (0.5ms) UPDATE "products" SET "name" = $1, "id" = $2, "updated_at" = $3 WHERE "products"."id" = $4 [["name", "buffat"], ["id", 1], ["updated_at", "2015-01-17 08:02:12.272034"], ["id", 0]]
3185
+  (0.2ms) COMMIT
3186
+  (0.2ms) BEGIN
3187
+ SQL (0.3ms) UPDATE "books" SET "id" = $1 WHERE "books"."id" = $2 [["id", 1], ["id", 1]]
3188
+  (0.4ms) COMMIT
3189
+  (0.3ms) BEGIN
3190
+ SQL (0.6ms) UPDATE "products" SET "name" = $1, "id" = $2, "updated_at" = $3 WHERE "products"."id" = $4 [["name", "buffat"], ["id", 1], ["updated_at", "2015-01-17 08:13:32.192745"], ["id", 0]]
3191
+  (0.3ms) COMMIT
3192
+  (0.2ms) BEGIN
3193
+ SQL (0.3ms) UPDATE "products" SET "name" = $1, "updated_at" = $2 WHERE "products"."id" = $3 [["name", "buffat"], ["updated_at", "2015-01-17 08:15:04.808819"], ["id", 1]]
3194
+  (4.7ms) COMMIT
3195
+  (0.2ms) BEGIN
3196
+ SQL (0.4ms) UPDATE "books" SET "id" = $1 WHERE "books"."id" = $2 [["id", 1], ["id", 1]]
3197
+  (6.1ms) COMMIT
3198
+  (2.3ms)  SELECT table_name, table_type
3199
+ FROM information_schema.tables
3200
+ WHERE table_schema IN ('"$user"','public')
3201
+ AND table_type IN ('BASE TABLE', 'VIEW')
3202
+ 
3203
+ Product Load (0.6ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1
3204
+ Book Load (0.5ms) SELECT "view_books".* FROM "view_books" WHERE "view_books"."type" IN ('Book') AND "view_books"."id" = $1 LIMIT 1 [["id", 1]]
3205
+  (2.3ms)  SELECT table_name, table_type
3206
+ FROM information_schema.tables
3207
+ WHERE table_schema IN ('"$user"','public')
3208
+ AND table_type IN ('BASE TABLE', 'VIEW')
3209
+ 
3210
+  (2.0ms)  SELECT table_name, table_type
3211
+ FROM information_schema.tables
3212
+ WHERE table_schema IN ('"$user"','public')
3213
+ AND table_type IN ('BASE TABLE', 'VIEW')
3214
+ 
3215
+  (1.9ms)  SELECT table_name, table_type
3216
+ FROM information_schema.tables
3217
+ WHERE table_schema IN ('"$user"','public')
3218
+ AND table_type IN ('BASE TABLE', 'VIEW')
3219
+ 
3220
+  (1.9ms)  SELECT table_name, table_type
3221
+ FROM information_schema.tables
3222
+ WHERE table_schema IN ('"$user"','public')
3223
+ AND table_type IN ('BASE TABLE', 'VIEW')
3224
+ 
3225
+  (0.3ms) BEGIN
3226
+ SQL (0.8ms) INSERT INTO "products" ("name", "type", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "buffat"], ["type", "Dictionary"], ["created_at", "2015-01-17 09:58:24.201028"], ["updated_at", "2015-01-17 09:58:24.201028"]]
3227
+  (5.8ms) COMMIT
3228
+  (0.2ms) BEGIN
3229
+ SQL (0.4ms) INSERT INTO "books" ("author", "title", "id") VALUES ($1, $2, $3) RETURNING "id" [["author", "laurent"], ["title", "robert"], ["id", 3]]
3230
+  (1.7ms) COMMIT
3231
+  (0.4ms) BEGIN
3232
+ SQL (1.2ms) INSERT INTO "books" DEFAULT VALUES RETURNING "id"
3233
+ PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "books_pkey"
3234
+ DETAIL: Key (id)=(1) already exists.
3235
+ : INSERT INTO "books" DEFAULT VALUES RETURNING "id"
3236
+  (0.2ms) ROLLBACK
3237
+  (2.5ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
3238
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3239
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
3240
+ Migrating to CreateProducts (20141228200436)
3241
+  (0.1ms) BEGIN
3242
+ DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/laurent/Desktop/code/citier4/test/dummy/db/migrate/20141228200436_create_products.rb:7)
3243
+  (3.3ms) CREATE TABLE "products" ("id" serial primary key, "name" character varying, "type" character varying, "created_at" timestamp, "updated_at" timestamp) 
3244
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141228200436"]]
3245
+  (0.5ms) COMMIT
3246
+ Migrating to CreateBooks (20141228200756)
3247
+  (0.3ms) BEGIN
3248
+  (3.5ms) CREATE TABLE "books" ("id" serial primary key, "author" character varying, "title" character varying) 
3249
+  (2.3ms) SELECT table_name, table_type
3250
+ FROM information_schema.tables
3251
+ WHERE table_schema IN ('"$user"','public')
3252
+ AND table_type IN ('BASE TABLE', 'VIEW')
3253
+
3254
+  (1.2ms) CREATE VIEW "view_books" ("id", "name", "type", "created_at", "updated_at", "author", "title") AS SELECT products.id, name,type,created_at,updated_at,author,title FROM products, books WHERE products.id = books.id
3255
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141228200756"]]
3256
+  (0.4ms) COMMIT
3257
+ Migrating to CreateDictionaries (20150101181703)
3258
+  (0.2ms) BEGIN
3259
+  (2.1ms) CREATE TABLE "dictionaries" ("id" serial primary key, "language" character varying) 
3260
+  (0.8ms) CREATE VIEW "view_dictionaries" ("id", "name", "type", "created_at", "updated_at", "author", "title", "language") AS SELECT view_books.id, name,type,created_at,updated_at,author,title,language FROM view_books, dictionaries WHERE view_books.id = dictionaries.id
3261
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150101181703"]]
3262
+  (0.3ms) COMMIT
3263
+ Migrating to CreateFictions (20150101181916)
3264
+  (0.2ms) BEGIN
3265
+  (3.0ms) CREATE TABLE "fictions" ("id" serial primary key, "story" text)
3266
+  (0.9ms) CREATE VIEW "view_fictions" ("id", "name", "type", "created_at", "updated_at", "author", "title", "story") AS SELECT view_books.id, name,type,created_at,updated_at,author,title,story FROM view_books, fictions WHERE view_books.id = fictions.id
3267
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150101181916"]]
3268
+  (6.3ms) COMMIT
3269
+ Migrating to CreateBidules (20150102200342)
3270
+  (6.3ms) BEGIN
3271
+ DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/laurent/Desktop/code/citier4/test/dummy/db/migrate/20150102200342_create_bidules.rb:6)
3272
+  (3.5ms) CREATE TABLE "bidules" ("id" serial primary key, "name" character varying, "created_at" timestamp, "updated_at" timestamp) 
3273
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150102200342"]]
3274
+  (0.5ms) COMMIT
3275
+ Migrating to CreateAnimals (20150102200786)
3276
+  (0.3ms) BEGIN
3277
+ DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/laurent/Desktop/code/citier4/test/dummy/db/migrate/20150102200786_create_animals.rb:7)
3278
+  (2.6ms) CREATE TABLE "animals" ("id" serial primary key, "name" character varying, "race" character varying, "created_at" timestamp, "updated_at" timestamp) 
3279
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150102200786"]]
3280
+  (0.5ms) COMMIT
3281
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
3282
+  (1.7ms)  SELECT table_name, table_type
3283
+ FROM information_schema.tables
3284
+ WHERE table_schema IN ('"$user"','public')
3285
+ AND table_type = 'BASE TABLE'
3286
+ 
3287
+  (0.8ms) SELECT table_name, table_type
3288
+ FROM information_schema.tables
3289
+ WHERE table_schema IN ('"$user"','public')
3290
+ AND table_type = 'VIEW'
3291
+
3292
+  (1.3ms)  SELECT view_definition
3293
+ FROM information_schema.views
3294
+ WHERE table_catalog = (SELECT catalog_name FROM information_schema.information_schema_catalog_name)
3295
+ AND table_schema IN ('"$user"','public')
3296
+ AND table_name = 'view_books'
3297
+ 
3298
+  (0.8ms) SELECT view_definition
3299
+ FROM information_schema.views
3300
+ WHERE table_catalog = (SELECT catalog_name FROM information_schema.information_schema_catalog_name)
3301
+ AND table_schema IN ('"$user"','public')
3302
+ AND table_name = 'view_dictionaries'
3303
+
3304
+  (0.7ms)  SELECT view_definition
3305
+ FROM information_schema.views
3306
+ WHERE table_catalog = (SELECT catalog_name FROM information_schema.information_schema_catalog_name)
3307
+ AND table_schema IN ('"$user"','public')
3308
+ AND table_name = 'view_fictions'
3309
+ 
3310
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
3311
+  (1.8ms)  SELECT table_name, table_type
3312
+ FROM information_schema.tables
3313
+ WHERE table_schema IN ('"$user"','public')
3314
+ AND table_type IN ('BASE TABLE', 'VIEW')
3315
+ 
3316
+  (0.4ms) BEGIN
3317
+ SQL (0.7ms) INSERT INTO "products" ("name", "type", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "buffat"], ["type", "Dictionary"], ["created_at", "2015-01-17 10:10:12.540873"], ["updated_at", "2015-01-17 10:10:12.540873"]]
3318
+  (6.5ms) COMMIT
3319
+  (0.3ms) BEGIN
3320
+ SQL (0.5ms) INSERT INTO "books" ("author", "title", "id") VALUES ($1, $2, $3) RETURNING "id" [["author", "laurent"], ["title", "robert"], ["id", 1]]
3321
+  (6.3ms) COMMIT
3322
+  (2.5ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
3323
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3324
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
3325
+ Migrating to CreateProducts (20141228200436)
3326
+  (0.1ms) BEGIN
3327
+ DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/laurent/Desktop/code/citier4/test/dummy/db/migrate/20141228200436_create_products.rb:7)
3328
+  (2.6ms) CREATE TABLE "products" ("id" serial primary key, "name" character varying, "type" character varying, "created_at" timestamp, "updated_at" timestamp) 
3329
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141228200436"]]
3330
+  (0.5ms) COMMIT
3331
+ Migrating to CreateBooks (20141228200756)
3332
+  (0.2ms) BEGIN
3333
+  (2.6ms) CREATE TABLE "books" ("id" serial primary key, "author" character varying, "title" character varying) 
3334
+  (1.8ms) SELECT table_name, table_type
3335
+ FROM information_schema.tables
3336
+ WHERE table_schema IN ('"$user"','public')
3337
+ AND table_type IN ('BASE TABLE', 'VIEW')
3338
+
3339
+  (1.1ms) CREATE VIEW "view_books" ("id", "name", "type", "created_at", "updated_at", "author", "title") AS SELECT products.id, name,type,created_at,updated_at,author,title FROM products, books WHERE products.id = books.id
3340
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141228200756"]]
3341
+  (0.5ms) COMMIT
3342
+ Migrating to CreateDictionaries (20150101181703)
3343
+  (0.3ms) BEGIN
3344
+  (3.8ms) CREATE TABLE "dictionaries" ("id" serial primary key, "language" character varying) 
3345
+  (0.8ms) CREATE VIEW "view_dictionaries" ("id", "name", "type", "created_at", "updated_at", "author", "title", "language") AS SELECT view_books.id, name,type,created_at,updated_at,author,title,language FROM view_books, dictionaries WHERE view_books.id = dictionaries.id
3346
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150101181703"]]
3347
+  (0.3ms) COMMIT
3348
+ Migrating to CreateFictions (20150101181916)
3349
+  (0.2ms) BEGIN
3350
+  (3.0ms) CREATE TABLE "fictions" ("id" serial primary key, "story" text)
3351
+  (1.0ms) CREATE VIEW "view_fictions" ("id", "name", "type", "created_at", "updated_at", "author", "title", "story") AS SELECT view_books.id, name,type,created_at,updated_at,author,title,story FROM view_books, fictions WHERE view_books.id = fictions.id
3352
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150101181916"]]
3353
+  (0.4ms) COMMIT
3354
+ Migrating to CreateBidules (20150102200342)
3355
+  (0.2ms) BEGIN
3356
+ DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/laurent/Desktop/code/citier4/test/dummy/db/migrate/20150102200342_create_bidules.rb:6)
3357
+  (2.3ms) CREATE TABLE "bidules" ("id" serial primary key, "name" character varying, "created_at" timestamp, "updated_at" timestamp) 
3358
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150102200342"]]
3359
+  (0.5ms) COMMIT
3360
+ Migrating to CreateAnimals (20150102200786)
3361
+  (0.3ms) BEGIN
3362
+ DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/laurent/Desktop/code/citier4/test/dummy/db/migrate/20150102200786_create_animals.rb:7)
3363
+  (3.3ms) CREATE TABLE "animals" ("id" serial primary key, "name" character varying, "race" character varying, "created_at" timestamp, "updated_at" timestamp) 
3364
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150102200786"]]
3365
+  (0.5ms) COMMIT
3366
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
3367
+  (1.2ms)  SELECT table_name, table_type
3368
+ FROM information_schema.tables
3369
+ WHERE table_schema IN ('"$user"','public')
3370
+ AND table_type = 'BASE TABLE'
3371
+ 
3372
+  (0.6ms) SELECT table_name, table_type
3373
+ FROM information_schema.tables
3374
+ WHERE table_schema IN ('"$user"','public')
3375
+ AND table_type = 'VIEW'
3376
+
3377
+  (1.2ms)  SELECT view_definition
3378
+ FROM information_schema.views
3379
+ WHERE table_catalog = (SELECT catalog_name FROM information_schema.information_schema_catalog_name)
3380
+ AND table_schema IN ('"$user"','public')
3381
+ AND table_name = 'view_books'
3382
+ 
3383
+  (0.7ms) SELECT view_definition
3384
+ FROM information_schema.views
3385
+ WHERE table_catalog = (SELECT catalog_name FROM information_schema.information_schema_catalog_name)
3386
+ AND table_schema IN ('"$user"','public')
3387
+ AND table_name = 'view_dictionaries'
3388
+
3389
+  (0.7ms)  SELECT view_definition
3390
+ FROM information_schema.views
3391
+ WHERE table_catalog = (SELECT catalog_name FROM information_schema.information_schema_catalog_name)
3392
+ AND table_schema IN ('"$user"','public')
3393
+ AND table_name = 'view_fictions'
3394
+ 
3395
+  (2.3ms)  SELECT table_name, table_type
3396
+ FROM information_schema.tables
3397
+ WHERE table_schema IN ('"$user"','public')
3398
+ AND table_type IN ('BASE TABLE', 'VIEW')
3399
+ 
3400
+  (0.3ms) BEGIN
3401
+ SQL (0.7ms) INSERT INTO "products" ("name", "type", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "unDico"], ["type", "Dictionary"], ["created_at", "2015-01-17 10:34:35.915017"], ["updated_at", "2015-01-17 10:34:35.915017"]]
3402
+  (5.7ms) COMMIT
3403
+  (0.4ms) BEGIN
3404
+ SQL (0.6ms) INSERT INTO "books" ("author", "title", "id") VALUES ($1, $2, $3) RETURNING "id" [["author", "laurent"], ["title", "Robert"], ["id", 1]]
3405
+  (6.4ms) COMMIT
3406
+  (2.9ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
3407
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3408
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
3409
+ Migrating to CreateProducts (20141228200436)
3410
+  (0.1ms) BEGIN
3411
+ DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/laurent/Desktop/code/citier4/test/dummy/db/migrate/20141228200436_create_products.rb:7)
3412
+  (3.2ms) CREATE TABLE "products" ("id" serial primary key, "name" character varying, "type" character varying, "created_at" timestamp, "updated_at" timestamp) 
3413
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141228200436"]]
3414
+  (0.5ms) COMMIT
3415
+ Migrating to CreateBooks (20141228200756)
3416
+  (0.2ms) BEGIN
3417
+  (2.2ms) CREATE TABLE "books" ("id" serial primary key, "author" character varying, "title" character varying) 
3418
+  (2.1ms) SELECT table_name, table_type
3419
+ FROM information_schema.tables
3420
+ WHERE table_schema IN ('"$user"','public')
3421
+ AND table_type IN ('BASE TABLE', 'VIEW')
3422
+
3423
+  (1.0ms) CREATE VIEW "view_books" ("id", "name", "type", "created_at", "updated_at", "author", "title") AS SELECT products.id, name,type,created_at,updated_at,author,title FROM products, books WHERE products.id = books.id
3424
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141228200756"]]
3425
+  (0.5ms) COMMIT
3426
+ Migrating to CreateDictionaries (20150101181703)
3427
+  (0.3ms) BEGIN
3428
+  (4.1ms) CREATE TABLE "dictionaries" ("id" serial primary key, "language" character varying) 
3429
+  (1.4ms) CREATE VIEW "view_dictionaries" ("id", "name", "type", "created_at", "updated_at", "author", "title", "language") AS SELECT view_books.id, name,type,created_at,updated_at,author,title,language FROM view_books, dictionaries WHERE view_books.id = dictionaries.id
3430
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150101181703"]]
3431
+  (0.4ms) COMMIT
3432
+ Migrating to CreateFictions (20150101181916)
3433
+  (0.2ms) BEGIN
3434
+  (2.4ms) CREATE TABLE "fictions" ("id" serial primary key, "story" text)
3435
+  (0.8ms) CREATE VIEW "view_fictions" ("id", "name", "type", "created_at", "updated_at", "author", "title", "story") AS SELECT view_books.id, name,type,created_at,updated_at,author,title,story FROM view_books, fictions WHERE view_books.id = fictions.id
3436
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150101181916"]]
3437
+  (0.4ms) COMMIT
3438
+ Migrating to CreateBidules (20150102200342)
3439
+  (0.3ms) BEGIN
3440
+ DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/laurent/Desktop/code/citier4/test/dummy/db/migrate/20150102200342_create_bidules.rb:6)
3441
+  (2.2ms) CREATE TABLE "bidules" ("id" serial primary key, "name" character varying, "created_at" timestamp, "updated_at" timestamp) 
3442
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150102200342"]]
3443
+  (0.4ms) COMMIT
3444
+ Migrating to CreateAnimals (20150102200786)
3445
+  (0.2ms) BEGIN
3446
+ DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/laurent/Desktop/code/citier4/test/dummy/db/migrate/20150102200786_create_animals.rb:7)
3447
+  (2.5ms) CREATE TABLE "animals" ("id" serial primary key, "name" character varying, "race" character varying, "created_at" timestamp, "updated_at" timestamp) 
3448
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150102200786"]]
3449
+  (0.3ms) COMMIT
3450
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
3451
+  (1.5ms)  SELECT table_name, table_type
3452
+ FROM information_schema.tables
3453
+ WHERE table_schema IN ('"$user"','public')
3454
+ AND table_type = 'BASE TABLE'
3455
+ 
3456
+  (0.6ms) SELECT table_name, table_type
3457
+ FROM information_schema.tables
3458
+ WHERE table_schema IN ('"$user"','public')
3459
+ AND table_type = 'VIEW'
3460
+
3461
+  (1.4ms)  SELECT view_definition
3462
+ FROM information_schema.views
3463
+ WHERE table_catalog = (SELECT catalog_name FROM information_schema.information_schema_catalog_name)
3464
+ AND table_schema IN ('"$user"','public')
3465
+ AND table_name = 'view_books'
3466
+ 
3467
+  (0.8ms) SELECT view_definition
3468
+ FROM information_schema.views
3469
+ WHERE table_catalog = (SELECT catalog_name FROM information_schema.information_schema_catalog_name)
3470
+ AND table_schema IN ('"$user"','public')
3471
+ AND table_name = 'view_dictionaries'
3472
+
3473
+  (1.0ms)  SELECT view_definition
3474
+ FROM information_schema.views
3475
+ WHERE table_catalog = (SELECT catalog_name FROM information_schema.information_schema_catalog_name)
3476
+ AND table_schema IN ('"$user"','public')
3477
+ AND table_name = 'view_fictions'
3478
+ 
3479
+  (2.7ms)  SELECT table_name, table_type
3480
+ FROM information_schema.tables
3481
+ WHERE table_schema IN ('"$user"','public')
3482
+ AND table_type IN ('BASE TABLE', 'VIEW')
3483
+ 
3484
+  (0.3ms) BEGIN
3485
+ SQL (0.7ms) INSERT INTO "products" ("name", "type", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "un nom"], ["type", "Dictionary"], ["created_at", "2015-01-17 10:44:23.134113"], ["updated_at", "2015-01-17 10:44:23.134113"]]
3486
+  (6.1ms) COMMIT
3487
+  (0.3ms) BEGIN
3488
+ SQL (0.6ms) INSERT INTO "books" ("author", "title", "id") VALUES ($1, $2, $3) RETURNING "id" [["author", "laurent"], ["title", "un Ttire"], ["id", 1]]
3489
+  (6.2ms) COMMIT
3490
+  (0.4ms) BEGIN
3491
+ SQL (0.6ms) INSERT INTO "dictionaries" ("id") VALUES ($1) RETURNING "id" [["id", 1]]
3492
+  (6.1ms) COMMIT
3493
+  (2.2ms)  SELECT table_name, table_type
3494
+ FROM information_schema.tables
3495
+ WHERE table_schema IN ('"$user"','public')
3496
+ AND table_type IN ('BASE TABLE', 'VIEW')
3497
+ 
3498
+ Product Load (0.6ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1
3499
+ Dictionary Load (0.6ms) SELECT "view_dictionaries".* FROM "view_dictionaries" WHERE "view_dictionaries"."type" IN ('Dictionary') AND "view_dictionaries"."id" = $1 LIMIT 1 [["id", 1]]
3500
+  (2.3ms)  SELECT table_name, table_type
3501
+ FROM information_schema.tables
3502
+ WHERE table_schema IN ('"$user"','public')
3503
+ AND table_type IN ('BASE TABLE', 'VIEW')
3504
+ 
3505
+ Product Load (0.8ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1
3506
+ Dictionary Load (0.6ms) SELECT "view_dictionaries".* FROM "view_dictionaries" WHERE "view_dictionaries"."type" IN ('Dictionary') AND "view_dictionaries"."id" = $1 LIMIT 1 [["id", 1]]
3507
+  (3.0ms)  SELECT table_name, table_type
3508
+ FROM information_schema.tables
3509
+ WHERE table_schema IN ('"$user"','public')
3510
+ AND table_type IN ('BASE TABLE', 'VIEW')
3511
+ 
3512
+ Product Load (0.6ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1
3513
+ Dictionary Load (0.6ms) SELECT "view_dictionaries".* FROM "view_dictionaries" WHERE "view_dictionaries"."type" IN ('Dictionary') AND "view_dictionaries"."id" = $1 LIMIT 1 [["id", 1]]
3514
+ Dictionary Load (0.9ms) SELECT "view_dictionaries".* FROM "view_dictionaries" WHERE "view_dictionaries"."type" IN ('Dictionary') AND "view_dictionaries"."id" = $1 LIMIT 1 [["id", 1]]
3515
+ Dictionary Load (0.8ms) SELECT "view_dictionaries".* FROM "view_dictionaries" WHERE "view_dictionaries"."type" IN ('Dictionary') AND "view_dictionaries"."id" = $1 LIMIT 1 [["id", 1]]
3516
+  (2.2ms)  SELECT table_name, table_type
3517
+ FROM information_schema.tables
3518
+ WHERE table_schema IN ('"$user"','public')
3519
+ AND table_type IN ('BASE TABLE', 'VIEW')
3520
+ 
3521
+ Product Load (0.6ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1
3522
+ Dictionary Load (0.9ms) SELECT "view_dictionaries".* FROM "view_dictionaries" WHERE "view_dictionaries"."type" IN ('Dictionary') AND "view_dictionaries"."id" = $1 LIMIT 1 [["id", 1]]
3523
+  (0.2ms) BEGIN
3524
+ SQL (0.4ms) INSERT INTO "products" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "toto"], ["created_at", "2015-01-17 11:37:11.221208"], ["updated_at", "2015-01-17 11:37:11.221208"]]
3525
+  (1.0ms) COMMIT
3526
+  (0.2ms) BEGIN
3527
+  (0.2ms) COMMIT
3528
+  (2.2ms)  SELECT table_name, table_type
3529
+ FROM information_schema.tables
3530
+ WHERE table_schema IN ('"$user"','public')
3531
+ AND table_type IN ('BASE TABLE', 'VIEW')
3532
+ 
3533
+ Product Load (0.6ms) SELECT "products".* FROM "products" ORDER BY "products"."id" ASC LIMIT 1
3534
+ Dictionary Load (0.7ms) SELECT "view_dictionaries".* FROM "view_dictionaries" WHERE "view_dictionaries"."type" IN ('Dictionary') AND "view_dictionaries"."id" = $1 LIMIT 1 [["id", 1]]
3535
+  (0.3ms) BEGIN
3536
+  (2.2ms) COMMIT
3537
+  (0.3ms) BEGIN
3538
+ SQL (0.6ms) UPDATE "books" SET "id" = $1 WHERE "books"."id" = $2 [["id", 1], ["id", 1]]
3539
+  (0.5ms) COMMIT
3540
+  (0.2ms) BEGIN
3541
+ SQL (0.5ms) UPDATE "dictionaries" SET "id" = $1 WHERE "dictionaries"."id" = $2 [["id", 1], ["id", 1]]
3542
+  (0.4ms) COMMIT
3543
+  (0.3ms) BEGIN
3544
+ SQL (0.6ms) UPDATE "products" SET "name" = $1, "updated_at" = $2 WHERE "products"."id" = $3 [["name", "bordel de merde"], ["updated_at", "2015-01-17 11:51:32.874709"], ["id", 1]]
3545
+  (6.1ms) COMMIT
3546
+  (0.2ms) BEGIN
3547
+ SQL (0.5ms) UPDATE "books" SET "id" = $1 WHERE "books"."id" = $2 [["id", 1], ["id", 1]]
3548
+  (0.6ms) COMMIT
3549
+  (0.2ms) BEGIN
3550
+ SQL (0.3ms) UPDATE "dictionaries" SET "id" = $1 WHERE "dictionaries"."id" = $2 [["id", 1], ["id", 1]]
3551
+  (0.4ms) COMMIT
3552
+  (1.8ms)  SELECT table_name, table_type
3553
+ FROM information_schema.tables
3554
+ WHERE table_schema IN ('"$user"','public')
3555
+ AND table_type IN ('BASE TABLE', 'VIEW')
3556
+ 
3557
+  (0.1ms) BEGIN
3558
+ SQL (0.7ms) INSERT INTO "products" ("name", "type", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "UnNom"], ["type", "Book"], ["created_at", "2015-01-17 12:20:53.326583"], ["updated_at", "2015-01-17 12:20:53.326583"]]
3559
+  (1.1ms) COMMIT
3560
+  (0.1ms) BEGIN
3561
+ SQL (0.2ms) INSERT INTO "books" ("author", "id") VALUES ($1, $2) RETURNING "id" [["author", nil], ["id", 3]]
3562
+  (0.3ms) COMMIT
3563
+  (2.0ms)  SELECT table_name, table_type
3564
+ FROM information_schema.tables
3565
+ WHERE table_schema IN ('"$user"','public')
3566
+ AND table_type IN ('BASE TABLE', 'VIEW')
3567
+ 
3568
+  (0.2ms) BEGIN
3569
+ SQL (0.4ms) INSERT INTO "products" ("name", "type", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "UnNom"], ["type", "Book"], ["created_at", "2015-01-17 12:21:29.897868"], ["updated_at", "2015-01-17 12:21:29.897868"]]
3570
+  (0.5ms) COMMIT
3571
+  (0.2ms) BEGIN
3572
+ SQL (0.3ms) INSERT INTO "books" ("author", "id") VALUES ($1, $2) RETURNING "id" [["author", nil], ["id", 4]]
3573
+  (0.4ms) COMMIT
3574
+  (2.6ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
3575
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3576
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
3577
+ Migrating to CreateProducts (20141228200436)
3578
+  (0.1ms) BEGIN
3579
+ DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/laurent/Desktop/code/citier4/test/dummy/db/migrate/20141228200436_create_products.rb:7)
3580
+  (2.6ms) CREATE TABLE "products" ("id" serial primary key, "name" character varying, "type" character varying, "created_at" timestamp, "updated_at" timestamp) 
3581
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141228200436"]]
3582
+  (0.5ms) COMMIT
3583
+ Migrating to CreateBooks (20141228200756)
3584
+  (0.3ms) BEGIN
3585
+  (2.3ms) CREATE TABLE "books" ("id" serial primary key, "author" character varying, "title" character varying) 
3586
+  (1.8ms) SELECT table_name, table_type
3587
+ FROM information_schema.tables
3588
+ WHERE table_schema IN ('"$user"','public')
3589
+ AND table_type IN ('BASE TABLE', 'VIEW')
3590
+
3591
+  (1.3ms) CREATE VIEW "view_books" ("id", "name", "type", "created_at", "updated_at", "author", "title") AS SELECT products.id, name,type,created_at,updated_at,author,title FROM products, books WHERE products.id = books.id
3592
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141228200756"]]
3593
+  (0.6ms) COMMIT
3594
+ Migrating to CreateDictionaries (20150101181703)
3595
+  (0.3ms) BEGIN
3596
+  (2.9ms) CREATE TABLE "dictionaries" ("id" serial primary key, "language" character varying) 
3597
+  (0.8ms) CREATE VIEW "view_dictionaries" ("id", "name", "type", "created_at", "updated_at", "author", "title", "language") AS SELECT view_books.id, name,type,created_at,updated_at,author,title,language FROM view_books, dictionaries WHERE view_books.id = dictionaries.id
3598
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150101181703"]]
3599
+  (0.4ms) COMMIT
3600
+ Migrating to CreateFictions (20150101181916)
3601
+  (0.2ms) BEGIN
3602
+  (3.4ms) CREATE TABLE "fictions" ("id" serial primary key, "story" text)
3603
+  (0.8ms) CREATE VIEW "view_fictions" ("id", "name", "type", "created_at", "updated_at", "author", "title", "story") AS SELECT view_books.id, name,type,created_at,updated_at,author,title,story FROM view_books, fictions WHERE view_books.id = fictions.id
3604
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150101181916"]]
3605
+  (0.4ms) COMMIT
3606
+ Migrating to CreateBidules (20150102200342)
3607
+  (0.2ms) BEGIN
3608
+ DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/laurent/Desktop/code/citier4/test/dummy/db/migrate/20150102200342_create_bidules.rb:6)
3609
+  (2.1ms) CREATE TABLE "bidules" ("id" serial primary key, "name" character varying, "created_at" timestamp, "updated_at" timestamp) 
3610
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150102200342"]]
3611
+  (0.4ms) COMMIT
3612
+ Migrating to CreateAnimals (20150102200786)
3613
+  (0.3ms) BEGIN
3614
+ DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/laurent/Desktop/code/citier4/test/dummy/db/migrate/20150102200786_create_animals.rb:7)
3615
+  (2.8ms) CREATE TABLE "animals" ("id" serial primary key, "name" character varying, "race" character varying, "created_at" timestamp, "updated_at" timestamp) 
3616
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150102200786"]]
3617
+  (0.3ms) COMMIT
3618
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
3619
+  (1.4ms)  SELECT table_name, table_type
3620
+ FROM information_schema.tables
3621
+ WHERE table_schema IN ('"$user"','public')
3622
+ AND table_type = 'BASE TABLE'
3623
+ 
3624
+  (0.6ms) SELECT table_name, table_type
3625
+ FROM information_schema.tables
3626
+ WHERE table_schema IN ('"$user"','public')
3627
+ AND table_type = 'VIEW'
3628
+
3629
+  (1.2ms)  SELECT view_definition
3630
+ FROM information_schema.views
3631
+ WHERE table_catalog = (SELECT catalog_name FROM information_schema.information_schema_catalog_name)
3632
+ AND table_schema IN ('"$user"','public')
3633
+ AND table_name = 'view_books'
3634
+ 
3635
+  (0.7ms) SELECT view_definition
3636
+ FROM information_schema.views
3637
+ WHERE table_catalog = (SELECT catalog_name FROM information_schema.information_schema_catalog_name)
3638
+ AND table_schema IN ('"$user"','public')
3639
+ AND table_name = 'view_dictionaries'
3640
+
3641
+  (0.7ms)  SELECT view_definition
3642
+ FROM information_schema.views
3643
+ WHERE table_catalog = (SELECT catalog_name FROM information_schema.information_schema_catalog_name)
3644
+ AND table_schema IN ('"$user"','public')
3645
+ AND table_name = 'view_fictions'
3646
+ 
3647
+  (1.9ms)  SELECT table_name, table_type
3648
+ FROM information_schema.tables
3649
+ WHERE table_schema IN ('"$user"','public')
3650
+ AND table_type IN ('BASE TABLE', 'VIEW')
3651
+ 
3652
+  (0.3ms) BEGIN
3653
+ SQL (0.7ms) INSERT INTO "products" ("name", "type", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "UnNom"], ["type", "Book"], ["created_at", "2015-01-17 12:24:12.368318"], ["updated_at", "2015-01-17 12:24:12.368318"]]
3654
+  (0.5ms) COMMIT
3655
+  (0.3ms) BEGIN
3656
+ SQL (0.5ms) INSERT INTO "books" ("author", "id") VALUES ($1, $2) RETURNING "id" [["author", nil], ["id", 1]]
3657
+  (0.4ms) COMMIT
3658
+  (2.5ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
3659
+  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3660
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
3661
+ Migrating to CreateProducts (20141228200436)
3662
+  (0.1ms) BEGIN
3663
+ DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/laurent/Desktop/code/citier4/test/dummy/db/migrate/20141228200436_create_products.rb:7)
3664
+  (3.4ms) CREATE TABLE "products" ("id" serial primary key, "name" character varying, "type" character varying, "created_at" timestamp, "updated_at" timestamp) 
3665
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141228200436"]]
3666
+  (0.5ms) COMMIT
3667
+ Migrating to CreateBooks (20141228200756)
3668
+  (0.2ms) BEGIN
3669
+  (2.2ms) CREATE TABLE "books" ("id" serial primary key, "author" character varying, "title" character varying) 
3670
+  (2.2ms) SELECT table_name, table_type
3671
+ FROM information_schema.tables
3672
+ WHERE table_schema IN ('"$user"','public')
3673
+ AND table_type IN ('BASE TABLE', 'VIEW')
3674
+
3675
+  (1.2ms) CREATE VIEW "view_books" ("id", "name", "type", "created_at", "updated_at", "author", "title") AS SELECT products.id, name,type,created_at,updated_at,author,title FROM products, books WHERE products.id = books.id
3676
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141228200756"]]
3677
+  (0.4ms) COMMIT
3678
+ Migrating to CreateDictionaries (20150101181703)
3679
+  (0.2ms) BEGIN
3680
+  (2.0ms) CREATE TABLE "dictionaries" ("id" serial primary key, "language" character varying) 
3681
+  (0.8ms) CREATE VIEW "view_dictionaries" ("id", "name", "type", "created_at", "updated_at", "author", "title", "language") AS SELECT view_books.id, name,type,created_at,updated_at,author,title,language FROM view_books, dictionaries WHERE view_books.id = dictionaries.id
3682
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150101181703"]]
3683
+  (0.4ms) COMMIT
3684
+ Migrating to CreateFictions (20150101181916)
3685
+  (0.3ms) BEGIN
3686
+  (2.7ms) CREATE TABLE "fictions" ("id" serial primary key, "story" text)
3687
+  (0.9ms) CREATE VIEW "view_fictions" ("id", "name", "type", "created_at", "updated_at", "author", "title", "story") AS SELECT view_books.id, name,type,created_at,updated_at,author,title,story FROM view_books, fictions WHERE view_books.id = fictions.id
3688
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150101181916"]]
3689
+  (0.3ms) COMMIT
3690
+ Migrating to CreateBidules (20150102200342)
3691
+  (0.2ms) BEGIN
3692
+ DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/laurent/Desktop/code/citier4/test/dummy/db/migrate/20150102200342_create_bidules.rb:6)
3693
+  (2.7ms) CREATE TABLE "bidules" ("id" serial primary key, "name" character varying, "created_at" timestamp, "updated_at" timestamp) 
3694
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150102200342"]]
3695
+  (0.4ms) COMMIT
3696
+ Migrating to CreateAnimals (20150102200786)
3697
+  (0.2ms) BEGIN
3698
+ DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/laurent/Desktop/code/citier4/test/dummy/db/migrate/20150102200786_create_animals.rb:7)
3699
+  (2.1ms) CREATE TABLE "animals" ("id" serial primary key, "name" character varying, "race" character varying, "created_at" timestamp, "updated_at" timestamp) 
3700
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150102200786"]]
3701
+  (0.4ms) COMMIT
3702
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
3703
+  (1.4ms)  SELECT table_name, table_type
3704
+ FROM information_schema.tables
3705
+ WHERE table_schema IN ('"$user"','public')
3706
+ AND table_type = 'BASE TABLE'
3707
+ 
3708
+  (0.6ms) SELECT table_name, table_type
3709
+ FROM information_schema.tables
3710
+ WHERE table_schema IN ('"$user"','public')
3711
+ AND table_type = 'VIEW'
3712
+
3713
+  (1.2ms)  SELECT view_definition
3714
+ FROM information_schema.views
3715
+ WHERE table_catalog = (SELECT catalog_name FROM information_schema.information_schema_catalog_name)
3716
+ AND table_schema IN ('"$user"','public')
3717
+ AND table_name = 'view_books'
3718
+ 
3719
+  (0.7ms) SELECT view_definition
3720
+ FROM information_schema.views
3721
+ WHERE table_catalog = (SELECT catalog_name FROM information_schema.information_schema_catalog_name)
3722
+ AND table_schema IN ('"$user"','public')
3723
+ AND table_name = 'view_dictionaries'
3724
+
3725
+  (0.7ms)  SELECT view_definition
3726
+ FROM information_schema.views
3727
+ WHERE table_catalog = (SELECT catalog_name FROM information_schema.information_schema_catalog_name)
3728
+ AND table_schema IN ('"$user"','public')
3729
+ AND table_name = 'view_fictions'
3730
+ 
3731
+  (1.8ms)  SELECT table_name, table_type
3732
+ FROM information_schema.tables
3733
+ WHERE table_schema IN ('"$user"','public')
3734
+ AND table_type IN ('BASE TABLE', 'VIEW')
3735
+ 
3736
+  (0.3ms) BEGIN
3737
+ SQL (0.6ms) INSERT INTO "products" ("name", "type", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "UnNom"], ["type", "Book"], ["created_at", "2015-01-17 12:27:27.932760"], ["updated_at", "2015-01-17 12:27:27.932760"]]
3738
+  (5.8ms) COMMIT
3739
+  (0.3ms) BEGIN
3740
+ SQL (0.6ms) INSERT INTO "books" ("id") VALUES ($1) RETURNING "id" [["id", 1]]
3741
+  (6.3ms) COMMIT
3742
+  (1.8ms)  SELECT table_name, table_type
3743
+ FROM information_schema.tables
3744
+ WHERE table_schema IN ('"$user"','public')
3745
+ AND table_type IN ('BASE TABLE', 'VIEW')
3746
+ 
3747
+  (0.3ms) BEGIN
3748
+ SQL (0.7ms) INSERT INTO "products" ("name", "type", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "UnNom"], ["type", "Book"], ["created_at", "2015-01-17 12:36:25.290014"], ["updated_at", "2015-01-17 12:36:25.290014"]]
3749
+  (6.4ms) COMMIT
3750
+  (1.8ms)  SELECT table_name, table_type
3751
+ FROM information_schema.tables
3752
+ WHERE table_schema IN ('"$user"','public')
3753
+ AND table_type IN ('BASE TABLE', 'VIEW')
3754
+ 
3755
+  (0.4ms) BEGIN
3756
+ SQL (0.5ms) INSERT INTO "products" ("name", "type", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "UnNom"], ["type", "Book"], ["created_at", "2015-01-17 12:37:35.185289"], ["updated_at", "2015-01-17 12:37:35.185289"]]
3757
+  (5.6ms) COMMIT
3758
+  (0.3ms) BEGIN
3759
+ SQL (0.4ms) INSERT INTO "books" ("author", "id") VALUES ($1, $2) RETURNING "id" [["author", "UnAuteur"], ["id", 3]]
3760
+  (6.1ms) COMMIT