forest_liana 2.15.3 → 2.15.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/app/services/forest_liana/schema_adapter.rb +6 -2
- data/lib/forest_liana/version.rb +1 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +1800 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a0db878eb70188ca63ea4accc197fd525ed5cae7
|
4
|
+
data.tar.gz: 162421558c6cdeab776306be38fc6ce322e496e7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e8d015eb827d74a8e1c0009c82340af3c6ac64bfeb76c6158cd1237e750bc08f8cd1542a73d8da8f17d51134beae2e2fbdb03a04b98f9c20b6a693ba9b22e0e
|
7
|
+
data.tar.gz: 86c54422a3e6a18976f0a316e3a0869a130077437ac394b2ee44a70a31b4c3c77a37d0cf0180b24745a2af9ae173b1d63962974d421311ed5ffcf34b5a20dfae
|
data/Rakefile
CHANGED
@@ -14,7 +14,7 @@ RDoc::Task.new(:rdoc) do |rdoc|
|
|
14
14
|
rdoc.rdoc_files.include('lib/**/*.rb')
|
15
15
|
end
|
16
16
|
|
17
|
-
APP_RAKEFILE = File.expand_path("../
|
17
|
+
APP_RAKEFILE = File.expand_path("../spec/dummy/Rakefile", __FILE__)
|
18
18
|
load 'rails/tasks/engine.rake'
|
19
19
|
|
20
20
|
|
@@ -98,7 +98,8 @@ module ForestLiana
|
|
98
98
|
def add_columns
|
99
99
|
@model.columns.each do |column|
|
100
100
|
unless is_sti_column_of_child_model?(column)
|
101
|
-
|
101
|
+
field_schema = get_schema_for_column(column)
|
102
|
+
collection.fields << field_schema unless field_schema.nil?
|
102
103
|
end
|
103
104
|
end
|
104
105
|
|
@@ -283,7 +284,10 @@ module ForestLiana
|
|
283
284
|
end
|
284
285
|
|
285
286
|
def get_schema_for_column(column)
|
286
|
-
|
287
|
+
column_type = get_type_for(column)
|
288
|
+
return nil if column_type.nil?
|
289
|
+
|
290
|
+
schema = { field: column.name, type: column_type }
|
287
291
|
add_enum_values_if_is_enum(schema, column)
|
288
292
|
add_enum_values_if_is_sti_model(schema, column)
|
289
293
|
add_default_value(schema, column)
|
data/lib/forest_liana/version.rb
CHANGED
data/test/dummy/db/test.sqlite3
CHANGED
Binary file
|
data/test/dummy/log/test.log
CHANGED
@@ -1058,3 +1058,1803 @@ ForestLiana::SchemaAdapterTest: test_Integer_should_have_the_type_`Number`
|
|
1058
1058
|
ForestLiana::SchemaAdapterTest: test_Date_should_have_the_type_`Date`
|
1059
1059
|
---------------------------------------------------------------------
|
1060
1060
|
[1m[35m (0.0ms)[0m rollback transaction
|
1061
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
1062
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
1063
|
+
[1m[36m (1.2ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
1064
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
1065
|
+
Migrating to CreateDateField (20150608130516)
|
1066
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1067
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "date_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "field" date)
|
1068
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150608130516"]]
|
1069
|
+
[1m[35m (2.0ms)[0m commit transaction
|
1070
|
+
Migrating to CreateIntegerField (20150608131430)
|
1071
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1072
|
+
[1m[35m (0.7ms)[0m CREATE TABLE "integer_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "field" integer)
|
1073
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150608131430"]]
|
1074
|
+
[1m[35m (2.3ms)[0m commit transaction
|
1075
|
+
Migrating to CreateDecimalField (20150608131603)
|
1076
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1077
|
+
[1m[35m (0.7ms)[0m CREATE TABLE "decimal_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "field" decimal)
|
1078
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150608131603"]]
|
1079
|
+
[1m[35m (1.0ms)[0m commit transaction
|
1080
|
+
Migrating to CreateFloatField (20150608131610)
|
1081
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1082
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "float_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "field" float)
|
1083
|
+
[1m[36mSQL (12.4ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150608131610"]]
|
1084
|
+
[1m[35m (6.9ms)[0m commit transaction
|
1085
|
+
Migrating to CreateBooleanField (20150608132159)
|
1086
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1087
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "boolean_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "field" boolean)
|
1088
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150608132159"]]
|
1089
|
+
[1m[35m (0.8ms)[0m commit transaction
|
1090
|
+
Migrating to CreateStringField (20150608132621)
|
1091
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1092
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "string_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "field" varchar)
|
1093
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150608132621"]]
|
1094
|
+
[1m[35m (15.2ms)[0m commit transaction
|
1095
|
+
Migrating to CreateBelongsToField (20150608133038)
|
1096
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1097
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "belongs_to_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "has_one_field_id" integer, "has_many_class_name_field_id" integer, "has_many_field_id" integer)
|
1098
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_belongs_to_fields_on_has_one_field_id" ON "belongs_to_fields" ("has_one_field_id")[0m
|
1099
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1100
|
+
FROM sqlite_master
|
1101
|
+
WHERE name='index_belongs_to_fields_on_has_one_field_id' AND type='index'
|
1102
|
+
UNION ALL
|
1103
|
+
SELECT sql
|
1104
|
+
FROM sqlite_temp_master
|
1105
|
+
WHERE name='index_belongs_to_fields_on_has_one_field_id' AND type='index'
|
1106
|
+
|
1107
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_belongs_to_fields_on_has_many_class_name_field_id" ON "belongs_to_fields" ("has_many_class_name_field_id")[0m
|
1108
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1109
|
+
FROM sqlite_master
|
1110
|
+
WHERE name='index_belongs_to_fields_on_has_many_class_name_field_id' AND type='index'
|
1111
|
+
UNION ALL
|
1112
|
+
SELECT sql
|
1113
|
+
FROM sqlite_temp_master
|
1114
|
+
WHERE name='index_belongs_to_fields_on_has_many_class_name_field_id' AND type='index'
|
1115
|
+
|
1116
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1117
|
+
FROM sqlite_master
|
1118
|
+
WHERE name='index_belongs_to_fields_on_has_one_field_id' AND type='index'
|
1119
|
+
UNION ALL
|
1120
|
+
SELECT sql
|
1121
|
+
FROM sqlite_temp_master
|
1122
|
+
WHERE name='index_belongs_to_fields_on_has_one_field_id' AND type='index'
|
1123
|
+
[0m
|
1124
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_belongs_to_fields_on_has_many_field_id" ON "belongs_to_fields" ("has_many_field_id")
|
1125
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150608133038"]]
|
1126
|
+
[1m[35m (5.5ms)[0m commit transaction
|
1127
|
+
Migrating to CreateHasOneField (20150608133044)
|
1128
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1129
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "has_one_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "checked" boolean, "status" integer DEFAULT 0)
|
1130
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150608133044"]]
|
1131
|
+
[1m[35m (3.2ms)[0m commit transaction
|
1132
|
+
Migrating to CreateHasManyField (20150608150016)
|
1133
|
+
[1m[36m (0.6ms)[0m [1mbegin transaction[0m
|
1134
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "has_many_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "has_many_through_field_id" integer)
|
1135
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_has_many_fields_on_has_many_through_field_id" ON "has_many_fields" ("has_many_through_field_id")[0m
|
1136
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150608150016"]]
|
1137
|
+
[1m[36m (1.6ms)[0m [1mcommit transaction[0m
|
1138
|
+
Migrating to CreateBelongsToClassNameField (20150609114636)
|
1139
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1140
|
+
[1m[36m (0.5ms)[0m [1mCREATE TABLE "belongs_to_class_name_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "foo_id" integer) [0m
|
1141
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_belongs_to_class_name_fields_on_foo_id" ON "belongs_to_class_name_fields" ("foo_id")
|
1142
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150609114636"]]
|
1143
|
+
[1m[35m (1.1ms)[0m commit transaction
|
1144
|
+
Migrating to CreateHasAndBelongsToManyField (20150612112520)
|
1145
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1146
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "has_and_belongs_to_many_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)
|
1147
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150612112520"]]
|
1148
|
+
[1m[35m (1.1ms)[0m commit transaction
|
1149
|
+
Migrating to CreatePolymorphicField (20150616150629)
|
1150
|
+
[1m[36m (0.5ms)[0m [1mbegin transaction[0m
|
1151
|
+
[1m[35m (9.2ms)[0m CREATE TABLE "polymorphic_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "has_one_field_id" integer)
|
1152
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_polymorphic_fields_on_has_one_field_id" ON "polymorphic_fields" ("has_one_field_id")[0m
|
1153
|
+
[1m[35mSQL (2.8ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150616150629"]]
|
1154
|
+
[1m[36m (2.5ms)[0m [1mcommit transaction[0m
|
1155
|
+
Migrating to CreateHasManyClassNameField (20150623115554)
|
1156
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1157
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "has_many_class_name_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL) [0m
|
1158
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150623115554"]]
|
1159
|
+
[1m[36m (2.5ms)[0m [1mcommit transaction[0m
|
1160
|
+
Migrating to CreateHasManyThroughField (20150814081918)
|
1161
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1162
|
+
[1m[36m (0.6ms)[0m [1mCREATE TABLE "has_many_through_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL) [0m
|
1163
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150814081918"]]
|
1164
|
+
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
1165
|
+
Migrating to CreateOwner (20160627172810)
|
1166
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1167
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "owners" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar) [0m
|
1168
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160627172810"]]
|
1169
|
+
[1m[36m (2.1ms)[0m [1mcommit transaction[0m
|
1170
|
+
Migrating to CreateTree (20160627172951)
|
1171
|
+
[1m[35m (0.2ms)[0m begin transaction
|
1172
|
+
[1m[36m (3.5ms)[0m [1mCREATE TABLE "trees" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "owner_id" integer) [0m
|
1173
|
+
[1m[35m (0.3ms)[0m CREATE INDEX "index_trees_on_owner_id" ON "trees" ("owner_id")
|
1174
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160627172951"]]
|
1175
|
+
[1m[35m (26.7ms)[0m commit transaction
|
1176
|
+
Migrating to AddTimestamps (20160628173505)
|
1177
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1178
|
+
[1m[35m (1.0ms)[0m ALTER TABLE "owners" ADD "created_at" datetime
|
1179
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "owners" ADD "updated_at" datetime[0m
|
1180
|
+
[1m[35m (0.1ms)[0m ALTER TABLE "trees" ADD "created_at" datetime
|
1181
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "trees" ADD "updated_at" datetime[0m
|
1182
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160628173505"]]
|
1183
|
+
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
1184
|
+
Migrating to CreateSerializeField (20170614141921)
|
1185
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1186
|
+
[1m[36m (0.5ms)[0m [1mCREATE TABLE "serialize_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "field" varchar) [0m
|
1187
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170614141921"]]
|
1188
|
+
[1m[36m (4.0ms)[0m [1mcommit transaction[0m
|
1189
|
+
Migrating to CreateReferencesTable (20181111162121)
|
1190
|
+
[1m[35m (0.2ms)[0m begin transaction
|
1191
|
+
[1m[36m (2.9ms)[0m [1mCREATE TABLE "references" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL) [0m
|
1192
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20181111162121"]]
|
1193
|
+
[1m[36m (12.0ms)[0m [1mcommit transaction[0m
|
1194
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
1195
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1196
|
+
FROM sqlite_master
|
1197
|
+
WHERE name='index_belongs_to_class_name_fields_on_foo_id' AND type='index'
|
1198
|
+
UNION ALL
|
1199
|
+
SELECT sql
|
1200
|
+
FROM sqlite_temp_master
|
1201
|
+
WHERE name='index_belongs_to_class_name_fields_on_foo_id' AND type='index'
|
1202
|
+
[0m
|
1203
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1204
|
+
FROM sqlite_master
|
1205
|
+
WHERE name='index_belongs_to_fields_on_has_many_field_id' AND type='index'
|
1206
|
+
UNION ALL
|
1207
|
+
SELECT sql
|
1208
|
+
FROM sqlite_temp_master
|
1209
|
+
WHERE name='index_belongs_to_fields_on_has_many_field_id' AND type='index'
|
1210
|
+
|
1211
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1212
|
+
FROM sqlite_master
|
1213
|
+
WHERE name='index_belongs_to_fields_on_has_many_class_name_field_id' AND type='index'
|
1214
|
+
UNION ALL
|
1215
|
+
SELECT sql
|
1216
|
+
FROM sqlite_temp_master
|
1217
|
+
WHERE name='index_belongs_to_fields_on_has_many_class_name_field_id' AND type='index'
|
1218
|
+
[0m
|
1219
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
1220
|
+
FROM sqlite_master
|
1221
|
+
WHERE name='index_belongs_to_fields_on_has_one_field_id' AND type='index'
|
1222
|
+
UNION ALL
|
1223
|
+
SELECT sql
|
1224
|
+
FROM sqlite_temp_master
|
1225
|
+
WHERE name='index_belongs_to_fields_on_has_one_field_id' AND type='index'
|
1226
|
+
|
1227
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
1228
|
+
FROM sqlite_master
|
1229
|
+
WHERE name='index_has_many_fields_on_has_many_through_field_id' AND type='index'
|
1230
|
+
UNION ALL
|
1231
|
+
SELECT sql
|
1232
|
+
FROM sqlite_temp_master
|
1233
|
+
WHERE name='index_has_many_fields_on_has_many_through_field_id' AND type='index'
|
1234
|
+
[0m
|
1235
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1236
|
+
FROM sqlite_master
|
1237
|
+
WHERE name='index_polymorphic_fields_on_has_one_field_id' AND type='index'
|
1238
|
+
UNION ALL
|
1239
|
+
SELECT sql
|
1240
|
+
FROM sqlite_temp_master
|
1241
|
+
WHERE name='index_polymorphic_fields_on_has_one_field_id' AND type='index'
|
1242
|
+
|
1243
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1244
|
+
FROM sqlite_master
|
1245
|
+
WHERE name='index_trees_on_owner_id' AND type='index'
|
1246
|
+
UNION ALL
|
1247
|
+
SELECT sql
|
1248
|
+
FROM sqlite_temp_master
|
1249
|
+
WHERE name='index_trees_on_owner_id' AND type='index'
|
1250
|
+
[0m
|
1251
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1252
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
1253
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1254
|
+
FROM sqlite_master
|
1255
|
+
WHERE name='index_belongs_to_class_name_fields_on_foo_id' AND type='index'
|
1256
|
+
UNION ALL
|
1257
|
+
SELECT sql
|
1258
|
+
FROM sqlite_temp_master
|
1259
|
+
WHERE name='index_belongs_to_class_name_fields_on_foo_id' AND type='index'
|
1260
|
+
[0m
|
1261
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1262
|
+
FROM sqlite_master
|
1263
|
+
WHERE name='index_belongs_to_fields_on_has_many_field_id' AND type='index'
|
1264
|
+
UNION ALL
|
1265
|
+
SELECT sql
|
1266
|
+
FROM sqlite_temp_master
|
1267
|
+
WHERE name='index_belongs_to_fields_on_has_many_field_id' AND type='index'
|
1268
|
+
|
1269
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1270
|
+
FROM sqlite_master
|
1271
|
+
WHERE name='index_belongs_to_fields_on_has_many_class_name_field_id' AND type='index'
|
1272
|
+
UNION ALL
|
1273
|
+
SELECT sql
|
1274
|
+
FROM sqlite_temp_master
|
1275
|
+
WHERE name='index_belongs_to_fields_on_has_many_class_name_field_id' AND type='index'
|
1276
|
+
[0m
|
1277
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1278
|
+
FROM sqlite_master
|
1279
|
+
WHERE name='index_belongs_to_fields_on_has_one_field_id' AND type='index'
|
1280
|
+
UNION ALL
|
1281
|
+
SELECT sql
|
1282
|
+
FROM sqlite_temp_master
|
1283
|
+
WHERE name='index_belongs_to_fields_on_has_one_field_id' AND type='index'
|
1284
|
+
|
1285
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1286
|
+
FROM sqlite_master
|
1287
|
+
WHERE name='index_has_many_fields_on_has_many_through_field_id' AND type='index'
|
1288
|
+
UNION ALL
|
1289
|
+
SELECT sql
|
1290
|
+
FROM sqlite_temp_master
|
1291
|
+
WHERE name='index_has_many_fields_on_has_many_through_field_id' AND type='index'
|
1292
|
+
[0m
|
1293
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1294
|
+
FROM sqlite_master
|
1295
|
+
WHERE name='index_polymorphic_fields_on_has_one_field_id' AND type='index'
|
1296
|
+
UNION ALL
|
1297
|
+
SELECT sql
|
1298
|
+
FROM sqlite_temp_master
|
1299
|
+
WHERE name='index_polymorphic_fields_on_has_one_field_id' AND type='index'
|
1300
|
+
|
1301
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1302
|
+
FROM sqlite_master
|
1303
|
+
WHERE name='index_trees_on_owner_id' AND type='index'
|
1304
|
+
UNION ALL
|
1305
|
+
SELECT sql
|
1306
|
+
FROM sqlite_temp_master
|
1307
|
+
WHERE name='index_trees_on_owner_id' AND type='index'
|
1308
|
+
[0m
|
1309
|
+
[1m[36m (6.4ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
1310
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
1311
|
+
[1m[36m (1.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
1312
|
+
[1m[35mActiveRecord::SchemaMigration Load (1.0ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
1313
|
+
Migrating to CreateDateField (20150608130516)
|
1314
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1315
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "date_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "field" date)
|
1316
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150608130516"]]
|
1317
|
+
[1m[35m (1.1ms)[0m commit transaction
|
1318
|
+
Migrating to CreateIntegerField (20150608131430)
|
1319
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1320
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "integer_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "field" integer)
|
1321
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150608131430"]]
|
1322
|
+
[1m[35m (1.1ms)[0m commit transaction
|
1323
|
+
Migrating to CreateDecimalField (20150608131603)
|
1324
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1325
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "decimal_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "field" decimal)
|
1326
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150608131603"]]
|
1327
|
+
[1m[35m (0.9ms)[0m commit transaction
|
1328
|
+
Migrating to CreateFloatField (20150608131610)
|
1329
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1330
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "float_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "field" float)
|
1331
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150608131610"]]
|
1332
|
+
[1m[35m (1.0ms)[0m commit transaction
|
1333
|
+
Migrating to CreateBooleanField (20150608132159)
|
1334
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1335
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "boolean_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "field" boolean)
|
1336
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150608132159"]]
|
1337
|
+
[1m[35m (1.0ms)[0m commit transaction
|
1338
|
+
Migrating to CreateStringField (20150608132621)
|
1339
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1340
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "string_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "field" varchar)
|
1341
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150608132621"]]
|
1342
|
+
[1m[35m (1.6ms)[0m commit transaction
|
1343
|
+
Migrating to CreateBelongsToField (20150608133038)
|
1344
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1345
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "belongs_to_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "has_one_field_id" integer, "has_many_class_name_field_id" integer, "has_many_field_id" integer)
|
1346
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_belongs_to_fields_on_has_one_field_id" ON "belongs_to_fields" ("has_one_field_id")[0m
|
1347
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1348
|
+
FROM sqlite_master
|
1349
|
+
WHERE name='index_belongs_to_fields_on_has_one_field_id' AND type='index'
|
1350
|
+
UNION ALL
|
1351
|
+
SELECT sql
|
1352
|
+
FROM sqlite_temp_master
|
1353
|
+
WHERE name='index_belongs_to_fields_on_has_one_field_id' AND type='index'
|
1354
|
+
|
1355
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_belongs_to_fields_on_has_many_class_name_field_id" ON "belongs_to_fields" ("has_many_class_name_field_id")[0m
|
1356
|
+
[1m[35m (0.0ms)[0m SELECT sql
|
1357
|
+
FROM sqlite_master
|
1358
|
+
WHERE name='index_belongs_to_fields_on_has_many_class_name_field_id' AND type='index'
|
1359
|
+
UNION ALL
|
1360
|
+
SELECT sql
|
1361
|
+
FROM sqlite_temp_master
|
1362
|
+
WHERE name='index_belongs_to_fields_on_has_many_class_name_field_id' AND type='index'
|
1363
|
+
|
1364
|
+
[1m[36m (0.0ms)[0m [1m SELECT sql
|
1365
|
+
FROM sqlite_master
|
1366
|
+
WHERE name='index_belongs_to_fields_on_has_one_field_id' AND type='index'
|
1367
|
+
UNION ALL
|
1368
|
+
SELECT sql
|
1369
|
+
FROM sqlite_temp_master
|
1370
|
+
WHERE name='index_belongs_to_fields_on_has_one_field_id' AND type='index'
|
1371
|
+
[0m
|
1372
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_belongs_to_fields_on_has_many_field_id" ON "belongs_to_fields" ("has_many_field_id")
|
1373
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150608133038"]]
|
1374
|
+
[1m[35m (1.7ms)[0m commit transaction
|
1375
|
+
Migrating to CreateHasOneField (20150608133044)
|
1376
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1377
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "has_one_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "checked" boolean, "status" integer DEFAULT 0)
|
1378
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150608133044"]]
|
1379
|
+
[1m[35m (1.3ms)[0m commit transaction
|
1380
|
+
Migrating to CreateHasManyField (20150608150016)
|
1381
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1382
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "has_many_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "has_many_through_field_id" integer)
|
1383
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_has_many_fields_on_has_many_through_field_id" ON "has_many_fields" ("has_many_through_field_id")[0m
|
1384
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150608150016"]]
|
1385
|
+
[1m[36m (1.4ms)[0m [1mcommit transaction[0m
|
1386
|
+
Migrating to CreateBelongsToClassNameField (20150609114636)
|
1387
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1388
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "belongs_to_class_name_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "foo_id" integer) [0m
|
1389
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_belongs_to_class_name_fields_on_foo_id" ON "belongs_to_class_name_fields" ("foo_id")
|
1390
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150609114636"]]
|
1391
|
+
[1m[35m (1.6ms)[0m commit transaction
|
1392
|
+
Migrating to CreateHasAndBelongsToManyField (20150612112520)
|
1393
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1394
|
+
[1m[35m (1.6ms)[0m CREATE TABLE "has_and_belongs_to_many_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)
|
1395
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150612112520"]]
|
1396
|
+
[1m[35m (1.1ms)[0m commit transaction
|
1397
|
+
Migrating to CreatePolymorphicField (20150616150629)
|
1398
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1399
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "polymorphic_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "has_one_field_id" integer)
|
1400
|
+
[1m[36m (0.5ms)[0m [1mCREATE INDEX "index_polymorphic_fields_on_has_one_field_id" ON "polymorphic_fields" ("has_one_field_id")[0m
|
1401
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150616150629"]]
|
1402
|
+
[1m[36m (3.6ms)[0m [1mcommit transaction[0m
|
1403
|
+
Migrating to CreateHasManyClassNameField (20150623115554)
|
1404
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1405
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "has_many_class_name_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL) [0m
|
1406
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150623115554"]]
|
1407
|
+
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
1408
|
+
Migrating to CreateHasManyThroughField (20150814081918)
|
1409
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1410
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "has_many_through_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL) [0m
|
1411
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150814081918"]]
|
1412
|
+
[1m[36m (4.4ms)[0m [1mcommit transaction[0m
|
1413
|
+
Migrating to CreateOwner (20160627172810)
|
1414
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1415
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "owners" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar) [0m
|
1416
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160627172810"]]
|
1417
|
+
[1m[36m (1.5ms)[0m [1mcommit transaction[0m
|
1418
|
+
Migrating to CreateTree (20160627172951)
|
1419
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1420
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "trees" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "owner_id" integer) [0m
|
1421
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_trees_on_owner_id" ON "trees" ("owner_id")
|
1422
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160627172951"]]
|
1423
|
+
[1m[35m (0.9ms)[0m commit transaction
|
1424
|
+
Migrating to AddTimestamps (20160628173505)
|
1425
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1426
|
+
[1m[35m (0.5ms)[0m ALTER TABLE "owners" ADD "created_at" datetime
|
1427
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "owners" ADD "updated_at" datetime[0m
|
1428
|
+
[1m[35m (0.1ms)[0m ALTER TABLE "trees" ADD "created_at" datetime
|
1429
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "trees" ADD "updated_at" datetime[0m
|
1430
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160628173505"]]
|
1431
|
+
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
1432
|
+
Migrating to CreateSerializeField (20170614141921)
|
1433
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1434
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "serialize_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "field" varchar) [0m
|
1435
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170614141921"]]
|
1436
|
+
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
1437
|
+
Migrating to CreateReferencesTable (20181111162121)
|
1438
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1439
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "references" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL) [0m
|
1440
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20181111162121"]]
|
1441
|
+
[1m[36m (1.9ms)[0m [1mcommit transaction[0m
|
1442
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
1443
|
+
[1m[36m (0.3ms)[0m [1m SELECT sql
|
1444
|
+
FROM sqlite_master
|
1445
|
+
WHERE name='index_belongs_to_class_name_fields_on_foo_id' AND type='index'
|
1446
|
+
UNION ALL
|
1447
|
+
SELECT sql
|
1448
|
+
FROM sqlite_temp_master
|
1449
|
+
WHERE name='index_belongs_to_class_name_fields_on_foo_id' AND type='index'
|
1450
|
+
[0m
|
1451
|
+
[1m[35m (0.3ms)[0m SELECT sql
|
1452
|
+
FROM sqlite_master
|
1453
|
+
WHERE name='index_belongs_to_fields_on_has_many_field_id' AND type='index'
|
1454
|
+
UNION ALL
|
1455
|
+
SELECT sql
|
1456
|
+
FROM sqlite_temp_master
|
1457
|
+
WHERE name='index_belongs_to_fields_on_has_many_field_id' AND type='index'
|
1458
|
+
|
1459
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
1460
|
+
FROM sqlite_master
|
1461
|
+
WHERE name='index_belongs_to_fields_on_has_many_class_name_field_id' AND type='index'
|
1462
|
+
UNION ALL
|
1463
|
+
SELECT sql
|
1464
|
+
FROM sqlite_temp_master
|
1465
|
+
WHERE name='index_belongs_to_fields_on_has_many_class_name_field_id' AND type='index'
|
1466
|
+
[0m
|
1467
|
+
[1m[35m (0.5ms)[0m SELECT sql
|
1468
|
+
FROM sqlite_master
|
1469
|
+
WHERE name='index_belongs_to_fields_on_has_one_field_id' AND type='index'
|
1470
|
+
UNION ALL
|
1471
|
+
SELECT sql
|
1472
|
+
FROM sqlite_temp_master
|
1473
|
+
WHERE name='index_belongs_to_fields_on_has_one_field_id' AND type='index'
|
1474
|
+
|
1475
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1476
|
+
FROM sqlite_master
|
1477
|
+
WHERE name='index_has_many_fields_on_has_many_through_field_id' AND type='index'
|
1478
|
+
UNION ALL
|
1479
|
+
SELECT sql
|
1480
|
+
FROM sqlite_temp_master
|
1481
|
+
WHERE name='index_has_many_fields_on_has_many_through_field_id' AND type='index'
|
1482
|
+
[0m
|
1483
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
1484
|
+
FROM sqlite_master
|
1485
|
+
WHERE name='index_polymorphic_fields_on_has_one_field_id' AND type='index'
|
1486
|
+
UNION ALL
|
1487
|
+
SELECT sql
|
1488
|
+
FROM sqlite_temp_master
|
1489
|
+
WHERE name='index_polymorphic_fields_on_has_one_field_id' AND type='index'
|
1490
|
+
|
1491
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1492
|
+
FROM sqlite_master
|
1493
|
+
WHERE name='index_trees_on_owner_id' AND type='index'
|
1494
|
+
UNION ALL
|
1495
|
+
SELECT sql
|
1496
|
+
FROM sqlite_temp_master
|
1497
|
+
WHERE name='index_trees_on_owner_id' AND type='index'
|
1498
|
+
[0m
|
1499
|
+
[1m[36m (1.4ms)[0m [1mCREATE TABLE "belongs_to_class_name_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "foo_id" integer) [0m
|
1500
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
1501
|
+
[1m[36m (2.1ms)[0m [1mCREATE INDEX "index_belongs_to_class_name_fields_on_foo_id" ON "belongs_to_class_name_fields" ("foo_id")[0m
|
1502
|
+
[1m[35m (1.7ms)[0m CREATE TABLE "belongs_to_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "has_one_field_id" integer, "has_many_class_name_field_id" integer, "has_many_field_id" integer)
|
1503
|
+
[1m[36m (1.7ms)[0m [1mCREATE INDEX "index_belongs_to_fields_on_has_many_class_name_field_id" ON "belongs_to_fields" ("has_many_class_name_field_id")[0m
|
1504
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1505
|
+
FROM sqlite_master
|
1506
|
+
WHERE name='index_belongs_to_fields_on_has_many_class_name_field_id' AND type='index'
|
1507
|
+
UNION ALL
|
1508
|
+
SELECT sql
|
1509
|
+
FROM sqlite_temp_master
|
1510
|
+
WHERE name='index_belongs_to_fields_on_has_many_class_name_field_id' AND type='index'
|
1511
|
+
|
1512
|
+
[1m[36m (1.2ms)[0m [1mCREATE INDEX "index_belongs_to_fields_on_has_many_field_id" ON "belongs_to_fields" ("has_many_field_id")[0m
|
1513
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1514
|
+
FROM sqlite_master
|
1515
|
+
WHERE name='index_belongs_to_fields_on_has_many_field_id' AND type='index'
|
1516
|
+
UNION ALL
|
1517
|
+
SELECT sql
|
1518
|
+
FROM sqlite_temp_master
|
1519
|
+
WHERE name='index_belongs_to_fields_on_has_many_field_id' AND type='index'
|
1520
|
+
|
1521
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1522
|
+
FROM sqlite_master
|
1523
|
+
WHERE name='index_belongs_to_fields_on_has_many_class_name_field_id' AND type='index'
|
1524
|
+
UNION ALL
|
1525
|
+
SELECT sql
|
1526
|
+
FROM sqlite_temp_master
|
1527
|
+
WHERE name='index_belongs_to_fields_on_has_many_class_name_field_id' AND type='index'
|
1528
|
+
[0m
|
1529
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_belongs_to_fields_on_has_one_field_id" ON "belongs_to_fields" ("has_one_field_id")
|
1530
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "boolean_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "field" boolean) [0m
|
1531
|
+
[1m[35m (2.9ms)[0m CREATE TABLE "date_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "field" date)
|
1532
|
+
[1m[36m (3.5ms)[0m [1mCREATE TABLE "decimal_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "field" decimal) [0m
|
1533
|
+
[1m[35m (2.0ms)[0m CREATE TABLE "float_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "field" float)
|
1534
|
+
[1m[36m (1.5ms)[0m [1mCREATE TABLE "has_and_belongs_to_many_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL) [0m
|
1535
|
+
[1m[35m (1.9ms)[0m CREATE TABLE "has_many_class_name_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)
|
1536
|
+
[1m[36m (1.9ms)[0m [1mCREATE TABLE "has_many_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "has_many_through_field_id" integer) [0m
|
1537
|
+
[1m[35m (3.7ms)[0m CREATE INDEX "index_has_many_fields_on_has_many_through_field_id" ON "has_many_fields" ("has_many_through_field_id")
|
1538
|
+
[1m[36m (10.8ms)[0m [1mCREATE TABLE "has_many_through_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL) [0m
|
1539
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "has_one_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "checked" boolean, "status" integer DEFAULT 0)
|
1540
|
+
[1m[36m (2.1ms)[0m [1mCREATE TABLE "integer_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "field" integer) [0m
|
1541
|
+
[1m[35m (2.0ms)[0m CREATE TABLE "owners" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime, "updated_at" datetime)
|
1542
|
+
[1m[36m (2.6ms)[0m [1mCREATE TABLE "polymorphic_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "has_one_field_id" integer) [0m
|
1543
|
+
[1m[35m (2.2ms)[0m CREATE INDEX "index_polymorphic_fields_on_has_one_field_id" ON "polymorphic_fields" ("has_one_field_id")
|
1544
|
+
[1m[36m (1.8ms)[0m [1mCREATE TABLE "references" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL) [0m
|
1545
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "serialize_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "field" varchar)
|
1546
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "string_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "field" varchar) [0m
|
1547
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "trees" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "owner_id" integer, "created_at" datetime, "updated_at" datetime)
|
1548
|
+
[1m[36m (1.1ms)[0m [1mCREATE INDEX "index_trees_on_owner_id" ON "trees" ("owner_id")[0m
|
1549
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
1550
|
+
[1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
1551
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
1552
|
+
[1m[36m (1.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20181111162121')[0m
|
1553
|
+
[1m[35m (1.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150608133038')
|
1554
|
+
[1m[36m (1.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150608130516')[0m
|
1555
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160627172951')
|
1556
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150608132621')[0m
|
1557
|
+
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160627172810')
|
1558
|
+
[1m[36m (1.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150612112520')[0m
|
1559
|
+
[1m[35m (1.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150608132159')
|
1560
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20160628173505')[0m
|
1561
|
+
[1m[35m (1.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150608133044')
|
1562
|
+
[1m[36m (2.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150814081918')[0m
|
1563
|
+
[1m[35m (1.5ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150609114636')
|
1564
|
+
[1m[36m (1.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150608150016')[0m
|
1565
|
+
[1m[35m (1.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150608131430')
|
1566
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20170614141921')[0m
|
1567
|
+
[1m[35m (1.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150608131610')
|
1568
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150608131603')[0m
|
1569
|
+
[1m[35m (1.5ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150623115554')
|
1570
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150616150629')[0m
|
1571
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1572
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1573
|
+
[1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "has_many_through_fields"[0m
|
1574
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (1)
|
1575
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (2)[0m
|
1576
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (3)
|
1577
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (4)[0m
|
1578
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (5)
|
1579
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (6)[0m
|
1580
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (7)
|
1581
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (8)[0m
|
1582
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (9)
|
1583
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (10)[0m
|
1584
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "string_fields"
|
1585
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (1, 'Test 1')[0m
|
1586
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (2, 'Test 2')
|
1587
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (3, 'Test 3')[0m
|
1588
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (4, 'Test 4')
|
1589
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (5, 'Test 5')[0m
|
1590
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (6, 'Test 6')
|
1591
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (7, 'Test 7')[0m
|
1592
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (8, 'Test 8')
|
1593
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (9, 'Test 9')[0m
|
1594
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (10, 'Test 10')
|
1595
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (11, 'Test 11')[0m
|
1596
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (12, 'Test 12')
|
1597
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (13, 'Test 13')[0m
|
1598
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (14, 'Test 14')
|
1599
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (15, 'Test 15')[0m
|
1600
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (16, 'Test 16')
|
1601
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (17, 'Test 17')[0m
|
1602
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (18, 'Test 18')
|
1603
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (19, 'Test 19')[0m
|
1604
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (20, 'Test 20')
|
1605
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (21, 'Test 21')[0m
|
1606
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (22, 'Test 22')
|
1607
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (23, 'Test 23')[0m
|
1608
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (24, 'Test 24')
|
1609
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (25, 'Test 25')[0m
|
1610
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (26, 'Test 26')
|
1611
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (27, 'Test 27')[0m
|
1612
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (28, 'Test 28')
|
1613
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (29, 'Test 29')[0m
|
1614
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (30, 'Test 30')
|
1615
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "belongs_to_fields"[0m
|
1616
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (1, 1, 1)
|
1617
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (2, 2, 1)[0m
|
1618
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (3, 3, 1)
|
1619
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (4, 4, 2)[0m
|
1620
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (5, 5, 2)
|
1621
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (6, 6, 2)[0m
|
1622
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (7, 7, 3)
|
1623
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (8, 8, 3)[0m
|
1624
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (9, 9, 3)
|
1625
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (10, 10, 4)[0m
|
1626
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (11, 11, 4)
|
1627
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (12, 12, 4)[0m
|
1628
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (13, 13, 5)
|
1629
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (14, 14, 5)[0m
|
1630
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (15, 15, 5)
|
1631
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (16, 16, 6)[0m
|
1632
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (17, 17, 6)
|
1633
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (18, 18, 6)[0m
|
1634
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (19, 19, 7)
|
1635
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (20, 20, 7)[0m
|
1636
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (21, 21, 7)
|
1637
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (22, 22, 7)[0m
|
1638
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (23, 23, 8)
|
1639
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (24, 24, 8)[0m
|
1640
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (25, 25, 9)
|
1641
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (26, 26, 9)[0m
|
1642
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (27, 27, 9)
|
1643
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (28, 28, 10)[0m
|
1644
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (29, 29, 10)
|
1645
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (30, 30, 10)[0m
|
1646
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "trees"
|
1647
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (1, 'Oak', 1, '2012-02-11 11:00:00.000000', '2012-02-11 11:00:00.000000')[0m
|
1648
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (2, 'Mapple', 2, '2012-02-15 21:00:00.000000', '2012-02-15 21:00:00.000000')
|
1649
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (3, 'Mapple', 2, '2014-04-11 12:00:00.000000', '2014-04-11 12:00:00.000000')[0m
|
1650
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (4, 'Oak', 2, '2017-06-18 09:00:00.000000', '2017-06-18 09:00:00.000000')
|
1651
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (5, 'Oak', 3, '2016-06-18 09:00:00.000000', '2016-06-18 09:00:00.000000')[0m
|
1652
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (6, 'Oak', 3, '2019-02-26 13:42:34.000000', '2019-02-26 13:42:34.000000')
|
1653
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (7, 'Sequoia', 1, '2019-02-26 13:42:34.000000', '2019-02-26 13:42:34.000000')[0m
|
1654
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (8, 'Fir', 1, '2019-02-26 13:42:34.000000', '2019-02-26 13:42:34.000000')
|
1655
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "has_one_fields"[0m
|
1656
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (1, 't', 0)
|
1657
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (2, 't', 0)[0m
|
1658
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (3, 't', 0)
|
1659
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (4, 't', 0)[0m
|
1660
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (5, 't', 0)
|
1661
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (6, 't', 0)[0m
|
1662
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (7, 't', 0)
|
1663
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (8, 't', 0)[0m
|
1664
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (9, 't', 0)
|
1665
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (10, 't', 0)[0m
|
1666
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (11, 't', 0)
|
1667
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (12, 't', 0)[0m
|
1668
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (13, 't', 0)
|
1669
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (14, 't', 0)[0m
|
1670
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (15, 't', 0)
|
1671
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (16, 't', 0)[0m
|
1672
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (17, 't', 0)
|
1673
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (18, 't', 0)[0m
|
1674
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (19, 't', 0)
|
1675
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (20, 't', 0)[0m
|
1676
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (21, 't', 0)
|
1677
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (22, 't', 0)[0m
|
1678
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (23, 't', 0)
|
1679
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (24, 't', 0)[0m
|
1680
|
+
[1m[35mFixture Insert (0.3ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (25, 't', 0)
|
1681
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (26, 't', 0)[0m
|
1682
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (27, 't', 0)
|
1683
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (28, 't', 0)[0m
|
1684
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (29, 't', 0)
|
1685
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (30, 't', 1)[0m
|
1686
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "references"
|
1687
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "references" ("id") VALUES (1)[0m
|
1688
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "owners"
|
1689
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "owners" ("id", "name", "created_at", "updated_at") VALUES (1, 'Sandro Munda', '2018-05-30 09:00:00.000000', '2019-06-27 20:00:00.000000')[0m
|
1690
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "owners" ("id", "name", "created_at", "updated_at") VALUES (2, 'Arnaud Besnier', '2019-05-02 09:00:00.000000', '2019-06-28 08:00:00.000000')
|
1691
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "owners" ("id", "name", "created_at", "updated_at") VALUES (3, 'John Doe', '2017-05-02 09:00:00.000000', '2018-06-28 08:00:00.000000')[0m
|
1692
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "has_many_fields"
|
1693
|
+
[1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (1)[0m
|
1694
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "has_many_fields" ("id") VALUES (2)
|
1695
|
+
[1m[36mFixture Insert (0.5ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (3)[0m
|
1696
|
+
[1m[35mFixture Insert (0.3ms)[0m INSERT INTO "has_many_fields" ("id") VALUES (4)
|
1697
|
+
[1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "has_many_fields" ("id", "has_many_through_field_id") VALUES (5, 3)[0m
|
1698
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "has_many_fields" ("id", "has_many_through_field_id") VALUES (6, 2)
|
1699
|
+
[1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (7)[0m
|
1700
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_fields" ("id", "has_many_through_field_id") VALUES (8, 2)
|
1701
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (9)[0m
|
1702
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_fields" ("id") VALUES (10)
|
1703
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "serialize_fields"[0m
|
1704
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "serialize_fields" ("id", "field") VALUES (1, 'value 1')
|
1705
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "serialize_fields" ("id", "field") VALUES (2, 'value 2')[0m
|
1706
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "serialize_fields" ("id", "field") VALUES (3, 'value 3')
|
1707
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "serialize_fields" ("id", "field") VALUES (4, 'value 4')[0m
|
1708
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "serialize_fields" ("id", "field") VALUES (5, 'value 5')
|
1709
|
+
[1m[36m (2.1ms)[0m [1mcommit transaction[0m
|
1710
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1711
|
+
---------------------------
|
1712
|
+
ForestLianaTest: test_truth
|
1713
|
+
---------------------------
|
1714
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1715
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1716
|
+
-----------------------------------------------------------------------------------------
|
1717
|
+
ForestLiana::PieStatGetterTest: test_Pie_stat_getter_with_an_aggregate_on_a_boolean_field
|
1718
|
+
-----------------------------------------------------------------------------------------
|
1719
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) AS count_all, boolean_fields.field AS boolean_fields_field FROM "boolean_fields" GROUP BY boolean_fields.field ORDER BY count_all DESC[0m
|
1720
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1721
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1722
|
+
---------------------------------------------------------------------------------------
|
1723
|
+
ForestLiana::PieStatGetterTest: test_Pie_stat_getter_with_an_aggregate_on_a_foreign_key
|
1724
|
+
---------------------------------------------------------------------------------------
|
1725
|
+
[1m[35m (0.6ms)[0m SELECT COUNT(DISTINCT "belongs_to_fields"."id") AS count_id, belongs_to_fields.has_one_field_id AS belongs_to_fields_has_one_field_id FROM "belongs_to_fields" LEFT OUTER JOIN "has_one_fields" ON "has_one_fields"."id" = "belongs_to_fields"."has_one_field_id" LEFT OUTER JOIN "has_many_fields" ON "has_many_fields"."id" = "belongs_to_fields"."has_many_field_id" LEFT OUTER JOIN "has_many_class_name_fields" ON "has_many_class_name_fields"."id" = "belongs_to_fields"."has_many_class_name_field_id" GROUP BY belongs_to_fields.has_one_field_id ORDER BY count_id DESC
|
1726
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1727
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1728
|
+
-----------------------------------
|
1729
|
+
ForestLiana::RouteTest: test_Routes
|
1730
|
+
-----------------------------------
|
1731
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1732
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1733
|
+
-----------------------------------------------------------------------------
|
1734
|
+
ForestLiana::ValueStatGetterTest: test_Value_stat_getter_with_a_simple_filter
|
1735
|
+
-----------------------------------------------------------------------------
|
1736
|
+
[1m[36m (0.1ms)[0m [1mSELECT DISTINCT COUNT(DISTINCT "boolean_fields"."id") FROM "boolean_fields" WHERE ("boolean_fields"."field" = 1)[0m
|
1737
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1738
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1739
|
+
----------------------------------------------------------------------------------------------------
|
1740
|
+
ForestLiana::ValueStatGetterTest: test_Value_stat_getter_with_a_filter_on_a_belongs_to_integer_field
|
1741
|
+
----------------------------------------------------------------------------------------------------
|
1742
|
+
[1m[35m (0.2ms)[0m SELECT DISTINCT COUNT(DISTINCT "belongs_to_fields"."id") FROM "belongs_to_fields" LEFT OUTER JOIN "has_one_fields" ON "has_one_fields"."id" = "belongs_to_fields"."has_one_field_id" LEFT OUTER JOIN "has_many_fields" ON "has_many_fields"."id" = "belongs_to_fields"."has_many_field_id" LEFT OUTER JOIN "has_many_class_name_fields" ON "has_many_class_name_fields"."id" = "belongs_to_fields"."has_many_class_name_field_id" WHERE ("has_one_fields"."id" = '3')
|
1743
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1744
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1745
|
+
-------------------------------------------------------------------------------------------------
|
1746
|
+
ForestLiana::ValueStatGetterTest: test_Value_stat_getter_with_a_filter_on_a_belongs_to_enum_field
|
1747
|
+
-------------------------------------------------------------------------------------------------
|
1748
|
+
[1m[36m (0.2ms)[0m [1mSELECT DISTINCT COUNT(DISTINCT "belongs_to_fields"."id") FROM "belongs_to_fields" LEFT OUTER JOIN "has_one_fields" ON "has_one_fields"."id" = "belongs_to_fields"."has_one_field_id" LEFT OUTER JOIN "has_many_fields" ON "has_many_fields"."id" = "belongs_to_fields"."has_many_field_id" LEFT OUTER JOIN "has_many_class_name_fields" ON "has_many_class_name_fields"."id" = "belongs_to_fields"."has_many_class_name_field_id" WHERE ("has_one_fields"."status" = '1')[0m
|
1749
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1750
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1751
|
+
----------------------------------------------------------------------------------------------------
|
1752
|
+
ForestLiana::ValueStatGetterTest: test_Value_stat_getter_with_a_filter_on_a_belongs_to_boolean_field
|
1753
|
+
----------------------------------------------------------------------------------------------------
|
1754
|
+
[1m[35m (0.2ms)[0m SELECT DISTINCT COUNT(DISTINCT "belongs_to_fields"."id") FROM "belongs_to_fields" LEFT OUTER JOIN "has_one_fields" ON "has_one_fields"."id" = "belongs_to_fields"."has_one_field_id" LEFT OUTER JOIN "has_many_fields" ON "has_many_fields"."id" = "belongs_to_fields"."has_many_field_id" LEFT OUTER JOIN "has_many_class_name_fields" ON "has_many_class_name_fields"."id" = "belongs_to_fields"."has_many_class_name_field_id" WHERE ("has_one_fields"."checked" = 0)
|
1755
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1756
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1757
|
+
-----------------------------------------------------------------------
|
1758
|
+
ForestLiana::ResourcesGetterTest: test_Sort_by_a_belongs_to_association
|
1759
|
+
-----------------------------------------------------------------------
|
1760
|
+
[1m[36mSQL (0.2ms)[0m [1mSELECT "belongs_to_fields"."id" AS t0_r0, "belongs_to_fields"."has_one_field_id" AS t0_r1, "belongs_to_fields"."has_many_class_name_field_id" AS t0_r2, "belongs_to_fields"."has_many_field_id" AS t0_r3, "has_one_fields"."id" AS t1_r0, "has_one_fields"."checked" AS t1_r1, "has_one_fields"."status" AS t1_r2, "has_many_fields"."id" AS t2_r0, "has_many_fields"."has_many_through_field_id" AS t2_r1, "has_many_class_name_fields"."id" AS t3_r0 FROM "belongs_to_fields" LEFT OUTER JOIN "has_one_fields" ON "has_one_fields"."id" = "belongs_to_fields"."has_one_field_id" LEFT OUTER JOIN "has_many_fields" ON "has_many_fields"."id" = "belongs_to_fields"."has_many_field_id" LEFT OUTER JOIN "has_many_class_name_fields" ON "has_many_class_name_fields"."id" = "belongs_to_fields"."has_many_class_name_field_id" ORDER BY "has_one_fields"."id" ASC LIMIT 10 OFFSET 0[0m
|
1761
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(DISTINCT "belongs_to_fields"."id") FROM "belongs_to_fields" LEFT OUTER JOIN "has_one_fields" ON "has_one_fields"."id" = "belongs_to_fields"."has_one_field_id" LEFT OUTER JOIN "has_many_fields" ON "has_many_fields"."id" = "belongs_to_fields"."has_many_field_id" LEFT OUTER JOIN "has_many_class_name_fields" ON "has_many_class_name_fields"."id" = "belongs_to_fields"."has_many_class_name_field_id"
|
1762
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1763
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1764
|
+
--------------------------------------------------------------------
|
1765
|
+
ForestLiana::ResourcesGetterTest: test_Sort_by_a_has_one_association
|
1766
|
+
--------------------------------------------------------------------
|
1767
|
+
[1m[36mSQL (0.2ms)[0m [1mSELECT "has_one_fields"."id" AS t0_r0, "has_one_fields"."checked" AS t0_r1, "has_one_fields"."status" AS t0_r2, "belongs_to_fields"."id" AS t1_r0, "belongs_to_fields"."has_one_field_id" AS t1_r1, "belongs_to_fields"."has_many_class_name_field_id" AS t1_r2, "belongs_to_fields"."has_many_field_id" AS t1_r3, "belongs_to_class_name_fields"."id" AS t2_r0, "belongs_to_class_name_fields"."foo_id" AS t2_r1 FROM "has_one_fields" LEFT OUTER JOIN "belongs_to_fields" ON "belongs_to_fields"."has_one_field_id" = "has_one_fields"."id" LEFT OUTER JOIN "belongs_to_class_name_fields" ON "belongs_to_class_name_fields"."foo_id" = "has_one_fields"."id" ORDER BY "belongs_to_fields"."id" DESC LIMIT 10 OFFSET 0[0m
|
1768
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(DISTINCT "has_one_fields"."id") FROM "has_one_fields" LEFT OUTER JOIN "belongs_to_fields" ON "belongs_to_fields"."has_one_field_id" = "has_one_fields"."id" LEFT OUTER JOIN "belongs_to_class_name_fields" ON "belongs_to_class_name_fields"."foo_id" = "has_one_fields"."id"
|
1769
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1770
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1771
|
+
----------------------------------------------------------
|
1772
|
+
ForestLiana::ResourcesGetterTest: test_Filter_after_x_days
|
1773
|
+
----------------------------------------------------------
|
1774
|
+
[1m[36mSQL (0.7ms)[0m [1mSELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4 FROM "trees" WHERE ("trees"."created_at" > '2019-02-26 13:41:35 UTC') ORDER BY "trees"."created_at" DESC LIMIT 10 OFFSET 0[0m
|
1775
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "trees" WHERE ("trees"."created_at" > '2019-02-26 13:41:35 UTC')
|
1776
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1777
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1778
|
+
--------------------------------------------------------------------------------------------------------
|
1779
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_a_field_of_an_associated_collection_that_does_not_exist
|
1780
|
+
--------------------------------------------------------------------------------------------------------
|
1781
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1782
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1783
|
+
----------------------------------------------------------------
|
1784
|
+
ForestLiana::ResourcesGetterTest: test_StringField_sort_by_field
|
1785
|
+
----------------------------------------------------------------
|
1786
|
+
[1m[36mSQL (0.3ms)[0m [1mSELECT "string_fields"."id" AS t0_r0, "string_fields"."field" AS t0_r1 FROM "string_fields" ORDER BY "string_fields"."field" DESC LIMIT 10 OFFSET 0[0m
|
1787
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "string_fields"
|
1788
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1789
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1790
|
+
-----------------------------------------------------------------
|
1791
|
+
ForestLiana::ResourcesGetterTest: test_StringField_page_2_size_10
|
1792
|
+
-----------------------------------------------------------------
|
1793
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "string_fields"."id" AS t0_r0, "string_fields"."field" AS t0_r1 FROM "string_fields" ORDER BY "string_fields"."id" DESC LIMIT 10 OFFSET 10[0m
|
1794
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "string_fields"
|
1795
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1796
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1797
|
+
------------------------------------------------------------------------------------------------
|
1798
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_an_updated_at_field_of_an_associated_collection
|
1799
|
+
------------------------------------------------------------------------------------------------
|
1800
|
+
[1m[36mSQL (0.2ms)[0m [1mSELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4, "owners"."id" AS t1_r0, "owners"."name" AS t1_r1, "owners"."created_at" AS t1_r2, "owners"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.updated_at BETWEEN '2018-01-01 09:00:00 UTC' AND '2019-01-01 08:59:59 UTC') ORDER BY "trees"."created_at" DESC LIMIT 10 OFFSET 0[0m
|
1801
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.updated_at BETWEEN '2018-01-01 09:00:00 UTC' AND '2019-01-01 08:59:59 UTC')
|
1802
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1803
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1804
|
+
-----------------------------------------------------------------
|
1805
|
+
ForestLiana::ResourcesGetterTest: test_StringField_page_1_size_15
|
1806
|
+
-----------------------------------------------------------------
|
1807
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "string_fields"."id" AS t0_r0, "string_fields"."field" AS t0_r1 FROM "string_fields" ORDER BY "string_fields"."id" DESC LIMIT 15 OFFSET 0[0m
|
1808
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "string_fields"
|
1809
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1810
|
+
[1m[35m (0.2ms)[0m begin transaction
|
1811
|
+
------------------------------------------------------------------------------------
|
1812
|
+
ForestLiana::ResourcesGetterTest: test_Sort_on_an_ambiguous_field_name_with_a_filter
|
1813
|
+
------------------------------------------------------------------------------------
|
1814
|
+
[1m[36mSQL (0.2ms)[0m [1mSELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4, "owners"."id" AS t1_r0, "owners"."name" AS t1_r1, "owners"."created_at" AS t1_r2, "owners"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.name = 'Arnaud Besnier') ORDER BY "trees"."name" DESC LIMIT 10 OFFSET 0[0m
|
1815
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.name = 'Arnaud Besnier')
|
1816
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1817
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1818
|
+
----------------------------------------------------------------
|
1819
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_ambiguous_field
|
1820
|
+
----------------------------------------------------------------
|
1821
|
+
[1m[36mSQL (0.2ms)[0m [1mSELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4, "owners"."id" AS t1_r0, "owners"."name" AS t1_r1, "owners"."created_at" AS t1_r2, "owners"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE ("trees"."created_at" > '2015-06-18 08:00:00') AND (owners.name = 'Arnaud Besnier') ORDER BY "trees"."created_at" DESC LIMIT 10 OFFSET 0[0m
|
1822
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE ("trees"."created_at" > '2015-06-18 08:00:00') AND (owners.name = 'Arnaud Besnier')
|
1823
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1824
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1825
|
+
-------------------------------------------------------------------------------------------
|
1826
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_an_updated_at_field_of_the_main_collection
|
1827
|
+
-------------------------------------------------------------------------------------------
|
1828
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "owners"."id" AS t0_r0, "owners"."name" AS t0_r1, "owners"."created_at" AS t0_r2, "owners"."updated_at" AS t0_r3 FROM "owners" WHERE ("owners"."updated_at" BETWEEN '2018-01-01 09:00:00 UTC' AND '2019-01-01 08:59:59 UTC') ORDER BY "owners"."created_at" DESC LIMIT 10 OFFSET 0[0m
|
1829
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "owners" WHERE ("owners"."updated_at" BETWEEN '2018-01-01 09:00:00 UTC' AND '2019-01-01 08:59:59 UTC')
|
1830
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1831
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1832
|
+
-----------------------------------------------------------------------------
|
1833
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_a_field_that_does_not_exists
|
1834
|
+
-----------------------------------------------------------------------------
|
1835
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1836
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1837
|
+
------------------------------------------------------------
|
1838
|
+
ForestLiana::ResourcesGetterTest: test_Filter_before_x_hours
|
1839
|
+
------------------------------------------------------------
|
1840
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4 FROM "trees" WHERE ("trees"."created_at" < '2019-02-26 13:41:35 UTC') ORDER BY "trees"."created_at" DESC LIMIT 10 OFFSET 0[0m
|
1841
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "trees" WHERE ("trees"."created_at" < '2019-02-26 13:41:35 UTC')
|
1842
|
+
[1m[36mOwner Load (0.1ms)[0m [1mSELECT "owners".* FROM "owners" WHERE "owners"."id" = ? LIMIT 1[0m [["id", 2]]
|
1843
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1844
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1845
|
+
------------------------------------------------------------------------------------------------------
|
1846
|
+
ForestLiana::ResourcesGetterTest: test_Filter_equal_on_an_updated_at_field_of_an_associated_collection
|
1847
|
+
------------------------------------------------------------------------------------------------------
|
1848
|
+
[1m[35mSQL (0.2ms)[0m SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4, "owners"."id" AS t1_r0, "owners"."name" AS t1_r1, "owners"."created_at" AS t1_r2, "owners"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.updated_at = 'Sat Jul 02 2016 11:52:00 GMT-0400 (EDT)') ORDER BY "trees"."created_at" DESC LIMIT 10 OFFSET 0
|
1849
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.updated_at = 'Sat Jul 02 2016 11:52:00 GMT-0400 (EDT)')[0m
|
1850
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1851
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1852
|
+
------------------------------------------------------------------------
|
1853
|
+
ForestLiana::ResourcesGetterTest: test_on_a_model_having_a_reserved_name
|
1854
|
+
------------------------------------------------------------------------
|
1855
|
+
[1m[35mSQL (0.1ms)[0m SELECT "references"."id" AS t0_r0 FROM "references" ORDER BY "references"."id" DESC LIMIT 10 OFFSET 0
|
1856
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "references"[0m
|
1857
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1858
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1859
|
+
------------------------------------------------------------------------------------------------------
|
1860
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_missing_value
|
1861
|
+
------------------------------------------------------------------------------------------------------
|
1862
|
+
[1m[35mSerializeField Load (0.2ms)[0m SELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1 [["id", 1]]
|
1863
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1864
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1865
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1866
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1867
|
+
---------------------------------------------------------------------------------------------------
|
1868
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_null_value
|
1869
|
+
---------------------------------------------------------------------------------------------------
|
1870
|
+
[1m[36mSerializeField Load (0.1ms)[0m [1mSELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1[0m [["id", 1]]
|
1871
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1872
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "serialize_fields" SET "field" = ? WHERE "serialize_fields"."id" = ?[0m [["field", nil], ["id", 1]]
|
1873
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1874
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
1875
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1876
|
+
------------------------------------------------------------------------------------------------------------
|
1877
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_well_formated_value
|
1878
|
+
------------------------------------------------------------------------------------------------------------
|
1879
|
+
[1m[36mSerializeField Load (0.1ms)[0m [1mSELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1[0m [["id", 1]]
|
1880
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1881
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "serialize_fields" SET "field" = ? WHERE "serialize_fields"."id" = ?[0m [["field", "---\n- test\n- test\n"], ["id", 1]]
|
1882
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1883
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
1884
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1885
|
+
---------------------------------------------------------------------------------------------------------
|
1886
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_bad_format_value
|
1887
|
+
---------------------------------------------------------------------------------------------------------
|
1888
|
+
[1m[36mSerializeField Load (0.1ms)[0m [1mSELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1[0m [["id", 1]]
|
1889
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1890
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1891
|
+
-----------------------------------------------------------
|
1892
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationship
|
1893
|
+
-----------------------------------------------------------
|
1894
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1895
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1896
|
+
---------------------------------------------------------------------
|
1897
|
+
ForestLiana::SchemaAdapterTest: test_Date_should_have_the_type_`Date`
|
1898
|
+
---------------------------------------------------------------------
|
1899
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1900
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1901
|
+
------------------------------------------------------------------------------------
|
1902
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationhip_with_specified_class_name
|
1903
|
+
------------------------------------------------------------------------------------
|
1904
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1905
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1906
|
+
-------------------------------------------------------------------------
|
1907
|
+
ForestLiana::SchemaAdapterTest: test_DateTime_should_have_the_type_`Date`
|
1908
|
+
-------------------------------------------------------------------------
|
1909
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1910
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1911
|
+
--------------------------------------------------------
|
1912
|
+
ForestLiana::SchemaAdapterTest: test_hasOne_relationship
|
1913
|
+
--------------------------------------------------------
|
1914
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1915
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1916
|
+
------------------------------------------------------------------------
|
1917
|
+
ForestLiana::SchemaAdapterTest: test_Float_should_have_the_type_`Number`
|
1918
|
+
------------------------------------------------------------------------
|
1919
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1920
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1921
|
+
---------------------------------------------------------
|
1922
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationship
|
1923
|
+
---------------------------------------------------------
|
1924
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1925
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1926
|
+
-------------------------------------------------------------------------
|
1927
|
+
ForestLiana::SchemaAdapterTest: test_String_should_have_the_type_`String`
|
1928
|
+
-------------------------------------------------------------------------
|
1929
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1930
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1931
|
+
---------------------------------------------------------------------------
|
1932
|
+
ForestLiana::SchemaAdapterTest: test_Boolean_should_have_the_type_`Boolean`
|
1933
|
+
---------------------------------------------------------------------------
|
1934
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1935
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1936
|
+
----------------------------------------------------------------------------------
|
1937
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationhip_with_specified_class_name
|
1938
|
+
----------------------------------------------------------------------------------
|
1939
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1940
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1941
|
+
--------------------------------------------------------------------------
|
1942
|
+
ForestLiana::SchemaAdapterTest: test_Integer_should_have_the_type_`Number`
|
1943
|
+
--------------------------------------------------------------------------
|
1944
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1945
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1946
|
+
--------------------------------------------------------------------------
|
1947
|
+
ForestLiana::SchemaAdapterTest: test_Decimal_should_have_the_type_`Number`
|
1948
|
+
--------------------------------------------------------------------------
|
1949
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1950
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1951
|
+
------------------------------------------------------------------
|
1952
|
+
ForestLiana::HasManyGetterTest: test_HasMany_Getter_page_1_size_15
|
1953
|
+
------------------------------------------------------------------
|
1954
|
+
[1m[35mOwner Load (0.1ms)[0m SELECT "owners".* FROM "owners" WHERE "owners"."id" = ? LIMIT 1 [["id", 1]]
|
1955
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE "trees"."owner_id" = ?[0m [["owner_id", 1]]
|
1956
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(DISTINCT count_column) FROM (SELECT "trees"."id" AS count_column FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE "trees"."owner_id" = ? LIMIT 15 OFFSET 0) subquery_for_count [["owner_id", 1]]
|
1957
|
+
[1m[36mSQL (0.2ms)[0m [1mSELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4, "owners"."id" AS t1_r0, "owners"."name" AS t1_r1, "owners"."created_at" AS t1_r2, "owners"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE "trees"."owner_id" = ? ORDER BY "trees"."id" ASC LIMIT 1 OFFSET 0[0m [["owner_id", 1]]
|
1958
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1959
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1960
|
+
-------------------------------------------------------------------------
|
1961
|
+
ForestLiana::HasManyGetterTest: test_HasMany_Getter_with_search_parameter
|
1962
|
+
-------------------------------------------------------------------------
|
1963
|
+
[1m[35mOwner Load (0.1ms)[0m SELECT "owners".* FROM "owners" WHERE "owners"."id" = ? LIMIT 1 [["id", 1]]
|
1964
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE "trees"."owner_id" = ? AND (LOWER("trees"."name") LIKE '%fir%')[0m [["owner_id", 1]]
|
1965
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(DISTINCT count_column) FROM (SELECT "trees"."id" AS count_column FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE "trees"."owner_id" = ? AND (LOWER("trees"."name") LIKE '%fir%') LIMIT 15 OFFSET 0) subquery_for_count [["owner_id", 1]]
|
1966
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4, "owners"."id" AS t1_r0, "owners"."name" AS t1_r1, "owners"."created_at" AS t1_r2, "owners"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE "trees"."owner_id" = ? AND (LOWER("trees"."name") LIKE '%fir%') ORDER BY "trees"."id" ASC LIMIT 1 OFFSET 0[0m [["owner_id", 1]]
|
1967
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1968
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1969
|
+
-----------------------------------------------------------------------
|
1970
|
+
ForestLiana::HasManyGetterTest: test_HasMany_Getter_with_sort_parameter
|
1971
|
+
-----------------------------------------------------------------------
|
1972
|
+
[1m[35mOwner Load (0.1ms)[0m SELECT "owners".* FROM "owners" WHERE "owners"."id" = ? LIMIT 1 [["id", 1]]
|
1973
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE "trees"."owner_id" = ?[0m [["owner_id", 1]]
|
1974
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(DISTINCT count_column) FROM (SELECT "trees"."id" AS count_column FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE "trees"."owner_id" = ? LIMIT 15 OFFSET 0) subquery_for_count [["owner_id", 1]]
|
1975
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4, "owners"."id" AS t1_r0, "owners"."name" AS t1_r1, "owners"."created_at" AS t1_r2, "owners"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE "trees"."owner_id" = ? ORDER BY trees.id DESC LIMIT 1 OFFSET 0[0m [["owner_id", 1]]
|
1976
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1977
|
+
[1m[36m (6.6ms)[0m [1mCREATE TABLE "belongs_to_class_name_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "foo_id" integer) [0m
|
1978
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
1979
|
+
[1m[36m (1.2ms)[0m [1mCREATE INDEX "index_belongs_to_class_name_fields_on_foo_id" ON "belongs_to_class_name_fields" ("foo_id")[0m
|
1980
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "belongs_to_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "has_one_field_id" integer, "has_many_class_name_field_id" integer, "has_many_field_id" integer)
|
1981
|
+
[1m[36m (1.1ms)[0m [1mCREATE INDEX "index_belongs_to_fields_on_has_many_class_name_field_id" ON "belongs_to_fields" ("has_many_class_name_field_id")[0m
|
1982
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1983
|
+
FROM sqlite_master
|
1984
|
+
WHERE name='index_belongs_to_fields_on_has_many_class_name_field_id' AND type='index'
|
1985
|
+
UNION ALL
|
1986
|
+
SELECT sql
|
1987
|
+
FROM sqlite_temp_master
|
1988
|
+
WHERE name='index_belongs_to_fields_on_has_many_class_name_field_id' AND type='index'
|
1989
|
+
|
1990
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_belongs_to_fields_on_has_many_field_id" ON "belongs_to_fields" ("has_many_field_id")[0m
|
1991
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1992
|
+
FROM sqlite_master
|
1993
|
+
WHERE name='index_belongs_to_fields_on_has_many_field_id' AND type='index'
|
1994
|
+
UNION ALL
|
1995
|
+
SELECT sql
|
1996
|
+
FROM sqlite_temp_master
|
1997
|
+
WHERE name='index_belongs_to_fields_on_has_many_field_id' AND type='index'
|
1998
|
+
|
1999
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
2000
|
+
FROM sqlite_master
|
2001
|
+
WHERE name='index_belongs_to_fields_on_has_many_class_name_field_id' AND type='index'
|
2002
|
+
UNION ALL
|
2003
|
+
SELECT sql
|
2004
|
+
FROM sqlite_temp_master
|
2005
|
+
WHERE name='index_belongs_to_fields_on_has_many_class_name_field_id' AND type='index'
|
2006
|
+
[0m
|
2007
|
+
[1m[35m (1.3ms)[0m CREATE INDEX "index_belongs_to_fields_on_has_one_field_id" ON "belongs_to_fields" ("has_one_field_id")
|
2008
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "boolean_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "field" boolean) [0m
|
2009
|
+
[1m[35m (1.3ms)[0m CREATE TABLE "date_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "field" date)
|
2010
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "decimal_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "field" decimal) [0m
|
2011
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "float_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "field" float)
|
2012
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "has_and_belongs_to_many_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL) [0m
|
2013
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "has_many_class_name_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)
|
2014
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "has_many_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "has_many_through_field_id" integer) [0m
|
2015
|
+
[1m[35m (0.9ms)[0m CREATE INDEX "index_has_many_fields_on_has_many_through_field_id" ON "has_many_fields" ("has_many_through_field_id")
|
2016
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "has_many_through_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL) [0m
|
2017
|
+
[1m[35m (2.2ms)[0m CREATE TABLE "has_one_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "checked" boolean, "status" integer DEFAULT 0)
|
2018
|
+
[1m[36m (1.5ms)[0m [1mCREATE TABLE "integer_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "field" integer) [0m
|
2019
|
+
[1m[35m (3.5ms)[0m CREATE TABLE "owners" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime, "updated_at" datetime)
|
2020
|
+
[1m[36m (2.2ms)[0m [1mCREATE TABLE "polymorphic_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "has_one_field_id" integer) [0m
|
2021
|
+
[1m[35m (3.6ms)[0m CREATE INDEX "index_polymorphic_fields_on_has_one_field_id" ON "polymorphic_fields" ("has_one_field_id")
|
2022
|
+
[1m[36m (1.9ms)[0m [1mCREATE TABLE "references" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL) [0m
|
2023
|
+
[1m[35m (3.6ms)[0m CREATE TABLE "serialize_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "field" varchar)
|
2024
|
+
[1m[36m (1.9ms)[0m [1mCREATE TABLE "string_fields" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "field" varchar) [0m
|
2025
|
+
[1m[35m (1.9ms)[0m CREATE TABLE "trees" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "owner_id" integer, "created_at" datetime, "updated_at" datetime)
|
2026
|
+
[1m[36m (1.3ms)[0m [1mCREATE INDEX "index_trees_on_owner_id" ON "trees" ("owner_id")[0m
|
2027
|
+
[1m[35m (1.5ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
2028
|
+
[1m[36m (1.5ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
2029
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
2030
|
+
[1m[36m (1.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20181111162121')[0m
|
2031
|
+
[1m[35m (1.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150608133038')
|
2032
|
+
[1m[36m (1.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150608130516')[0m
|
2033
|
+
[1m[35m (1.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160627172951')
|
2034
|
+
[1m[36m (1.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150608132621')[0m
|
2035
|
+
[1m[35m (1.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160627172810')
|
2036
|
+
[1m[36m (1.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150612112520')[0m
|
2037
|
+
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150608132159')
|
2038
|
+
[1m[36m (1.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20160628173505')[0m
|
2039
|
+
[1m[35m (1.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150608133044')
|
2040
|
+
[1m[36m (1.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150814081918')[0m
|
2041
|
+
[1m[35m (1.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150609114636')
|
2042
|
+
[1m[36m (1.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150608150016')[0m
|
2043
|
+
[1m[35m (2.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150608131430')
|
2044
|
+
[1m[36m (2.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20170614141921')[0m
|
2045
|
+
[1m[35m (1.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150608131610')
|
2046
|
+
[1m[36m (1.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150608131603')[0m
|
2047
|
+
[1m[35m (1.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150623115554')
|
2048
|
+
[1m[36m (1.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150616150629')[0m
|
2049
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2050
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2051
|
+
[1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "has_many_through_fields"[0m
|
2052
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (1)
|
2053
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (2)[0m
|
2054
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (3)
|
2055
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (4)[0m
|
2056
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (5)
|
2057
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (6)[0m
|
2058
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (7)
|
2059
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (8)[0m
|
2060
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (9)
|
2061
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (10)[0m
|
2062
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "string_fields"
|
2063
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (1, 'Test 1')[0m
|
2064
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (2, 'Test 2')
|
2065
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (3, 'Test 3')[0m
|
2066
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (4, 'Test 4')
|
2067
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (5, 'Test 5')[0m
|
2068
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (6, 'Test 6')
|
2069
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (7, 'Test 7')[0m
|
2070
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (8, 'Test 8')
|
2071
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (9, 'Test 9')[0m
|
2072
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (10, 'Test 10')
|
2073
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (11, 'Test 11')[0m
|
2074
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (12, 'Test 12')
|
2075
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (13, 'Test 13')[0m
|
2076
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (14, 'Test 14')
|
2077
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (15, 'Test 15')[0m
|
2078
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (16, 'Test 16')
|
2079
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (17, 'Test 17')[0m
|
2080
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (18, 'Test 18')
|
2081
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (19, 'Test 19')[0m
|
2082
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (20, 'Test 20')
|
2083
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (21, 'Test 21')[0m
|
2084
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (22, 'Test 22')
|
2085
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (23, 'Test 23')[0m
|
2086
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (24, 'Test 24')
|
2087
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (25, 'Test 25')[0m
|
2088
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (26, 'Test 26')
|
2089
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (27, 'Test 27')[0m
|
2090
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (28, 'Test 28')
|
2091
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (29, 'Test 29')[0m
|
2092
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (30, 'Test 30')
|
2093
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "belongs_to_fields"[0m
|
2094
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (1, 1, 1)
|
2095
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (2, 2, 1)[0m
|
2096
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (3, 3, 1)
|
2097
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (4, 4, 2)[0m
|
2098
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (5, 5, 2)
|
2099
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (6, 6, 2)[0m
|
2100
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (7, 7, 3)
|
2101
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (8, 8, 3)[0m
|
2102
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (9, 9, 3)
|
2103
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (10, 10, 4)[0m
|
2104
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (11, 11, 4)
|
2105
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (12, 12, 4)[0m
|
2106
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (13, 13, 5)
|
2107
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (14, 14, 5)[0m
|
2108
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (15, 15, 5)
|
2109
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (16, 16, 6)[0m
|
2110
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (17, 17, 6)
|
2111
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (18, 18, 6)[0m
|
2112
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (19, 19, 7)
|
2113
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (20, 20, 7)[0m
|
2114
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (21, 21, 7)
|
2115
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (22, 22, 7)[0m
|
2116
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (23, 23, 8)
|
2117
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (24, 24, 8)[0m
|
2118
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (25, 25, 9)
|
2119
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (26, 26, 9)[0m
|
2120
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (27, 27, 9)
|
2121
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (28, 28, 10)[0m
|
2122
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (29, 29, 10)
|
2123
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (30, 30, 10)[0m
|
2124
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "trees"
|
2125
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (1, 'Oak', 1, '2012-02-11 11:00:00.000000', '2012-02-11 11:00:00.000000')[0m
|
2126
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (2, 'Mapple', 2, '2012-02-15 21:00:00.000000', '2012-02-15 21:00:00.000000')
|
2127
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (3, 'Mapple', 2, '2014-04-11 12:00:00.000000', '2014-04-11 12:00:00.000000')[0m
|
2128
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (4, 'Oak', 2, '2017-06-18 09:00:00.000000', '2017-06-18 09:00:00.000000')
|
2129
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (5, 'Oak', 3, '2016-06-18 09:00:00.000000', '2016-06-18 09:00:00.000000')[0m
|
2130
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (6, 'Oak', 3, '2019-02-26 13:43:36.000000', '2019-02-26 13:43:36.000000')
|
2131
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (7, 'Sequoia', 1, '2019-02-26 13:43:36.000000', '2019-02-26 13:43:36.000000')[0m
|
2132
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (8, 'Fir', 1, '2019-02-26 13:43:36.000000', '2019-02-26 13:43:36.000000')
|
2133
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "has_one_fields"[0m
|
2134
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (1, 't', 0)
|
2135
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (2, 't', 0)[0m
|
2136
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (3, 't', 0)
|
2137
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (4, 't', 0)[0m
|
2138
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (5, 't', 0)
|
2139
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (6, 't', 0)[0m
|
2140
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (7, 't', 0)
|
2141
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (8, 't', 0)[0m
|
2142
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (9, 't', 0)
|
2143
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (10, 't', 0)[0m
|
2144
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (11, 't', 0)
|
2145
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (12, 't', 0)[0m
|
2146
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (13, 't', 0)
|
2147
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (14, 't', 0)[0m
|
2148
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (15, 't', 0)
|
2149
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (16, 't', 0)[0m
|
2150
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (17, 't', 0)
|
2151
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (18, 't', 0)[0m
|
2152
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (19, 't', 0)
|
2153
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (20, 't', 0)[0m
|
2154
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (21, 't', 0)
|
2155
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (22, 't', 0)[0m
|
2156
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (23, 't', 0)
|
2157
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (24, 't', 0)[0m
|
2158
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (25, 't', 0)
|
2159
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (26, 't', 0)[0m
|
2160
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (27, 't', 0)
|
2161
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (28, 't', 0)[0m
|
2162
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (29, 't', 0)
|
2163
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (30, 't', 1)[0m
|
2164
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "references"
|
2165
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "references" ("id") VALUES (1)[0m
|
2166
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "owners"
|
2167
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "owners" ("id", "name", "created_at", "updated_at") VALUES (1, 'Sandro Munda', '2018-05-30 09:00:00.000000', '2019-06-27 20:00:00.000000')[0m
|
2168
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "owners" ("id", "name", "created_at", "updated_at") VALUES (2, 'Arnaud Besnier', '2019-05-02 09:00:00.000000', '2019-06-28 08:00:00.000000')
|
2169
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "owners" ("id", "name", "created_at", "updated_at") VALUES (3, 'John Doe', '2017-05-02 09:00:00.000000', '2018-06-28 08:00:00.000000')[0m
|
2170
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "has_many_fields"
|
2171
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (1)[0m
|
2172
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_fields" ("id") VALUES (2)
|
2173
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (3)[0m
|
2174
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_fields" ("id") VALUES (4)
|
2175
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_fields" ("id", "has_many_through_field_id") VALUES (5, 3)[0m
|
2176
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_fields" ("id", "has_many_through_field_id") VALUES (6, 2)
|
2177
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (7)[0m
|
2178
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_fields" ("id", "has_many_through_field_id") VALUES (8, 2)
|
2179
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (9)[0m
|
2180
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_fields" ("id") VALUES (10)
|
2181
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "serialize_fields"[0m
|
2182
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "serialize_fields" ("id", "field") VALUES (1, 'value 1')
|
2183
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "serialize_fields" ("id", "field") VALUES (2, 'value 2')[0m
|
2184
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "serialize_fields" ("id", "field") VALUES (3, 'value 3')
|
2185
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "serialize_fields" ("id", "field") VALUES (4, 'value 4')[0m
|
2186
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "serialize_fields" ("id", "field") VALUES (5, 'value 5')
|
2187
|
+
[1m[36m (2.8ms)[0m [1mcommit transaction[0m
|
2188
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2189
|
+
-----------------------------------------------------------------------
|
2190
|
+
ForestLiana::HasManyGetterTest: test_HasMany_Getter_with_sort_parameter
|
2191
|
+
-----------------------------------------------------------------------
|
2192
|
+
[1m[36mOwner Load (0.2ms)[0m [1mSELECT "owners".* FROM "owners" WHERE "owners"."id" = ? LIMIT 1[0m [["id", 1]]
|
2193
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE "trees"."owner_id" = ? [["owner_id", 1]]
|
2194
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(DISTINCT count_column) FROM (SELECT "trees"."id" AS count_column FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE "trees"."owner_id" = ? LIMIT 15 OFFSET 0) subquery_for_count[0m [["owner_id", 1]]
|
2195
|
+
[1m[35mSQL (0.1ms)[0m SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4, "owners"."id" AS t1_r0, "owners"."name" AS t1_r1, "owners"."created_at" AS t1_r2, "owners"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE "trees"."owner_id" = ? ORDER BY trees.id DESC LIMIT 1 OFFSET 0 [["owner_id", 1]]
|
2196
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2197
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2198
|
+
------------------------------------------------------------------
|
2199
|
+
ForestLiana::HasManyGetterTest: test_HasMany_Getter_page_1_size_15
|
2200
|
+
------------------------------------------------------------------
|
2201
|
+
[1m[36mOwner Load (0.1ms)[0m [1mSELECT "owners".* FROM "owners" WHERE "owners"."id" = ? LIMIT 1[0m [["id", 1]]
|
2202
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE "trees"."owner_id" = ? [["owner_id", 1]]
|
2203
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(DISTINCT count_column) FROM (SELECT "trees"."id" AS count_column FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE "trees"."owner_id" = ? LIMIT 15 OFFSET 0) subquery_for_count[0m [["owner_id", 1]]
|
2204
|
+
[1m[35mSQL (0.1ms)[0m SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4, "owners"."id" AS t1_r0, "owners"."name" AS t1_r1, "owners"."created_at" AS t1_r2, "owners"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE "trees"."owner_id" = ? ORDER BY "trees"."id" ASC LIMIT 1 OFFSET 0 [["owner_id", 1]]
|
2205
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2206
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2207
|
+
-------------------------------------------------------------------------
|
2208
|
+
ForestLiana::HasManyGetterTest: test_HasMany_Getter_with_search_parameter
|
2209
|
+
-------------------------------------------------------------------------
|
2210
|
+
[1m[36mOwner Load (0.1ms)[0m [1mSELECT "owners".* FROM "owners" WHERE "owners"."id" = ? LIMIT 1[0m [["id", 1]]
|
2211
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE "trees"."owner_id" = ? AND (LOWER("trees"."name") LIKE '%fir%') [["owner_id", 1]]
|
2212
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(DISTINCT count_column) FROM (SELECT "trees"."id" AS count_column FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE "trees"."owner_id" = ? AND (LOWER("trees"."name") LIKE '%fir%') LIMIT 15 OFFSET 0) subquery_for_count[0m [["owner_id", 1]]
|
2213
|
+
[1m[35mSQL (0.1ms)[0m SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4, "owners"."id" AS t1_r0, "owners"."name" AS t1_r1, "owners"."created_at" AS t1_r2, "owners"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE "trees"."owner_id" = ? AND (LOWER("trees"."name") LIKE '%fir%') ORDER BY "trees"."id" ASC LIMIT 1 OFFSET 0 [["owner_id", 1]]
|
2214
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2215
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2216
|
+
------------------------------------------------------------------------------------
|
2217
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationhip_with_specified_class_name
|
2218
|
+
------------------------------------------------------------------------------------
|
2219
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2220
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2221
|
+
---------------------------------------------------------
|
2222
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationship
|
2223
|
+
---------------------------------------------------------
|
2224
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2225
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2226
|
+
--------------------------------------------------------------------------
|
2227
|
+
ForestLiana::SchemaAdapterTest: test_Integer_should_have_the_type_`Number`
|
2228
|
+
--------------------------------------------------------------------------
|
2229
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2230
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2231
|
+
------------------------------------------------------------------------
|
2232
|
+
ForestLiana::SchemaAdapterTest: test_Float_should_have_the_type_`Number`
|
2233
|
+
------------------------------------------------------------------------
|
2234
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2235
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2236
|
+
--------------------------------------------------------------------------
|
2237
|
+
ForestLiana::SchemaAdapterTest: test_Decimal_should_have_the_type_`Number`
|
2238
|
+
--------------------------------------------------------------------------
|
2239
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2240
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2241
|
+
----------------------------------------------------------------------------------
|
2242
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationhip_with_specified_class_name
|
2243
|
+
----------------------------------------------------------------------------------
|
2244
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2245
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2246
|
+
---------------------------------------------------------------------------
|
2247
|
+
ForestLiana::SchemaAdapterTest: test_Boolean_should_have_the_type_`Boolean`
|
2248
|
+
---------------------------------------------------------------------------
|
2249
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
2250
|
+
[1m[35m (0.4ms)[0m begin transaction
|
2251
|
+
-------------------------------------------------------------------------
|
2252
|
+
ForestLiana::SchemaAdapterTest: test_DateTime_should_have_the_type_`Date`
|
2253
|
+
-------------------------------------------------------------------------
|
2254
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2255
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2256
|
+
-----------------------------------------------------------
|
2257
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationship
|
2258
|
+
-----------------------------------------------------------
|
2259
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2260
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2261
|
+
--------------------------------------------------------
|
2262
|
+
ForestLiana::SchemaAdapterTest: test_hasOne_relationship
|
2263
|
+
--------------------------------------------------------
|
2264
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2265
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2266
|
+
---------------------------------------------------------------------
|
2267
|
+
ForestLiana::SchemaAdapterTest: test_Date_should_have_the_type_`Date`
|
2268
|
+
---------------------------------------------------------------------
|
2269
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2270
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2271
|
+
-------------------------------------------------------------------------
|
2272
|
+
ForestLiana::SchemaAdapterTest: test_String_should_have_the_type_`String`
|
2273
|
+
-------------------------------------------------------------------------
|
2274
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2275
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2276
|
+
------------------------------------------------------------------------------------------------------------
|
2277
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_well_formated_value
|
2278
|
+
------------------------------------------------------------------------------------------------------------
|
2279
|
+
[1m[36mSerializeField Load (0.1ms)[0m [1mSELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1[0m [["id", 1]]
|
2280
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2281
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "serialize_fields" SET "field" = ? WHERE "serialize_fields"."id" = ?[0m [["field", "---\n- test\n- test\n"], ["id", 1]]
|
2282
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2283
|
+
[1m[36m (5.5ms)[0m [1mrollback transaction[0m
|
2284
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2285
|
+
---------------------------------------------------------------------------------------------------------
|
2286
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_bad_format_value
|
2287
|
+
---------------------------------------------------------------------------------------------------------
|
2288
|
+
[1m[36mSerializeField Load (0.1ms)[0m [1mSELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1[0m [["id", 1]]
|
2289
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2290
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2291
|
+
---------------------------------------------------------------------------------------------------
|
2292
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_null_value
|
2293
|
+
---------------------------------------------------------------------------------------------------
|
2294
|
+
[1m[35mSerializeField Load (0.1ms)[0m SELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1 [["id", 1]]
|
2295
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2296
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "serialize_fields" SET "field" = ? WHERE "serialize_fields"."id" = ? [["field", nil], ["id", 1]]
|
2297
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2298
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
2299
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2300
|
+
------------------------------------------------------------------------------------------------------
|
2301
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_missing_value
|
2302
|
+
------------------------------------------------------------------------------------------------------
|
2303
|
+
[1m[35mSerializeField Load (0.1ms)[0m SELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1 [["id", 1]]
|
2304
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2305
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2306
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2307
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2308
|
+
---------------------------
|
2309
|
+
ForestLianaTest: test_truth
|
2310
|
+
---------------------------
|
2311
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2312
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2313
|
+
-----------------------------------
|
2314
|
+
ForestLiana::RouteTest: test_Routes
|
2315
|
+
-----------------------------------
|
2316
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2317
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2318
|
+
----------------------------------------------------------------------------------------------------
|
2319
|
+
ForestLiana::ValueStatGetterTest: test_Value_stat_getter_with_a_filter_on_a_belongs_to_boolean_field
|
2320
|
+
----------------------------------------------------------------------------------------------------
|
2321
|
+
[1m[36m (0.2ms)[0m [1mSELECT DISTINCT COUNT(DISTINCT "belongs_to_fields"."id") FROM "belongs_to_fields" LEFT OUTER JOIN "has_one_fields" ON "has_one_fields"."id" = "belongs_to_fields"."has_one_field_id" LEFT OUTER JOIN "has_many_fields" ON "has_many_fields"."id" = "belongs_to_fields"."has_many_field_id" LEFT OUTER JOIN "has_many_class_name_fields" ON "has_many_class_name_fields"."id" = "belongs_to_fields"."has_many_class_name_field_id" WHERE ("has_one_fields"."checked" = 0)[0m
|
2322
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2323
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2324
|
+
-------------------------------------------------------------------------------------------------
|
2325
|
+
ForestLiana::ValueStatGetterTest: test_Value_stat_getter_with_a_filter_on_a_belongs_to_enum_field
|
2326
|
+
-------------------------------------------------------------------------------------------------
|
2327
|
+
[1m[35m (0.2ms)[0m SELECT DISTINCT COUNT(DISTINCT "belongs_to_fields"."id") FROM "belongs_to_fields" LEFT OUTER JOIN "has_one_fields" ON "has_one_fields"."id" = "belongs_to_fields"."has_one_field_id" LEFT OUTER JOIN "has_many_fields" ON "has_many_fields"."id" = "belongs_to_fields"."has_many_field_id" LEFT OUTER JOIN "has_many_class_name_fields" ON "has_many_class_name_fields"."id" = "belongs_to_fields"."has_many_class_name_field_id" WHERE ("has_one_fields"."status" = '1')
|
2328
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2329
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2330
|
+
----------------------------------------------------------------------------------------------------
|
2331
|
+
ForestLiana::ValueStatGetterTest: test_Value_stat_getter_with_a_filter_on_a_belongs_to_integer_field
|
2332
|
+
----------------------------------------------------------------------------------------------------
|
2333
|
+
[1m[36m (0.2ms)[0m [1mSELECT DISTINCT COUNT(DISTINCT "belongs_to_fields"."id") FROM "belongs_to_fields" LEFT OUTER JOIN "has_one_fields" ON "has_one_fields"."id" = "belongs_to_fields"."has_one_field_id" LEFT OUTER JOIN "has_many_fields" ON "has_many_fields"."id" = "belongs_to_fields"."has_many_field_id" LEFT OUTER JOIN "has_many_class_name_fields" ON "has_many_class_name_fields"."id" = "belongs_to_fields"."has_many_class_name_field_id" WHERE ("has_one_fields"."id" = '3')[0m
|
2334
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2335
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2336
|
+
-----------------------------------------------------------------------------
|
2337
|
+
ForestLiana::ValueStatGetterTest: test_Value_stat_getter_with_a_simple_filter
|
2338
|
+
-----------------------------------------------------------------------------
|
2339
|
+
[1m[35m (0.1ms)[0m SELECT DISTINCT COUNT(DISTINCT "boolean_fields"."id") FROM "boolean_fields" WHERE ("boolean_fields"."field" = 1)
|
2340
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2341
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2342
|
+
----------------------------------------------------------------
|
2343
|
+
ForestLiana::ResourcesGetterTest: test_StringField_sort_by_field
|
2344
|
+
----------------------------------------------------------------
|
2345
|
+
[1m[36mSQL (0.2ms)[0m [1mSELECT "string_fields"."id" AS t0_r0, "string_fields"."field" AS t0_r1 FROM "string_fields" ORDER BY "string_fields"."field" DESC LIMIT 10 OFFSET 0[0m
|
2346
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "string_fields"
|
2347
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2348
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2349
|
+
------------------------------------------------------------------------------------------------
|
2350
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_an_updated_at_field_of_an_associated_collection
|
2351
|
+
------------------------------------------------------------------------------------------------
|
2352
|
+
[1m[36mSQL (0.2ms)[0m [1mSELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4, "owners"."id" AS t1_r0, "owners"."name" AS t1_r1, "owners"."created_at" AS t1_r2, "owners"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.updated_at BETWEEN '2018-01-01 09:00:00 UTC' AND '2019-01-01 08:59:59 UTC') ORDER BY "trees"."created_at" DESC LIMIT 10 OFFSET 0[0m
|
2353
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.updated_at BETWEEN '2018-01-01 09:00:00 UTC' AND '2019-01-01 08:59:59 UTC')
|
2354
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2355
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2356
|
+
------------------------------------------------------------------------------------------------------
|
2357
|
+
ForestLiana::ResourcesGetterTest: test_Filter_equal_on_an_updated_at_field_of_an_associated_collection
|
2358
|
+
------------------------------------------------------------------------------------------------------
|
2359
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4, "owners"."id" AS t1_r0, "owners"."name" AS t1_r1, "owners"."created_at" AS t1_r2, "owners"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.updated_at = 'Sat Jul 02 2016 11:52:00 GMT-0400 (EDT)') ORDER BY "trees"."created_at" DESC LIMIT 10 OFFSET 0[0m
|
2360
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.updated_at = 'Sat Jul 02 2016 11:52:00 GMT-0400 (EDT)')
|
2361
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2362
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2363
|
+
----------------------------------------------------------------
|
2364
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_ambiguous_field
|
2365
|
+
----------------------------------------------------------------
|
2366
|
+
[1m[36mSQL (0.2ms)[0m [1mSELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4, "owners"."id" AS t1_r0, "owners"."name" AS t1_r1, "owners"."created_at" AS t1_r2, "owners"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE ("trees"."created_at" > '2015-06-18 08:00:00') AND (owners.name = 'Arnaud Besnier') ORDER BY "trees"."created_at" DESC LIMIT 10 OFFSET 0[0m
|
2367
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE ("trees"."created_at" > '2015-06-18 08:00:00') AND (owners.name = 'Arnaud Besnier')
|
2368
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2369
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2370
|
+
--------------------------------------------------------------------------------------------------------
|
2371
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_a_field_of_an_associated_collection_that_does_not_exist
|
2372
|
+
--------------------------------------------------------------------------------------------------------
|
2373
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2374
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2375
|
+
-----------------------------------------------------------------------------
|
2376
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_a_field_that_does_not_exists
|
2377
|
+
-----------------------------------------------------------------------------
|
2378
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2379
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2380
|
+
--------------------------------------------------------------------
|
2381
|
+
ForestLiana::ResourcesGetterTest: test_Sort_by_a_has_one_association
|
2382
|
+
--------------------------------------------------------------------
|
2383
|
+
[1m[36mSQL (0.2ms)[0m [1mSELECT "has_one_fields"."id" AS t0_r0, "has_one_fields"."checked" AS t0_r1, "has_one_fields"."status" AS t0_r2, "belongs_to_fields"."id" AS t1_r0, "belongs_to_fields"."has_one_field_id" AS t1_r1, "belongs_to_fields"."has_many_class_name_field_id" AS t1_r2, "belongs_to_fields"."has_many_field_id" AS t1_r3, "belongs_to_class_name_fields"."id" AS t2_r0, "belongs_to_class_name_fields"."foo_id" AS t2_r1 FROM "has_one_fields" LEFT OUTER JOIN "belongs_to_fields" ON "belongs_to_fields"."has_one_field_id" = "has_one_fields"."id" LEFT OUTER JOIN "belongs_to_class_name_fields" ON "belongs_to_class_name_fields"."foo_id" = "has_one_fields"."id" ORDER BY "belongs_to_fields"."id" DESC LIMIT 10 OFFSET 0[0m
|
2384
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(DISTINCT "has_one_fields"."id") FROM "has_one_fields" LEFT OUTER JOIN "belongs_to_fields" ON "belongs_to_fields"."has_one_field_id" = "has_one_fields"."id" LEFT OUTER JOIN "belongs_to_class_name_fields" ON "belongs_to_class_name_fields"."foo_id" = "has_one_fields"."id"
|
2385
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
2386
|
+
[1m[35m (0.2ms)[0m begin transaction
|
2387
|
+
----------------------------------------------------------
|
2388
|
+
ForestLiana::ResourcesGetterTest: test_Filter_after_x_days
|
2389
|
+
----------------------------------------------------------
|
2390
|
+
[1m[36mSQL (0.3ms)[0m [1mSELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4 FROM "trees" WHERE ("trees"."created_at" > '2019-02-26 13:42:37 UTC') ORDER BY "trees"."created_at" DESC LIMIT 10 OFFSET 0[0m
|
2391
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "trees" WHERE ("trees"."created_at" > '2019-02-26 13:42:37 UTC')
|
2392
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2393
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2394
|
+
-----------------------------------------------------------------------
|
2395
|
+
ForestLiana::ResourcesGetterTest: test_Sort_by_a_belongs_to_association
|
2396
|
+
-----------------------------------------------------------------------
|
2397
|
+
[1m[36mSQL (0.2ms)[0m [1mSELECT "belongs_to_fields"."id" AS t0_r0, "belongs_to_fields"."has_one_field_id" AS t0_r1, "belongs_to_fields"."has_many_class_name_field_id" AS t0_r2, "belongs_to_fields"."has_many_field_id" AS t0_r3, "has_one_fields"."id" AS t1_r0, "has_one_fields"."checked" AS t1_r1, "has_one_fields"."status" AS t1_r2, "has_many_fields"."id" AS t2_r0, "has_many_fields"."has_many_through_field_id" AS t2_r1, "has_many_class_name_fields"."id" AS t3_r0 FROM "belongs_to_fields" LEFT OUTER JOIN "has_one_fields" ON "has_one_fields"."id" = "belongs_to_fields"."has_one_field_id" LEFT OUTER JOIN "has_many_fields" ON "has_many_fields"."id" = "belongs_to_fields"."has_many_field_id" LEFT OUTER JOIN "has_many_class_name_fields" ON "has_many_class_name_fields"."id" = "belongs_to_fields"."has_many_class_name_field_id" ORDER BY "has_one_fields"."id" ASC LIMIT 10 OFFSET 0[0m
|
2398
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(DISTINCT "belongs_to_fields"."id") FROM "belongs_to_fields" LEFT OUTER JOIN "has_one_fields" ON "has_one_fields"."id" = "belongs_to_fields"."has_one_field_id" LEFT OUTER JOIN "has_many_fields" ON "has_many_fields"."id" = "belongs_to_fields"."has_many_field_id" LEFT OUTER JOIN "has_many_class_name_fields" ON "has_many_class_name_fields"."id" = "belongs_to_fields"."has_many_class_name_field_id"
|
2399
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2400
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2401
|
+
-----------------------------------------------------------------
|
2402
|
+
ForestLiana::ResourcesGetterTest: test_StringField_page_2_size_10
|
2403
|
+
-----------------------------------------------------------------
|
2404
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "string_fields"."id" AS t0_r0, "string_fields"."field" AS t0_r1 FROM "string_fields" ORDER BY "string_fields"."id" DESC LIMIT 10 OFFSET 10[0m
|
2405
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "string_fields"
|
2406
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2407
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2408
|
+
------------------------------------------------------------
|
2409
|
+
ForestLiana::ResourcesGetterTest: test_Filter_before_x_hours
|
2410
|
+
------------------------------------------------------------
|
2411
|
+
[1m[36mSQL (0.2ms)[0m [1mSELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4 FROM "trees" WHERE ("trees"."created_at" < '2019-02-26 13:42:37 UTC') ORDER BY "trees"."created_at" DESC LIMIT 10 OFFSET 0[0m
|
2412
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "trees" WHERE ("trees"."created_at" < '2019-02-26 13:42:37 UTC')
|
2413
|
+
[1m[36mOwner Load (0.0ms)[0m [1mSELECT "owners".* FROM "owners" WHERE "owners"."id" = ? LIMIT 1[0m [["id", 2]]
|
2414
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2415
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2416
|
+
------------------------------------------------------------------------
|
2417
|
+
ForestLiana::ResourcesGetterTest: test_on_a_model_having_a_reserved_name
|
2418
|
+
------------------------------------------------------------------------
|
2419
|
+
[1m[35mSQL (0.1ms)[0m SELECT "references"."id" AS t0_r0 FROM "references" ORDER BY "references"."id" DESC LIMIT 10 OFFSET 0
|
2420
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "references"[0m
|
2421
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2422
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2423
|
+
-----------------------------------------------------------------
|
2424
|
+
ForestLiana::ResourcesGetterTest: test_StringField_page_1_size_15
|
2425
|
+
-----------------------------------------------------------------
|
2426
|
+
[1m[35mSQL (0.1ms)[0m SELECT "string_fields"."id" AS t0_r0, "string_fields"."field" AS t0_r1 FROM "string_fields" ORDER BY "string_fields"."id" DESC LIMIT 15 OFFSET 0
|
2427
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "string_fields"[0m
|
2428
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2429
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2430
|
+
------------------------------------------------------------------------------------
|
2431
|
+
ForestLiana::ResourcesGetterTest: test_Sort_on_an_ambiguous_field_name_with_a_filter
|
2432
|
+
------------------------------------------------------------------------------------
|
2433
|
+
[1m[35mSQL (0.4ms)[0m SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4, "owners"."id" AS t1_r0, "owners"."name" AS t1_r1, "owners"."created_at" AS t1_r2, "owners"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.name = 'Arnaud Besnier') ORDER BY "trees"."name" DESC LIMIT 10 OFFSET 0
|
2434
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.name = 'Arnaud Besnier')[0m
|
2435
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2436
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2437
|
+
-------------------------------------------------------------------------------------------
|
2438
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_an_updated_at_field_of_the_main_collection
|
2439
|
+
-------------------------------------------------------------------------------------------
|
2440
|
+
[1m[35mSQL (0.2ms)[0m SELECT "owners"."id" AS t0_r0, "owners"."name" AS t0_r1, "owners"."created_at" AS t0_r2, "owners"."updated_at" AS t0_r3 FROM "owners" WHERE ("owners"."updated_at" BETWEEN '2018-01-01 09:00:00 UTC' AND '2019-01-01 08:59:59 UTC') ORDER BY "owners"."created_at" DESC LIMIT 10 OFFSET 0
|
2441
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "owners" WHERE ("owners"."updated_at" BETWEEN '2018-01-01 09:00:00 UTC' AND '2019-01-01 08:59:59 UTC')[0m
|
2442
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2443
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2444
|
+
---------------------------------------------------------------------------------------
|
2445
|
+
ForestLiana::PieStatGetterTest: test_Pie_stat_getter_with_an_aggregate_on_a_foreign_key
|
2446
|
+
---------------------------------------------------------------------------------------
|
2447
|
+
[1m[35m (0.9ms)[0m SELECT COUNT(DISTINCT "belongs_to_fields"."id") AS count_id, belongs_to_fields.has_one_field_id AS belongs_to_fields_has_one_field_id FROM "belongs_to_fields" LEFT OUTER JOIN "has_one_fields" ON "has_one_fields"."id" = "belongs_to_fields"."has_one_field_id" LEFT OUTER JOIN "has_many_fields" ON "has_many_fields"."id" = "belongs_to_fields"."has_many_field_id" LEFT OUTER JOIN "has_many_class_name_fields" ON "has_many_class_name_fields"."id" = "belongs_to_fields"."has_many_class_name_field_id" GROUP BY belongs_to_fields.has_one_field_id ORDER BY count_id DESC
|
2448
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2449
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2450
|
+
-----------------------------------------------------------------------------------------
|
2451
|
+
ForestLiana::PieStatGetterTest: test_Pie_stat_getter_with_an_aggregate_on_a_boolean_field
|
2452
|
+
-----------------------------------------------------------------------------------------
|
2453
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) AS count_all, boolean_fields.field AS boolean_fields_field FROM "boolean_fields" GROUP BY boolean_fields.field ORDER BY count_all DESC[0m
|
2454
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2455
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2456
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2457
|
+
[1m[36mFixture Delete (0.5ms)[0m [1mDELETE FROM "has_many_through_fields"[0m
|
2458
|
+
[1m[35mFixture Insert (0.5ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (1)
|
2459
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (2)[0m
|
2460
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (3)
|
2461
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (4)[0m
|
2462
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (5)
|
2463
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (6)[0m
|
2464
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (7)
|
2465
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (8)[0m
|
2466
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_through_fields" ("id") VALUES (9)
|
2467
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_through_fields" ("id") VALUES (10)[0m
|
2468
|
+
[1m[35mFixture Delete (0.5ms)[0m DELETE FROM "string_fields"
|
2469
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (1, 'Test 1')[0m
|
2470
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (2, 'Test 2')
|
2471
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (3, 'Test 3')[0m
|
2472
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (4, 'Test 4')
|
2473
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (5, 'Test 5')[0m
|
2474
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (6, 'Test 6')
|
2475
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (7, 'Test 7')[0m
|
2476
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (8, 'Test 8')
|
2477
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (9, 'Test 9')[0m
|
2478
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (10, 'Test 10')
|
2479
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (11, 'Test 11')[0m
|
2480
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (12, 'Test 12')
|
2481
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (13, 'Test 13')[0m
|
2482
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (14, 'Test 14')
|
2483
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (15, 'Test 15')[0m
|
2484
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (16, 'Test 16')
|
2485
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (17, 'Test 17')[0m
|
2486
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (18, 'Test 18')
|
2487
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (19, 'Test 19')[0m
|
2488
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (20, 'Test 20')
|
2489
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (21, 'Test 21')[0m
|
2490
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (22, 'Test 22')
|
2491
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (23, 'Test 23')[0m
|
2492
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (24, 'Test 24')
|
2493
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (25, 'Test 25')[0m
|
2494
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (26, 'Test 26')
|
2495
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (27, 'Test 27')[0m
|
2496
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (28, 'Test 28')
|
2497
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "string_fields" ("id", "field") VALUES (29, 'Test 29')[0m
|
2498
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "string_fields" ("id", "field") VALUES (30, 'Test 30')
|
2499
|
+
[1m[36mFixture Delete (1.4ms)[0m [1mDELETE FROM "belongs_to_fields"[0m
|
2500
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (1, 1, 1)
|
2501
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (2, 2, 1)[0m
|
2502
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (3, 3, 1)
|
2503
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (4, 4, 2)[0m
|
2504
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (5, 5, 2)
|
2505
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (6, 6, 2)[0m
|
2506
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (7, 7, 3)
|
2507
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (8, 8, 3)[0m
|
2508
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (9, 9, 3)
|
2509
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (10, 10, 4)[0m
|
2510
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (11, 11, 4)
|
2511
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (12, 12, 4)[0m
|
2512
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (13, 13, 5)
|
2513
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (14, 14, 5)[0m
|
2514
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (15, 15, 5)
|
2515
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (16, 16, 6)[0m
|
2516
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (17, 17, 6)
|
2517
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (18, 18, 6)[0m
|
2518
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (19, 19, 7)
|
2519
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (20, 20, 7)[0m
|
2520
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (21, 21, 7)
|
2521
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (22, 22, 7)[0m
|
2522
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (23, 23, 8)
|
2523
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (24, 24, 8)[0m
|
2524
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (25, 25, 9)
|
2525
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (26, 26, 9)[0m
|
2526
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (27, 27, 9)
|
2527
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (28, 28, 10)[0m
|
2528
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (29, 29, 10)
|
2529
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "belongs_to_fields" ("id", "has_one_field_id", "has_many_field_id") VALUES (30, 30, 10)[0m
|
2530
|
+
[1m[35mFixture Delete (0.9ms)[0m DELETE FROM "trees"
|
2531
|
+
[1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (1, 'Oak', 1, '2012-02-11 11:00:00.000000', '2012-02-11 11:00:00.000000')[0m
|
2532
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (2, 'Mapple', 2, '2012-02-15 21:00:00.000000', '2012-02-15 21:00:00.000000')
|
2533
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (3, 'Mapple', 2, '2014-04-11 12:00:00.000000', '2014-04-11 12:00:00.000000')[0m
|
2534
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (4, 'Oak', 2, '2017-06-18 09:00:00.000000', '2017-06-18 09:00:00.000000')
|
2535
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (5, 'Oak', 3, '2016-06-18 09:00:00.000000', '2016-06-18 09:00:00.000000')[0m
|
2536
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (6, 'Oak', 3, '2019-02-26 14:35:54.000000', '2019-02-26 14:35:54.000000')
|
2537
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (7, 'Sequoia', 1, '2019-02-26 14:35:54.000000', '2019-02-26 14:35:54.000000')[0m
|
2538
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "trees" ("id", "name", "owner_id", "created_at", "updated_at") VALUES (8, 'Fir', 1, '2019-02-26 14:35:54.000000', '2019-02-26 14:35:54.000000')
|
2539
|
+
[1m[36mFixture Delete (0.6ms)[0m [1mDELETE FROM "has_one_fields"[0m
|
2540
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (1, 't', 0)
|
2541
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (2, 't', 0)[0m
|
2542
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (3, 't', 0)
|
2543
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (4, 't', 0)[0m
|
2544
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (5, 't', 0)
|
2545
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (6, 't', 0)[0m
|
2546
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (7, 't', 0)
|
2547
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (8, 't', 0)[0m
|
2548
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (9, 't', 0)
|
2549
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (10, 't', 0)[0m
|
2550
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (11, 't', 0)
|
2551
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (12, 't', 0)[0m
|
2552
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (13, 't', 0)
|
2553
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (14, 't', 0)[0m
|
2554
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (15, 't', 0)
|
2555
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (16, 't', 0)[0m
|
2556
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (17, 't', 0)
|
2557
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (18, 't', 0)[0m
|
2558
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (19, 't', 0)
|
2559
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (20, 't', 0)[0m
|
2560
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (21, 't', 0)
|
2561
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (22, 't', 0)[0m
|
2562
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (23, 't', 0)
|
2563
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (24, 't', 0)[0m
|
2564
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (25, 't', 0)
|
2565
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (26, 't', 0)[0m
|
2566
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (27, 't', 0)
|
2567
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (28, 't', 0)[0m
|
2568
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (29, 't', 0)
|
2569
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_one_fields" ("id", "checked", "status") VALUES (30, 't', 1)[0m
|
2570
|
+
[1m[35mFixture Delete (0.4ms)[0m DELETE FROM "references"
|
2571
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "references" ("id") VALUES (1)[0m
|
2572
|
+
[1m[35mFixture Delete (0.4ms)[0m DELETE FROM "owners"
|
2573
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "owners" ("id", "name", "created_at", "updated_at") VALUES (1, 'Sandro Munda', '2018-05-30 09:00:00.000000', '2019-06-27 20:00:00.000000')[0m
|
2574
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "owners" ("id", "name", "created_at", "updated_at") VALUES (2, 'Arnaud Besnier', '2019-05-02 09:00:00.000000', '2019-06-28 08:00:00.000000')
|
2575
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "owners" ("id", "name", "created_at", "updated_at") VALUES (3, 'John Doe', '2017-05-02 09:00:00.000000', '2018-06-28 08:00:00.000000')[0m
|
2576
|
+
[1m[35mFixture Delete (0.9ms)[0m DELETE FROM "has_many_fields"
|
2577
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (1)[0m
|
2578
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "has_many_fields" ("id") VALUES (2)
|
2579
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (3)[0m
|
2580
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_fields" ("id") VALUES (4)
|
2581
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "has_many_fields" ("id", "has_many_through_field_id") VALUES (5, 3)[0m
|
2582
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_fields" ("id", "has_many_through_field_id") VALUES (6, 2)
|
2583
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (7)[0m
|
2584
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_fields" ("id", "has_many_through_field_id") VALUES (8, 2)
|
2585
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "has_many_fields" ("id") VALUES (9)[0m
|
2586
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "has_many_fields" ("id") VALUES (10)
|
2587
|
+
[1m[36mFixture Delete (0.5ms)[0m [1mDELETE FROM "serialize_fields"[0m
|
2588
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "serialize_fields" ("id", "field") VALUES (1, 'value 1')
|
2589
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "serialize_fields" ("id", "field") VALUES (2, 'value 2')[0m
|
2590
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "serialize_fields" ("id", "field") VALUES (3, 'value 3')
|
2591
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "serialize_fields" ("id", "field") VALUES (4, 'value 4')[0m
|
2592
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "serialize_fields" ("id", "field") VALUES (5, 'value 5')
|
2593
|
+
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
2594
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2595
|
+
-----------------------------------------------------------------------
|
2596
|
+
ForestLiana::HasManyGetterTest: test_HasMany_Getter_with_sort_parameter
|
2597
|
+
-----------------------------------------------------------------------
|
2598
|
+
[1m[36mOwner Load (0.2ms)[0m [1mSELECT "owners".* FROM "owners" WHERE "owners"."id" = ? LIMIT 1[0m [["id", 1]]
|
2599
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE "trees"."owner_id" = ? [["owner_id", 1]]
|
2600
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(DISTINCT count_column) FROM (SELECT "trees"."id" AS count_column FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE "trees"."owner_id" = ? LIMIT 15 OFFSET 0) subquery_for_count[0m [["owner_id", 1]]
|
2601
|
+
[1m[35mSQL (0.4ms)[0m SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4, "owners"."id" AS t1_r0, "owners"."name" AS t1_r1, "owners"."created_at" AS t1_r2, "owners"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE "trees"."owner_id" = ? ORDER BY trees.id DESC LIMIT 1 OFFSET 0 [["owner_id", 1]]
|
2602
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
2603
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2604
|
+
-------------------------------------------------------------------------
|
2605
|
+
ForestLiana::HasManyGetterTest: test_HasMany_Getter_with_search_parameter
|
2606
|
+
-------------------------------------------------------------------------
|
2607
|
+
[1m[36mOwner Load (0.1ms)[0m [1mSELECT "owners".* FROM "owners" WHERE "owners"."id" = ? LIMIT 1[0m [["id", 1]]
|
2608
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE "trees"."owner_id" = ? AND (LOWER("trees"."name") LIKE '%fir%') [["owner_id", 1]]
|
2609
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(DISTINCT count_column) FROM (SELECT "trees"."id" AS count_column FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE "trees"."owner_id" = ? AND (LOWER("trees"."name") LIKE '%fir%') LIMIT 15 OFFSET 0) subquery_for_count[0m [["owner_id", 1]]
|
2610
|
+
[1m[35mSQL (0.2ms)[0m SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4, "owners"."id" AS t1_r0, "owners"."name" AS t1_r1, "owners"."created_at" AS t1_r2, "owners"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE "trees"."owner_id" = ? AND (LOWER("trees"."name") LIKE '%fir%') ORDER BY "trees"."id" ASC LIMIT 1 OFFSET 0 [["owner_id", 1]]
|
2611
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2612
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2613
|
+
------------------------------------------------------------------
|
2614
|
+
ForestLiana::HasManyGetterTest: test_HasMany_Getter_page_1_size_15
|
2615
|
+
------------------------------------------------------------------
|
2616
|
+
[1m[36mOwner Load (0.1ms)[0m [1mSELECT "owners".* FROM "owners" WHERE "owners"."id" = ? LIMIT 1[0m [["id", 1]]
|
2617
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE "trees"."owner_id" = ? [["owner_id", 1]]
|
2618
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(DISTINCT count_column) FROM (SELECT "trees"."id" AS count_column FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE "trees"."owner_id" = ? LIMIT 15 OFFSET 0) subquery_for_count[0m [["owner_id", 1]]
|
2619
|
+
[1m[35mSQL (0.1ms)[0m SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4, "owners"."id" AS t1_r0, "owners"."name" AS t1_r1, "owners"."created_at" AS t1_r2, "owners"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE "trees"."owner_id" = ? ORDER BY "trees"."id" ASC LIMIT 1 OFFSET 0 [["owner_id", 1]]
|
2620
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2621
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2622
|
+
-----------------------------------
|
2623
|
+
ForestLiana::RouteTest: test_Routes
|
2624
|
+
-----------------------------------
|
2625
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2626
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2627
|
+
------------------------------------------------------------------------------------------------------
|
2628
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_missing_value
|
2629
|
+
------------------------------------------------------------------------------------------------------
|
2630
|
+
[1m[36mSerializeField Load (0.1ms)[0m [1mSELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1[0m [["id", 1]]
|
2631
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2632
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2633
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2634
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2635
|
+
------------------------------------------------------------------------------------------------------------
|
2636
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_well_formated_value
|
2637
|
+
------------------------------------------------------------------------------------------------------------
|
2638
|
+
[1m[35mSerializeField Load (0.1ms)[0m SELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1 [["id", 1]]
|
2639
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2640
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "serialize_fields" SET "field" = ? WHERE "serialize_fields"."id" = ? [["field", "---\n- test\n- test\n"], ["id", 1]]
|
2641
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2642
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
2643
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2644
|
+
---------------------------------------------------------------------------------------------------------
|
2645
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_bad_format_value
|
2646
|
+
---------------------------------------------------------------------------------------------------------
|
2647
|
+
[1m[35mSerializeField Load (0.1ms)[0m SELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1 [["id", 1]]
|
2648
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2649
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2650
|
+
---------------------------------------------------------------------------------------------------
|
2651
|
+
ForestLiana::ResourceUpdaterTest: test_Update_a_record_on_a_"serialize"_attribute_with_a_null_value
|
2652
|
+
---------------------------------------------------------------------------------------------------
|
2653
|
+
[1m[36mSerializeField Load (0.1ms)[0m [1mSELECT "serialize_fields".* FROM "serialize_fields" WHERE "serialize_fields"."id" = ? LIMIT 1[0m [["id", 1]]
|
2654
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2655
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "serialize_fields" SET "field" = ? WHERE "serialize_fields"."id" = ?[0m [["field", nil], ["id", 1]]
|
2656
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2657
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
2658
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2659
|
+
---------------------------
|
2660
|
+
ForestLianaTest: test_truth
|
2661
|
+
---------------------------
|
2662
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2663
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2664
|
+
--------------------------------------------------------------------------------------------------------
|
2665
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_a_field_of_an_associated_collection_that_does_not_exist
|
2666
|
+
--------------------------------------------------------------------------------------------------------
|
2667
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2668
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2669
|
+
------------------------------------------------------------------------------------------------
|
2670
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_an_updated_at_field_of_an_associated_collection
|
2671
|
+
------------------------------------------------------------------------------------------------
|
2672
|
+
[1m[36mSQL (0.4ms)[0m [1mSELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4, "owners"."id" AS t1_r0, "owners"."name" AS t1_r1, "owners"."created_at" AS t1_r2, "owners"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.updated_at BETWEEN '2018-01-01 09:00:00 UTC' AND '2019-01-01 08:59:59 UTC') ORDER BY "trees"."created_at" DESC LIMIT 10 OFFSET 0[0m
|
2673
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.updated_at BETWEEN '2018-01-01 09:00:00 UTC' AND '2019-01-01 08:59:59 UTC')
|
2674
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2675
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2676
|
+
-----------------------------------------------------------------------
|
2677
|
+
ForestLiana::ResourcesGetterTest: test_Sort_by_a_belongs_to_association
|
2678
|
+
-----------------------------------------------------------------------
|
2679
|
+
[1m[36mSQL (0.2ms)[0m [1mSELECT "belongs_to_fields"."id" AS t0_r0, "belongs_to_fields"."has_one_field_id" AS t0_r1, "belongs_to_fields"."has_many_class_name_field_id" AS t0_r2, "belongs_to_fields"."has_many_field_id" AS t0_r3, "has_one_fields"."id" AS t1_r0, "has_one_fields"."checked" AS t1_r1, "has_one_fields"."status" AS t1_r2, "has_many_fields"."id" AS t2_r0, "has_many_fields"."has_many_through_field_id" AS t2_r1, "has_many_class_name_fields"."id" AS t3_r0 FROM "belongs_to_fields" LEFT OUTER JOIN "has_one_fields" ON "has_one_fields"."id" = "belongs_to_fields"."has_one_field_id" LEFT OUTER JOIN "has_many_fields" ON "has_many_fields"."id" = "belongs_to_fields"."has_many_field_id" LEFT OUTER JOIN "has_many_class_name_fields" ON "has_many_class_name_fields"."id" = "belongs_to_fields"."has_many_class_name_field_id" ORDER BY "has_one_fields"."id" ASC LIMIT 10 OFFSET 0[0m
|
2680
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(DISTINCT "belongs_to_fields"."id") FROM "belongs_to_fields" LEFT OUTER JOIN "has_one_fields" ON "has_one_fields"."id" = "belongs_to_fields"."has_one_field_id" LEFT OUTER JOIN "has_many_fields" ON "has_many_fields"."id" = "belongs_to_fields"."has_many_field_id" LEFT OUTER JOIN "has_many_class_name_fields" ON "has_many_class_name_fields"."id" = "belongs_to_fields"."has_many_class_name_field_id"
|
2681
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2682
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2683
|
+
----------------------------------------------------------
|
2684
|
+
ForestLiana::ResourcesGetterTest: test_Filter_after_x_days
|
2685
|
+
----------------------------------------------------------
|
2686
|
+
[1m[36mSQL (0.3ms)[0m [1mSELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4 FROM "trees" WHERE ("trees"."created_at" > '2019-02-26 14:34:55 UTC') ORDER BY "trees"."created_at" DESC LIMIT 10 OFFSET 0[0m
|
2687
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "trees" WHERE ("trees"."created_at" > '2019-02-26 14:34:55 UTC')
|
2688
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2689
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2690
|
+
------------------------------------------------------------------------
|
2691
|
+
ForestLiana::ResourcesGetterTest: test_on_a_model_having_a_reserved_name
|
2692
|
+
------------------------------------------------------------------------
|
2693
|
+
[1m[36mSQL (0.1ms)[0m [1mSELECT "references"."id" AS t0_r0 FROM "references" ORDER BY "references"."id" DESC LIMIT 10 OFFSET 0[0m
|
2694
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "references"
|
2695
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2696
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2697
|
+
------------------------------------------------------------
|
2698
|
+
ForestLiana::ResourcesGetterTest: test_Filter_before_x_hours
|
2699
|
+
------------------------------------------------------------
|
2700
|
+
[1m[36mSQL (0.2ms)[0m [1mSELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4 FROM "trees" WHERE ("trees"."created_at" < '2019-02-26 14:34:55 UTC') ORDER BY "trees"."created_at" DESC LIMIT 10 OFFSET 0[0m
|
2701
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "trees" WHERE ("trees"."created_at" < '2019-02-26 14:34:55 UTC')
|
2702
|
+
[1m[36mOwner Load (0.1ms)[0m [1mSELECT "owners".* FROM "owners" WHERE "owners"."id" = ? LIMIT 1[0m [["id", 2]]
|
2703
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2704
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2705
|
+
--------------------------------------------------------------------
|
2706
|
+
ForestLiana::ResourcesGetterTest: test_Sort_by_a_has_one_association
|
2707
|
+
--------------------------------------------------------------------
|
2708
|
+
[1m[35mSQL (0.7ms)[0m SELECT "has_one_fields"."id" AS t0_r0, "has_one_fields"."checked" AS t0_r1, "has_one_fields"."status" AS t0_r2, "belongs_to_fields"."id" AS t1_r0, "belongs_to_fields"."has_one_field_id" AS t1_r1, "belongs_to_fields"."has_many_class_name_field_id" AS t1_r2, "belongs_to_fields"."has_many_field_id" AS t1_r3, "belongs_to_class_name_fields"."id" AS t2_r0, "belongs_to_class_name_fields"."foo_id" AS t2_r1 FROM "has_one_fields" LEFT OUTER JOIN "belongs_to_fields" ON "belongs_to_fields"."has_one_field_id" = "has_one_fields"."id" LEFT OUTER JOIN "belongs_to_class_name_fields" ON "belongs_to_class_name_fields"."foo_id" = "has_one_fields"."id" ORDER BY "belongs_to_fields"."id" DESC LIMIT 10 OFFSET 0
|
2709
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(DISTINCT "has_one_fields"."id") FROM "has_one_fields" LEFT OUTER JOIN "belongs_to_fields" ON "belongs_to_fields"."has_one_field_id" = "has_one_fields"."id" LEFT OUTER JOIN "belongs_to_class_name_fields" ON "belongs_to_class_name_fields"."foo_id" = "has_one_fields"."id"[0m
|
2710
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2711
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2712
|
+
----------------------------------------------------------------
|
2713
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_ambiguous_field
|
2714
|
+
----------------------------------------------------------------
|
2715
|
+
[1m[35mSQL (0.3ms)[0m SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4, "owners"."id" AS t1_r0, "owners"."name" AS t1_r1, "owners"."created_at" AS t1_r2, "owners"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE ("trees"."created_at" > '2015-06-18 08:00:00') AND (owners.name = 'Arnaud Besnier') ORDER BY "trees"."created_at" DESC LIMIT 10 OFFSET 0
|
2716
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE ("trees"."created_at" > '2015-06-18 08:00:00') AND (owners.name = 'Arnaud Besnier')[0m
|
2717
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2718
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2719
|
+
----------------------------------------------------------------
|
2720
|
+
ForestLiana::ResourcesGetterTest: test_StringField_sort_by_field
|
2721
|
+
----------------------------------------------------------------
|
2722
|
+
[1m[35mSQL (0.1ms)[0m SELECT "string_fields"."id" AS t0_r0, "string_fields"."field" AS t0_r1 FROM "string_fields" ORDER BY "string_fields"."field" DESC LIMIT 10 OFFSET 0
|
2723
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "string_fields"[0m
|
2724
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2725
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2726
|
+
-----------------------------------------------------------------------------
|
2727
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_a_field_that_does_not_exists
|
2728
|
+
-----------------------------------------------------------------------------
|
2729
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2730
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2731
|
+
-----------------------------------------------------------------
|
2732
|
+
ForestLiana::ResourcesGetterTest: test_StringField_page_1_size_15
|
2733
|
+
-----------------------------------------------------------------
|
2734
|
+
[1m[35mSQL (0.1ms)[0m SELECT "string_fields"."id" AS t0_r0, "string_fields"."field" AS t0_r1 FROM "string_fields" ORDER BY "string_fields"."id" DESC LIMIT 15 OFFSET 0
|
2735
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "string_fields"[0m
|
2736
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2737
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2738
|
+
-----------------------------------------------------------------
|
2739
|
+
ForestLiana::ResourcesGetterTest: test_StringField_page_2_size_10
|
2740
|
+
-----------------------------------------------------------------
|
2741
|
+
[1m[35mSQL (0.1ms)[0m SELECT "string_fields"."id" AS t0_r0, "string_fields"."field" AS t0_r1 FROM "string_fields" ORDER BY "string_fields"."id" DESC LIMIT 10 OFFSET 10
|
2742
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "string_fields"[0m
|
2743
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2744
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2745
|
+
-------------------------------------------------------------------------------------------
|
2746
|
+
ForestLiana::ResourcesGetterTest: test_Filter_on_an_updated_at_field_of_the_main_collection
|
2747
|
+
-------------------------------------------------------------------------------------------
|
2748
|
+
[1m[35mSQL (0.1ms)[0m SELECT "owners"."id" AS t0_r0, "owners"."name" AS t0_r1, "owners"."created_at" AS t0_r2, "owners"."updated_at" AS t0_r3 FROM "owners" WHERE ("owners"."updated_at" BETWEEN '2018-01-01 09:00:00 UTC' AND '2019-01-01 08:59:59 UTC') ORDER BY "owners"."created_at" DESC LIMIT 10 OFFSET 0
|
2749
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "owners" WHERE ("owners"."updated_at" BETWEEN '2018-01-01 09:00:00 UTC' AND '2019-01-01 08:59:59 UTC')[0m
|
2750
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2751
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2752
|
+
------------------------------------------------------------------------------------------------------
|
2753
|
+
ForestLiana::ResourcesGetterTest: test_Filter_equal_on_an_updated_at_field_of_an_associated_collection
|
2754
|
+
------------------------------------------------------------------------------------------------------
|
2755
|
+
[1m[35mSQL (0.1ms)[0m SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4, "owners"."id" AS t1_r0, "owners"."name" AS t1_r1, "owners"."created_at" AS t1_r2, "owners"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.updated_at = 'Sat Jul 02 2016 11:52:00 GMT-0400 (EDT)') ORDER BY "trees"."created_at" DESC LIMIT 10 OFFSET 0
|
2756
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.updated_at = 'Sat Jul 02 2016 11:52:00 GMT-0400 (EDT)')[0m
|
2757
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2758
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2759
|
+
------------------------------------------------------------------------------------
|
2760
|
+
ForestLiana::ResourcesGetterTest: test_Sort_on_an_ambiguous_field_name_with_a_filter
|
2761
|
+
------------------------------------------------------------------------------------
|
2762
|
+
[1m[35mSQL (0.2ms)[0m SELECT "trees"."id" AS t0_r0, "trees"."name" AS t0_r1, "trees"."owner_id" AS t0_r2, "trees"."created_at" AS t0_r3, "trees"."updated_at" AS t0_r4, "owners"."id" AS t1_r0, "owners"."name" AS t1_r1, "owners"."created_at" AS t1_r2, "owners"."updated_at" AS t1_r3 FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.name = 'Arnaud Besnier') ORDER BY "trees"."name" DESC LIMIT 10 OFFSET 0
|
2763
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(DISTINCT "trees"."id") FROM "trees" LEFT OUTER JOIN "owners" ON "owners"."id" = "trees"."owner_id" WHERE (owners.name = 'Arnaud Besnier')[0m
|
2764
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2765
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2766
|
+
-----------------------------------------------------------------------------------------
|
2767
|
+
ForestLiana::PieStatGetterTest: test_Pie_stat_getter_with_an_aggregate_on_a_boolean_field
|
2768
|
+
-----------------------------------------------------------------------------------------
|
2769
|
+
[1m[35m (0.6ms)[0m SELECT COUNT(*) AS count_all, boolean_fields.field AS boolean_fields_field FROM "boolean_fields" GROUP BY boolean_fields.field ORDER BY count_all DESC
|
2770
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2771
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2772
|
+
---------------------------------------------------------------------------------------
|
2773
|
+
ForestLiana::PieStatGetterTest: test_Pie_stat_getter_with_an_aggregate_on_a_foreign_key
|
2774
|
+
---------------------------------------------------------------------------------------
|
2775
|
+
[1m[36m (1.1ms)[0m [1mSELECT COUNT(DISTINCT "belongs_to_fields"."id") AS count_id, belongs_to_fields.has_one_field_id AS belongs_to_fields_has_one_field_id FROM "belongs_to_fields" LEFT OUTER JOIN "has_one_fields" ON "has_one_fields"."id" = "belongs_to_fields"."has_one_field_id" LEFT OUTER JOIN "has_many_fields" ON "has_many_fields"."id" = "belongs_to_fields"."has_many_field_id" LEFT OUTER JOIN "has_many_class_name_fields" ON "has_many_class_name_fields"."id" = "belongs_to_fields"."has_many_class_name_field_id" GROUP BY belongs_to_fields.has_one_field_id ORDER BY count_id DESC[0m
|
2776
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2777
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2778
|
+
----------------------------------------------------------------------------------------------------
|
2779
|
+
ForestLiana::ValueStatGetterTest: test_Value_stat_getter_with_a_filter_on_a_belongs_to_boolean_field
|
2780
|
+
----------------------------------------------------------------------------------------------------
|
2781
|
+
[1m[35m (0.2ms)[0m SELECT DISTINCT COUNT(DISTINCT "belongs_to_fields"."id") FROM "belongs_to_fields" LEFT OUTER JOIN "has_one_fields" ON "has_one_fields"."id" = "belongs_to_fields"."has_one_field_id" LEFT OUTER JOIN "has_many_fields" ON "has_many_fields"."id" = "belongs_to_fields"."has_many_field_id" LEFT OUTER JOIN "has_many_class_name_fields" ON "has_many_class_name_fields"."id" = "belongs_to_fields"."has_many_class_name_field_id" WHERE ("has_one_fields"."checked" = 0)
|
2782
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2783
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2784
|
+
-------------------------------------------------------------------------------------------------
|
2785
|
+
ForestLiana::ValueStatGetterTest: test_Value_stat_getter_with_a_filter_on_a_belongs_to_enum_field
|
2786
|
+
-------------------------------------------------------------------------------------------------
|
2787
|
+
[1m[36m (0.2ms)[0m [1mSELECT DISTINCT COUNT(DISTINCT "belongs_to_fields"."id") FROM "belongs_to_fields" LEFT OUTER JOIN "has_one_fields" ON "has_one_fields"."id" = "belongs_to_fields"."has_one_field_id" LEFT OUTER JOIN "has_many_fields" ON "has_many_fields"."id" = "belongs_to_fields"."has_many_field_id" LEFT OUTER JOIN "has_many_class_name_fields" ON "has_many_class_name_fields"."id" = "belongs_to_fields"."has_many_class_name_field_id" WHERE ("has_one_fields"."status" = '1')[0m
|
2788
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2789
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2790
|
+
----------------------------------------------------------------------------------------------------
|
2791
|
+
ForestLiana::ValueStatGetterTest: test_Value_stat_getter_with_a_filter_on_a_belongs_to_integer_field
|
2792
|
+
----------------------------------------------------------------------------------------------------
|
2793
|
+
[1m[35m (0.2ms)[0m SELECT DISTINCT COUNT(DISTINCT "belongs_to_fields"."id") FROM "belongs_to_fields" LEFT OUTER JOIN "has_one_fields" ON "has_one_fields"."id" = "belongs_to_fields"."has_one_field_id" LEFT OUTER JOIN "has_many_fields" ON "has_many_fields"."id" = "belongs_to_fields"."has_many_field_id" LEFT OUTER JOIN "has_many_class_name_fields" ON "has_many_class_name_fields"."id" = "belongs_to_fields"."has_many_class_name_field_id" WHERE ("has_one_fields"."id" = '3')
|
2794
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2795
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2796
|
+
-----------------------------------------------------------------------------
|
2797
|
+
ForestLiana::ValueStatGetterTest: test_Value_stat_getter_with_a_simple_filter
|
2798
|
+
-----------------------------------------------------------------------------
|
2799
|
+
[1m[36m (0.1ms)[0m [1mSELECT DISTINCT COUNT(DISTINCT "boolean_fields"."id") FROM "boolean_fields" WHERE ("boolean_fields"."field" = 1)[0m
|
2800
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2801
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2802
|
+
--------------------------------------------------------------------------
|
2803
|
+
ForestLiana::SchemaAdapterTest: test_Decimal_should_have_the_type_`Number`
|
2804
|
+
--------------------------------------------------------------------------
|
2805
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2806
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2807
|
+
-------------------------------------------------------------------------
|
2808
|
+
ForestLiana::SchemaAdapterTest: test_String_should_have_the_type_`String`
|
2809
|
+
-------------------------------------------------------------------------
|
2810
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2811
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2812
|
+
-------------------------------------------------------------------------
|
2813
|
+
ForestLiana::SchemaAdapterTest: test_DateTime_should_have_the_type_`Date`
|
2814
|
+
-------------------------------------------------------------------------
|
2815
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2816
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2817
|
+
--------------------------------------------------------
|
2818
|
+
ForestLiana::SchemaAdapterTest: test_hasOne_relationship
|
2819
|
+
--------------------------------------------------------
|
2820
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2821
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2822
|
+
------------------------------------------------------------------------------------
|
2823
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationhip_with_specified_class_name
|
2824
|
+
------------------------------------------------------------------------------------
|
2825
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2826
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2827
|
+
---------------------------------------------------------------------
|
2828
|
+
ForestLiana::SchemaAdapterTest: test_Date_should_have_the_type_`Date`
|
2829
|
+
---------------------------------------------------------------------
|
2830
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2831
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2832
|
+
---------------------------------------------------------------------------
|
2833
|
+
ForestLiana::SchemaAdapterTest: test_Boolean_should_have_the_type_`Boolean`
|
2834
|
+
---------------------------------------------------------------------------
|
2835
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2836
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2837
|
+
-----------------------------------------------------------
|
2838
|
+
ForestLiana::SchemaAdapterTest: test_belongsTo_relationship
|
2839
|
+
-----------------------------------------------------------
|
2840
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2841
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2842
|
+
----------------------------------------------------------------------------------
|
2843
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationhip_with_specified_class_name
|
2844
|
+
----------------------------------------------------------------------------------
|
2845
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2846
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2847
|
+
--------------------------------------------------------------------------
|
2848
|
+
ForestLiana::SchemaAdapterTest: test_Integer_should_have_the_type_`Number`
|
2849
|
+
--------------------------------------------------------------------------
|
2850
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2851
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2852
|
+
---------------------------------------------------------
|
2853
|
+
ForestLiana::SchemaAdapterTest: test_hasMany_relationship
|
2854
|
+
---------------------------------------------------------
|
2855
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2856
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2857
|
+
------------------------------------------------------------------------
|
2858
|
+
ForestLiana::SchemaAdapterTest: test_Float_should_have_the_type_`Number`
|
2859
|
+
------------------------------------------------------------------------
|
2860
|
+
[1m[35m (0.3ms)[0m rollback transaction
|