makers 0.1.3 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/MIT-LICENSE +1 -1
- data/README.md +64 -70
- data/Rakefile +1 -14
- data/lib/generators/makers/install_generator.rb +20 -0
- data/lib/generators/makers/templates/definitions.rb +2 -0
- data/lib/makers.rb +8 -35
- data/lib/makers/definitions.rb +18 -27
- data/lib/makers/dsl/maker.rb +74 -0
- data/lib/makers/extensions/active_support/test_case.rb +15 -0
- data/lib/makers/maker.rb +32 -81
- data/lib/makers/proxy.rb +3 -42
- data/lib/makers/railtie.rb +10 -21
- data/lib/makers/version.rb +1 -1
- data/test/dummy/Rakefile +0 -1
- data/test/dummy/app/views/layouts/application.html.erb +9 -11
- data/test/dummy/bin/bundle +1 -0
- data/test/dummy/bin/rails +1 -0
- data/test/dummy/bin/rake +1 -0
- data/test/dummy/bin/setup +30 -0
- data/test/dummy/config/application.rb +3 -0
- data/test/dummy/config/database.yml +4 -22
- data/test/dummy/config/database.yml.travis +3 -0
- data/test/dummy/config/environments/development.rb +6 -2
- data/test/dummy/config/environments/production.rb +16 -24
- data/test/dummy/config/environments/test.rb +7 -12
- data/test/dummy/config/initializers/assets.rb +11 -0
- data/test/dummy/config/secrets.yml +1 -1
- data/test/dummy/db/migrate/20140613221835_create_users.rb +0 -2
- data/test/dummy/db/migrate/20140615180954_create_posts.rb +0 -3
- data/test/dummy/db/schema.rb +38 -14
- data/test/dummy/log/development.log +176 -0
- data/test/dummy/log/test.log +1529 -0
- data/test/dummy/test/makers.rb +20 -0
- data/test/generator_test.rb +18 -0
- data/test/makers_test.rb +66 -0
- data/test/test_helper.rb +5 -18
- metadata +31 -48
- data/lib/generators/makers/model/model_generator.rb +0 -15
- data/lib/generators/makers/model/templates/maker.rb +0 -2
- data/lib/makers/callbacks.rb +0 -23
- data/lib/makers/configuration.rb +0 -10
- data/lib/makers/fetcher.rb +0 -18
- data/lib/makers/methods.rb +0 -11
- data/lib/makers/sequence.rb +0 -19
- data/test/aliases_test.rb +0 -20
- data/test/associations_test.rb +0 -50
- data/test/attributes_test.rb +0 -26
- data/test/callbacks_test.rb +0 -38
- data/test/clean_test.rb +0 -18
- data/test/dependent_test.rb +0 -30
- data/test/dummy/README.rdoc +0 -28
- data/test/dummy/test/makers/people.rb +0 -2
- data/test/dummy/test/makers/users.rb +0 -3
- data/test/fabricators_test.rb +0 -33
- data/test/generators_test.rb +0 -13
- data/test/inheritance_test.rb +0 -49
- data/test/lists_test.rb +0 -33
- data/test/load_test.rb +0 -13
- data/test/merges_test.rb +0 -31
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
Rails.application.configure do
|
2
2
|
# Settings specified here will take precedence over those in config/application.rb.
|
3
3
|
|
4
4
|
# The test environment is used exclusively to run your application's
|
@@ -12,16 +12,12 @@ Dummy::Application.configure do
|
|
12
12
|
# preloads Rails for running tests, you may have to set it to true.
|
13
13
|
config.eager_load = false
|
14
14
|
|
15
|
-
# Configure static
|
16
|
-
|
17
|
-
config.serve_static_files = false
|
18
|
-
else
|
19
|
-
config.serve_static_assets = false
|
20
|
-
end
|
15
|
+
# Configure static file server for tests with Cache-Control for performance.
|
16
|
+
config.serve_static_files = true
|
21
17
|
config.static_cache_control = 'public, max-age=3600'
|
22
18
|
|
23
19
|
# Show full error reports and disable caching.
|
24
|
-
config.consider_all_requests_local
|
20
|
+
config.consider_all_requests_local = true
|
25
21
|
config.action_controller.perform_caching = false
|
26
22
|
|
27
23
|
# Raise exceptions instead of rendering exception templates.
|
@@ -35,13 +31,12 @@ Dummy::Application.configure do
|
|
35
31
|
# ActionMailer::Base.deliveries array.
|
36
32
|
config.action_mailer.delivery_method = :test
|
37
33
|
|
34
|
+
# Randomize the order test cases are executed.
|
35
|
+
config.active_support.test_order = :random
|
36
|
+
|
38
37
|
# Print deprecation notices to the stderr.
|
39
38
|
config.active_support.deprecation = :stderr
|
40
39
|
|
41
40
|
# Raises error for missing translations
|
42
41
|
# config.action_view.raise_on_missing_translations = true
|
43
|
-
|
44
|
-
if Rails::VERSION::MAJOR == 4 && Rails::VERSION::MINOR >= 2
|
45
|
-
config.active_support.test_order = :random
|
46
|
-
end
|
47
42
|
end
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Version of your assets, change this if you want to expire all your assets.
|
4
|
+
Rails.application.config.assets.version = '1.0'
|
5
|
+
|
6
|
+
# Add additional assets to the asset load path
|
7
|
+
# Rails.application.config.assets.paths << Emoji.images_path
|
8
|
+
|
9
|
+
# Precompile additional assets.
|
10
|
+
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
|
11
|
+
# Rails.application.config.assets.precompile += %w( search.js )
|
data/test/dummy/db/schema.rb
CHANGED
@@ -11,23 +11,47 @@
|
|
11
11
|
#
|
12
12
|
# It's strongly recommended that you check this file into your version control system.
|
13
13
|
|
14
|
-
ActiveRecord::Schema.define(version:
|
14
|
+
ActiveRecord::Schema.define(version: 20161115150024) do
|
15
15
|
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
t.
|
16
|
+
# These are extensions that must be enabled in order to support this database
|
17
|
+
enable_extension "plpgsql"
|
18
|
+
|
19
|
+
create_table "exchanges", force: :cascade do |t|
|
20
|
+
t.string "service", limit: 30
|
21
|
+
t.string "from", limit: 3
|
22
|
+
t.string "to", limit: 3
|
23
|
+
t.decimal "rate", precision: 24, scale: 12
|
24
|
+
t.datetime "created_at", null: false
|
25
|
+
t.datetime "updated_at", null: false
|
26
|
+
end
|
27
|
+
|
28
|
+
add_index "exchanges", ["from", "to"], name: "index_exchanges_on_from_and_to", using: :btree
|
29
|
+
|
30
|
+
create_table "plans", force: :cascade do |t|
|
31
|
+
t.decimal "monthly_price", precision: 24, scale: 6
|
32
|
+
t.decimal "annually_price", precision: 24, scale: 6
|
33
|
+
t.string "currency", limit: 3
|
34
|
+
t.datetime "created_at", null: false
|
35
|
+
t.datetime "updated_at", null: false
|
36
|
+
end
|
37
|
+
|
38
|
+
create_table "posts", force: :cascade do |t|
|
39
|
+
t.integer "user_id"
|
40
|
+
end
|
41
|
+
|
42
|
+
create_table "products", force: :cascade do |t|
|
43
|
+
t.decimal "price", precision: 24, scale: 6
|
44
|
+
t.string "price_currency", limit: 3
|
45
|
+
t.datetime "created_at", null: false
|
46
|
+
t.datetime "updated_at", null: false
|
21
47
|
end
|
22
48
|
|
23
|
-
create_table "users", force:
|
24
|
-
t.string
|
25
|
-
t.string
|
26
|
-
t.string
|
27
|
-
t.integer
|
28
|
-
t.integer
|
29
|
-
t.datetime "created_at"
|
30
|
-
t.datetime "updated_at"
|
49
|
+
create_table "users", force: :cascade do |t|
|
50
|
+
t.string "username"
|
51
|
+
t.string "name"
|
52
|
+
t.string "email"
|
53
|
+
t.integer "age"
|
54
|
+
t.integer "phone"
|
31
55
|
end
|
32
56
|
|
33
57
|
end
|
@@ -0,0 +1,176 @@
|
|
1
|
+
[1m[36m (26.6ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
2
|
+
[1m[35m (1.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
3
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4
|
+
Migrating to CreateUsers (20140613221835)
|
5
|
+
[1m[35m (0.2ms)[0m BEGIN
|
6
|
+
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/Matt/Documents/Github/Makers/test/dummy/db/migrate/20140613221835_create_users.rb:10)
|
7
|
+
[1m[36m (20.8ms)[0m [1mCREATE TABLE "users" ("id" serial primary key, "username" character varying, "name" character varying, "email" character varying, "age" integer, "phone" integer, "created_at" timestamp, "updated_at" timestamp) [0m
|
8
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140613221835"]]
|
9
|
+
[1m[36m (6.3ms)[0m [1mCOMMIT[0m
|
10
|
+
Migrating to CreatePosts (20140615180954)
|
11
|
+
[1m[35m (6.0ms)[0m BEGIN
|
12
|
+
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/Matt/Documents/Github/Makers/test/dummy/db/migrate/20140615180954_create_posts.rb:7)
|
13
|
+
[1m[36m (12.8ms)[0m [1mCREATE TABLE "posts" ("id" serial primary key, "content" character varying, "user_id" integer, "created_at" timestamp, "updated_at" timestamp) [0m
|
14
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140615180954"]]
|
15
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
16
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
17
|
+
[1m[36m (1.9ms)[0m [1mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
18
|
+
FROM pg_constraint c
|
19
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
20
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
21
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
22
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
23
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
24
|
+
WHERE c.contype = 'f'
|
25
|
+
AND t1.relname = 'posts'
|
26
|
+
AND t3.nspname = ANY (current_schemas(false))
|
27
|
+
ORDER BY c.conname
|
28
|
+
[0m
|
29
|
+
[1m[35m (1.5ms)[0m SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
30
|
+
FROM pg_constraint c
|
31
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
32
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
33
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
34
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
35
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
36
|
+
WHERE c.contype = 'f'
|
37
|
+
AND t1.relname = 'users'
|
38
|
+
AND t3.nspname = ANY (current_schemas(false))
|
39
|
+
ORDER BY c.conname
|
40
|
+
|
41
|
+
[1m[36m (2.3ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
42
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
43
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
44
|
+
Migrating to CreateUsers (20140613221835)
|
45
|
+
[1m[35m (0.2ms)[0m BEGIN
|
46
|
+
[1m[36m (2.5ms)[0m [1mCREATE TABLE "users" ("id" serial primary key, "username" character varying, "name" character varying, "email" character varying, "age" integer, "phone" integer) [0m
|
47
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140613221835"]]
|
48
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
49
|
+
Migrating to CreatePosts (20140615180954)
|
50
|
+
[1m[35m (0.2ms)[0m BEGIN
|
51
|
+
[1m[36m (1.9ms)[0m [1mCREATE TABLE "posts" ("id" serial primary key, "content" character varying, "user_id" integer) [0m
|
52
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140615180954"]]
|
53
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
54
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
55
|
+
[1m[36m (1.7ms)[0m [1mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
56
|
+
FROM pg_constraint c
|
57
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
58
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
59
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
60
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
61
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
62
|
+
WHERE c.contype = 'f'
|
63
|
+
AND t1.relname = 'posts'
|
64
|
+
AND t3.nspname = ANY (current_schemas(false))
|
65
|
+
ORDER BY c.conname
|
66
|
+
[0m
|
67
|
+
[1m[35m (1.4ms)[0m SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
68
|
+
FROM pg_constraint c
|
69
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
70
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
71
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
72
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
73
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
74
|
+
WHERE c.contype = 'f'
|
75
|
+
AND t1.relname = 'users'
|
76
|
+
AND t3.nspname = ANY (current_schemas(false))
|
77
|
+
ORDER BY c.conname
|
78
|
+
|
79
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
80
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
81
|
+
[1m[36m (1.7ms)[0m [1mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
82
|
+
FROM pg_constraint c
|
83
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
84
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
85
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
86
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
87
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
88
|
+
WHERE c.contype = 'f'
|
89
|
+
AND t1.relname = 'posts'
|
90
|
+
AND t3.nspname = ANY (current_schemas(false))
|
91
|
+
ORDER BY c.conname
|
92
|
+
[0m
|
93
|
+
[1m[35m (1.3ms)[0m SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
94
|
+
FROM pg_constraint c
|
95
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
96
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
97
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
98
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
99
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
100
|
+
WHERE c.contype = 'f'
|
101
|
+
AND t1.relname = 'users'
|
102
|
+
AND t3.nspname = ANY (current_schemas(false))
|
103
|
+
ORDER BY c.conname
|
104
|
+
|
105
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.8ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
106
|
+
Migrating to CreateUsers (20140613221835)
|
107
|
+
[1m[35m (0.2ms)[0m BEGIN
|
108
|
+
[1m[36m (25.3ms)[0m [1mCREATE TABLE "users" ("id" serial primary key, "username" character varying, "name" character varying, "email" character varying, "age" integer, "phone" integer) [0m
|
109
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140613221835"]]
|
110
|
+
[1m[36m (12.7ms)[0m [1mCOMMIT[0m
|
111
|
+
Migrating to CreatePosts (20140615180954)
|
112
|
+
[1m[35m (6.0ms)[0m BEGIN
|
113
|
+
[1m[36m (7.1ms)[0m [1mCREATE TABLE "posts" ("id" serial primary key, "user_id" integer) [0m
|
114
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140615180954"]]
|
115
|
+
[1m[36m (6.1ms)[0m [1mCOMMIT[0m
|
116
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
117
|
+
[1m[36m (1.9ms)[0m [1mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
118
|
+
FROM pg_constraint c
|
119
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
120
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
121
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
122
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
123
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
124
|
+
WHERE c.contype = 'f'
|
125
|
+
AND t1.relname = 'exchanges'
|
126
|
+
AND t3.nspname = ANY (current_schemas(false))
|
127
|
+
ORDER BY c.conname
|
128
|
+
[0m
|
129
|
+
[1m[35m (1.4ms)[0m SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
130
|
+
FROM pg_constraint c
|
131
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
132
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
133
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
134
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
135
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
136
|
+
WHERE c.contype = 'f'
|
137
|
+
AND t1.relname = 'plans'
|
138
|
+
AND t3.nspname = ANY (current_schemas(false))
|
139
|
+
ORDER BY c.conname
|
140
|
+
|
141
|
+
[1m[36m (1.5ms)[0m [1mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
142
|
+
FROM pg_constraint c
|
143
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
144
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
145
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
146
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
147
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
148
|
+
WHERE c.contype = 'f'
|
149
|
+
AND t1.relname = 'posts'
|
150
|
+
AND t3.nspname = ANY (current_schemas(false))
|
151
|
+
ORDER BY c.conname
|
152
|
+
[0m
|
153
|
+
[1m[35m (1.5ms)[0m SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
154
|
+
FROM pg_constraint c
|
155
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
156
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
157
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
158
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
159
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
160
|
+
WHERE c.contype = 'f'
|
161
|
+
AND t1.relname = 'products'
|
162
|
+
AND t3.nspname = ANY (current_schemas(false))
|
163
|
+
ORDER BY c.conname
|
164
|
+
|
165
|
+
[1m[36m (2.5ms)[0m [1mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
166
|
+
FROM pg_constraint c
|
167
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
168
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
169
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
170
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
171
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
172
|
+
WHERE c.contype = 'f'
|
173
|
+
AND t1.relname = 'users'
|
174
|
+
AND t3.nspname = ANY (current_schemas(false))
|
175
|
+
ORDER BY c.conname
|
176
|
+
[0m
|
@@ -0,0 +1,1529 @@
|
|
1
|
+
[1m[36m (2.7ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
2
|
+
[1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
3
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4
|
+
Migrating to CreateUsers (20140613221835)
|
5
|
+
[1m[35m (0.1ms)[0m BEGIN
|
6
|
+
[1m[36m (2.7ms)[0m [1mCREATE TABLE "users" ("id" serial primary key, "username" character varying, "name" character varying, "email" character varying, "age" integer, "phone" integer, "created_at" timestamp, "updated_at" timestamp) [0m
|
7
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140613221835"]]
|
8
|
+
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
9
|
+
Migrating to CreatePosts (20140615180954)
|
10
|
+
[1m[35m (0.3ms)[0m BEGIN
|
11
|
+
[1m[36m (1.9ms)[0m [1mCREATE TABLE "posts" ("id" serial primary key, "content" character varying, "user_id" integer, "created_at" timestamp, "updated_at" timestamp) [0m
|
12
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140615180954"]]
|
13
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
14
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
15
|
+
[1m[36m (1.7ms)[0m [1mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
16
|
+
FROM pg_constraint c
|
17
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
18
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
19
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
20
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
21
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
22
|
+
WHERE c.contype = 'f'
|
23
|
+
AND t1.relname = 'posts'
|
24
|
+
AND t3.nspname = ANY (current_schemas(false))
|
25
|
+
ORDER BY c.conname
|
26
|
+
[0m
|
27
|
+
[1m[35m (1.3ms)[0m SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
28
|
+
FROM pg_constraint c
|
29
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
30
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
31
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
32
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
33
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
34
|
+
WHERE c.contype = 'f'
|
35
|
+
AND t1.relname = 'users'
|
36
|
+
AND t3.nspname = ANY (current_schemas(false))
|
37
|
+
ORDER BY c.conname
|
38
|
+
|
39
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
40
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
41
|
+
[1m[36m (1.7ms)[0m [1mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
42
|
+
FROM pg_constraint c
|
43
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
44
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
45
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
46
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
47
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
48
|
+
WHERE c.contype = 'f'
|
49
|
+
AND t1.relname = 'posts'
|
50
|
+
AND t3.nspname = ANY (current_schemas(false))
|
51
|
+
ORDER BY c.conname
|
52
|
+
[0m
|
53
|
+
[1m[35m (1.3ms)[0m SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
54
|
+
FROM pg_constraint c
|
55
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
56
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
57
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
58
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
59
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
60
|
+
WHERE c.contype = 'f'
|
61
|
+
AND t1.relname = 'users'
|
62
|
+
AND t3.nspname = ANY (current_schemas(false))
|
63
|
+
ORDER BY c.conname
|
64
|
+
|
65
|
+
[1m[36m (2.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
66
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
67
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
68
|
+
Migrating to CreateUsers (20140613221835)
|
69
|
+
[1m[35m (0.1ms)[0m BEGIN
|
70
|
+
[1m[36m (2.5ms)[0m [1mCREATE TABLE "users" ("id" serial primary key, "username" character varying, "name" character varying, "email" character varying, "age" integer, "phone" integer) [0m
|
71
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140613221835"]]
|
72
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
73
|
+
Migrating to CreatePosts (20140615180954)
|
74
|
+
[1m[35m (0.3ms)[0m BEGIN
|
75
|
+
[1m[36m (1.8ms)[0m [1mCREATE TABLE "posts" ("id" serial primary key, "content" character varying, "user_id" integer) [0m
|
76
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140615180954"]]
|
77
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
78
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
79
|
+
[1m[36m (1.8ms)[0m [1mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
80
|
+
FROM pg_constraint c
|
81
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
82
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
83
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
84
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
85
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
86
|
+
WHERE c.contype = 'f'
|
87
|
+
AND t1.relname = 'posts'
|
88
|
+
AND t3.nspname = ANY (current_schemas(false))
|
89
|
+
ORDER BY c.conname
|
90
|
+
[0m
|
91
|
+
[1m[35m (1.3ms)[0m SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
92
|
+
FROM pg_constraint c
|
93
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
94
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
95
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
96
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
97
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
98
|
+
WHERE c.contype = 'f'
|
99
|
+
AND t1.relname = 'users'
|
100
|
+
AND t3.nspname = ANY (current_schemas(false))
|
101
|
+
ORDER BY c.conname
|
102
|
+
|
103
|
+
[1m[36mSQL (5.7ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
104
|
+
[1m[35m (9.0ms)[0m CREATE TABLE "posts" ("id" serial primary key, "content" character varying, "user_id" integer)
|
105
|
+
[1m[36m (2.5ms)[0m [1mCREATE TABLE "users" ("id" serial primary key, "username" character varying, "name" character varying, "email" character varying, "age" integer, "phone" integer) [0m
|
106
|
+
[1m[35m (1.3ms)[0m CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
|
107
|
+
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
108
|
+
[1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
|
109
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140615180954')[0m
|
110
|
+
[1m[35m (0.2ms)[0m BEGIN
|
111
|
+
-------------------------
|
112
|
+
AliasesTest: test_aliases
|
113
|
+
-------------------------
|
114
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
115
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
116
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.3ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
117
|
+
[1m[36mSQL (0.2ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
118
|
+
[1m[35m (17.3ms)[0m DROP TABLE "posts" CASCADE
|
119
|
+
[1m[36m (3.1ms)[0m [1mCREATE TABLE "posts" ("id" serial primary key, "content" character varying, "user_id" integer) [0m
|
120
|
+
[1m[35m (1.7ms)[0m DROP TABLE "users" CASCADE
|
121
|
+
[1m[36m (2.3ms)[0m [1mCREATE TABLE "users" ("id" serial primary key, "username" character varying, "name" character varying, "email" character varying, "age" integer, "phone" integer) [0m
|
122
|
+
[1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
|
123
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
124
|
+
-------------------------
|
125
|
+
AliasesTest: test_aliases
|
126
|
+
-------------------------
|
127
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
128
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
129
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.3ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
130
|
+
[1m[36mSQL (0.3ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
131
|
+
[1m[35m (10.1ms)[0m DROP TABLE "posts" CASCADE
|
132
|
+
[1m[36m (2.7ms)[0m [1mCREATE TABLE "posts" ("id" serial primary key, "content" character varying, "user_id" integer) [0m
|
133
|
+
[1m[35m (1.1ms)[0m DROP TABLE "users" CASCADE
|
134
|
+
[1m[36m (2.0ms)[0m [1mCREATE TABLE "users" ("id" serial primary key, "username" character varying, "name" character varying, "email" character varying, "age" integer, "phone" integer) [0m
|
135
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
136
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
137
|
+
-------------------------
|
138
|
+
AliasesTest: test_aliases
|
139
|
+
-------------------------
|
140
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
141
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
142
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.3ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
143
|
+
[1m[36mSQL (0.2ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
144
|
+
[1m[35m (7.7ms)[0m DROP TABLE "posts" CASCADE
|
145
|
+
[1m[36m (7.6ms)[0m [1mCREATE TABLE "posts" ("id" serial primary key, "content" character varying, "user_id" integer) [0m
|
146
|
+
[1m[35m (1.0ms)[0m DROP TABLE "users" CASCADE
|
147
|
+
[1m[36m (2.1ms)[0m [1mCREATE TABLE "users" ("id" serial primary key, "username" character varying, "name" character varying, "email" character varying, "age" integer, "phone" integer) [0m
|
148
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
149
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
150
|
+
-------------------------
|
151
|
+
AliasesTest: test_aliases
|
152
|
+
-------------------------
|
153
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
154
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
155
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.4ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
156
|
+
[1m[36mSQL (0.2ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
157
|
+
[1m[35m (8.1ms)[0m DROP TABLE "posts" CASCADE
|
158
|
+
[1m[36m (8.0ms)[0m [1mCREATE TABLE "posts" ("id" serial primary key, "content" character varying, "user_id" integer) [0m
|
159
|
+
[1m[35m (1.0ms)[0m DROP TABLE "users" CASCADE
|
160
|
+
[1m[36m (2.3ms)[0m [1mCREATE TABLE "users" ("id" serial primary key, "username" character varying, "name" character varying, "email" character varying, "age" integer, "phone" integer) [0m
|
161
|
+
[1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
|
162
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
163
|
+
--------------------------------
|
164
|
+
MakersTest: test_create_instance
|
165
|
+
--------------------------------
|
166
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
167
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
168
|
+
-------------------------------
|
169
|
+
MakersTest: test_build_instance
|
170
|
+
-------------------------------
|
171
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
172
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
173
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.3ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
174
|
+
[1m[36mSQL (0.2ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
175
|
+
[1m[35m (1.9ms)[0m DROP TABLE "posts" CASCADE
|
176
|
+
[1m[36m (2.6ms)[0m [1mCREATE TABLE "posts" ("id" serial primary key, "content" character varying, "user_id" integer) [0m
|
177
|
+
[1m[35m (1.0ms)[0m DROP TABLE "users" CASCADE
|
178
|
+
[1m[36m (2.3ms)[0m [1mCREATE TABLE "users" ("id" serial primary key, "username" character varying, "name" character varying, "email" character varying, "age" integer, "phone" integer) [0m
|
179
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
180
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
181
|
+
-------------------------------
|
182
|
+
MakersTest: test_build_instance
|
183
|
+
-------------------------------
|
184
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
185
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
186
|
+
--------------------------------
|
187
|
+
MakersTest: test_create_instance
|
188
|
+
--------------------------------
|
189
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
190
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
191
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.3ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
192
|
+
[1m[36mSQL (0.2ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
193
|
+
[1m[35m (1.8ms)[0m DROP TABLE "posts" CASCADE
|
194
|
+
[1m[36m (2.6ms)[0m [1mCREATE TABLE "posts" ("id" serial primary key, "content" character varying, "user_id" integer) [0m
|
195
|
+
[1m[35m (1.1ms)[0m DROP TABLE "users" CASCADE
|
196
|
+
[1m[36m (2.4ms)[0m [1mCREATE TABLE "users" ("id" serial primary key, "username" character varying, "name" character varying, "email" character varying, "age" integer, "phone" integer) [0m
|
197
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
198
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
199
|
+
-------------------------------
|
200
|
+
MakersTest: test_build_instance
|
201
|
+
-------------------------------
|
202
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
203
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.3ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
204
|
+
[1m[36mSQL (0.2ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
205
|
+
[1m[35m (7.9ms)[0m DROP TABLE "posts" CASCADE
|
206
|
+
[1m[36m (8.3ms)[0m [1mCREATE TABLE "posts" ("id" serial primary key, "content" character varying, "user_id" integer) [0m
|
207
|
+
[1m[35m (1.1ms)[0m DROP TABLE "users" CASCADE
|
208
|
+
[1m[36m (2.0ms)[0m [1mCREATE TABLE "users" ("id" serial primary key, "username" character varying, "name" character varying, "email" character varying, "age" integer, "phone" integer) [0m
|
209
|
+
[1m[35m (0.4ms)[0m SELECT version FROM "schema_migrations"
|
210
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
211
|
+
-------------------------------
|
212
|
+
MakersTest: test_build_instance
|
213
|
+
-------------------------------
|
214
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
215
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
216
|
+
--------------------------------
|
217
|
+
MakersTest: test_create_instance
|
218
|
+
--------------------------------
|
219
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
220
|
+
[1m[36mSQL (5.8ms)[0m [1mINSERT INTO "users" ("name", "email") VALUES ($1, $2) RETURNING "id"[0m [["name", "#<Proc:0x007fde9e188cb8@/Users/Matt/Documents/Github/Makers/lib/makers/dsl/maker.rb:65 (lambda)>"], ["email", "#<Proc:0x007fde9e188bf0@/Users/Matt/Documents/Github/Makers/lib/makers/dsl/maker.rb:29 (lambda)>"]]
|
221
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
222
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
223
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
224
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.3ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
225
|
+
[1m[36mSQL (0.2ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
226
|
+
[1m[35m (7.7ms)[0m DROP TABLE "posts" CASCADE
|
227
|
+
[1m[36m (8.1ms)[0m [1mCREATE TABLE "posts" ("id" serial primary key, "content" character varying, "user_id" integer) [0m
|
228
|
+
[1m[35m (1.0ms)[0m DROP TABLE "users" CASCADE
|
229
|
+
[1m[36m (3.2ms)[0m [1mCREATE TABLE "users" ("id" serial primary key, "username" character varying, "name" character varying, "email" character varying, "age" integer, "phone" integer) [0m
|
230
|
+
[1m[35m (0.5ms)[0m SELECT version FROM "schema_migrations"
|
231
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
232
|
+
-----------------------------------
|
233
|
+
AttributesTest: test_block_sequence
|
234
|
+
-----------------------------------
|
235
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
236
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
237
|
+
-------------------------------------
|
238
|
+
AttributesTest: test_numeric_sequence
|
239
|
+
-------------------------------------
|
240
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
241
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
242
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.3ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
243
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
244
|
+
Migrating to CreateUsers (20140613221835)
|
245
|
+
[1m[35m (0.2ms)[0m BEGIN
|
246
|
+
[1m[36m (14.1ms)[0m [1mCREATE TABLE "users" ("id" serial primary key, "username" character varying, "name" character varying, "email" character varying, "age" integer, "phone" integer) [0m
|
247
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
248
|
+
[1m[36m (2.4ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
249
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
250
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
251
|
+
Migrating to CreateUsers (20140613221835)
|
252
|
+
[1m[35m (0.2ms)[0m BEGIN
|
253
|
+
[1m[36m (2.4ms)[0m [1mCREATE TABLE "users" ("id" serial primary key, "username" character varying, "name" character varying, "email" character varying, "age" integer, "phone" integer) [0m
|
254
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140613221835"]]
|
255
|
+
[1m[36m (6.4ms)[0m [1mCOMMIT[0m
|
256
|
+
Migrating to CreatePosts (20140615180954)
|
257
|
+
[1m[35m (11.5ms)[0m BEGIN
|
258
|
+
[1m[36m (14.6ms)[0m [1mCREATE TABLE "posts" ("id" serial primary key, "content" character varying, "user_id" integer) [0m
|
259
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140615180954"]]
|
260
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
261
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
262
|
+
[1m[36m (1.8ms)[0m [1mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
263
|
+
FROM pg_constraint c
|
264
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
265
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
266
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
267
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
268
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
269
|
+
WHERE c.contype = 'f'
|
270
|
+
AND t1.relname = 'posts'
|
271
|
+
AND t3.nspname = ANY (current_schemas(false))
|
272
|
+
ORDER BY c.conname
|
273
|
+
[0m
|
274
|
+
[1m[35m (1.3ms)[0m SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
275
|
+
FROM pg_constraint c
|
276
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
277
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
278
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
279
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
280
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
281
|
+
WHERE c.contype = 'f'
|
282
|
+
AND t1.relname = 'users'
|
283
|
+
AND t3.nspname = ANY (current_schemas(false))
|
284
|
+
ORDER BY c.conname
|
285
|
+
|
286
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
287
|
+
[1m[35m (0.2ms)[0m BEGIN
|
288
|
+
---------------------------------------
|
289
|
+
InheritanceTest: test_return_attributes
|
290
|
+
---------------------------------------
|
291
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
292
|
+
[1m[35m (0.1ms)[0m BEGIN
|
293
|
+
------------------------------------
|
294
|
+
InheritanceTest: test_build_instance
|
295
|
+
------------------------------------
|
296
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
297
|
+
[1m[35m (0.1ms)[0m BEGIN
|
298
|
+
-------------------------------------
|
299
|
+
InheritanceTest: test_create_instance
|
300
|
+
-------------------------------------
|
301
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
302
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" DEFAULT VALUES RETURNING "id"
|
303
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
304
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
305
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
306
|
+
[1m[35m (0.2ms)[0m BEGIN
|
307
|
+
-------------------------------------
|
308
|
+
InheritanceTest: test_create_instance
|
309
|
+
-------------------------------------
|
310
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
311
|
+
[1m[35m (0.2ms)[0m BEGIN
|
312
|
+
------------------------------------
|
313
|
+
InheritanceTest: test_build_instance
|
314
|
+
------------------------------------
|
315
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
316
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
317
|
+
[1m[35m (0.1ms)[0m BEGIN
|
318
|
+
------------------------------------
|
319
|
+
InheritanceTest: test_build_instance
|
320
|
+
------------------------------------
|
321
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
322
|
+
[1m[35m (0.1ms)[0m BEGIN
|
323
|
+
-------------------------------------
|
324
|
+
InheritanceTest: test_create_instance
|
325
|
+
-------------------------------------
|
326
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
327
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" DEFAULT VALUES RETURNING "id"
|
328
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
329
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
330
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
331
|
+
[1m[35m (0.3ms)[0m BEGIN
|
332
|
+
------------------------------------
|
333
|
+
InheritanceTest: test_build_instance
|
334
|
+
------------------------------------
|
335
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
336
|
+
[1m[35m (0.2ms)[0m BEGIN
|
337
|
+
-------------------------------------
|
338
|
+
InheritanceTest: test_create_instance
|
339
|
+
-------------------------------------
|
340
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
341
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "users" DEFAULT VALUES RETURNING "id"
|
342
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
343
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
344
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
345
|
+
[1m[35m (0.2ms)[0m BEGIN
|
346
|
+
------------------------------------
|
347
|
+
InheritanceTest: test_build_instance
|
348
|
+
------------------------------------
|
349
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
350
|
+
[1m[35m (0.2ms)[0m BEGIN
|
351
|
+
-------------------------------------
|
352
|
+
InheritanceTest: test_create_instance
|
353
|
+
-------------------------------------
|
354
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
355
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" DEFAULT VALUES RETURNING "id"
|
356
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
357
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
358
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
359
|
+
[1m[35m (0.2ms)[0m BEGIN
|
360
|
+
-------------------------------------
|
361
|
+
InheritanceTest: test_create_instance
|
362
|
+
-------------------------------------
|
363
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
364
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" DEFAULT VALUES RETURNING "id"
|
365
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
366
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
367
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
368
|
+
------------------------------------
|
369
|
+
InheritanceTest: test_build_instance
|
370
|
+
------------------------------------
|
371
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
372
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
373
|
+
[1m[35m (0.2ms)[0m BEGIN
|
374
|
+
------------------------------------
|
375
|
+
InheritanceTest: test_build_instance
|
376
|
+
------------------------------------
|
377
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
378
|
+
[1m[35m (0.1ms)[0m BEGIN
|
379
|
+
-------------------------------------
|
380
|
+
InheritanceTest: test_create_instance
|
381
|
+
-------------------------------------
|
382
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
383
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("name", "email", "age") VALUES ($1, $2, $3) RETURNING "id" [["name", "name"], ["email", "mail2@example.com"], ["age", 9]]
|
384
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
385
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
386
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
387
|
+
[1m[35m (0.2ms)[0m BEGIN
|
388
|
+
------------------------------------
|
389
|
+
InheritanceTest: test_build_instance
|
390
|
+
------------------------------------
|
391
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
392
|
+
[1m[35m (0.1ms)[0m BEGIN
|
393
|
+
-------------------------------------
|
394
|
+
InheritanceTest: test_create_instance
|
395
|
+
-------------------------------------
|
396
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
397
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("name", "email", "age") VALUES ($1, $2, $3) RETURNING "id" [["name", "name"], ["email", "mail2@example.com"], ["age", 9]]
|
398
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
399
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
400
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
401
|
+
[1m[35m (0.2ms)[0m BEGIN
|
402
|
+
------------------------------------
|
403
|
+
InheritanceTest: test_build_instance
|
404
|
+
------------------------------------
|
405
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
406
|
+
[1m[35m (0.2ms)[0m BEGIN
|
407
|
+
-------------------------------------
|
408
|
+
InheritanceTest: test_create_instance
|
409
|
+
-------------------------------------
|
410
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
411
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("name", "email", "age") VALUES ($1, $2, $3) RETURNING "id" [["name", "name"], ["email", "mail1@example.com"], ["age", 9]]
|
412
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
413
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
414
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
415
|
+
------------------------------------
|
416
|
+
InheritanceTest: test_build_instance
|
417
|
+
------------------------------------
|
418
|
+
[1m[35m (1.2ms)[0m ROLLBACK
|
419
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
420
|
+
[1m[35m (0.2ms)[0m BEGIN
|
421
|
+
--------------------------
|
422
|
+
ListsTest: test_build_list
|
423
|
+
--------------------------
|
424
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
425
|
+
[1m[35m (0.3ms)[0m BEGIN
|
426
|
+
---------------------------
|
427
|
+
ListsTest: test_create_list
|
428
|
+
---------------------------
|
429
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
430
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("name", "email", "age") VALUES ($1, $2, $3) RETURNING "id" [["name", "name"], ["email", "mail4@example.com"], ["age", 4]]
|
431
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
432
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
433
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("name", "email", "age") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "name"], ["email", "mail5@example.com"], ["age", 5]]
|
434
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
435
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
436
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "email", "age") VALUES ($1, $2, $3) RETURNING "id" [["name", "name"], ["email", "mail6@example.com"], ["age", 6]]
|
437
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
438
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
439
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
440
|
+
[1m[35m (0.2ms)[0m BEGIN
|
441
|
+
-----------------------------------
|
442
|
+
OverridesTest: test_create_instance
|
443
|
+
-----------------------------------
|
444
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
445
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("name", "email", "age") VALUES ($1, $2, $3) RETURNING "id" [["name", "other"], ["email", "mail1@example.com"], ["age", 1]]
|
446
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
447
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
448
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("name", "email", "age") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "other"], ["email", "mail2@example.com"], ["age", 2]]
|
449
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
450
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
451
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "email", "age") VALUES ($1, $2, $3) RETURNING "id" [["name", "other"], ["email", "mail3@example.com"], ["age", 3]]
|
452
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
453
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
454
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("name", "email", "age") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "other"], ["email", "mail4@example.com"], ["age", 4]]
|
455
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
456
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
457
|
+
[1m[35m (0.2ms)[0m BEGIN
|
458
|
+
----------------------------------
|
459
|
+
OverridesTest: test_build_instance
|
460
|
+
----------------------------------
|
461
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
462
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
463
|
+
[1m[35m (0.2ms)[0m BEGIN
|
464
|
+
-------------------------------------------
|
465
|
+
AssociationsTest: test_has_many_association
|
466
|
+
-------------------------------------------
|
467
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
468
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
469
|
+
[1m[35m (0.3ms)[0m BEGIN
|
470
|
+
-------------------------------------------
|
471
|
+
AssociationsTest: test_has_many_association
|
472
|
+
-------------------------------------------
|
473
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
474
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
475
|
+
[1m[35m (0.2ms)[0m BEGIN
|
476
|
+
-------------------------------------------
|
477
|
+
AssociationsTest: test_has_many_association
|
478
|
+
-------------------------------------------
|
479
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
480
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
481
|
+
[1m[35m (0.2ms)[0m BEGIN
|
482
|
+
-------------------------------------------
|
483
|
+
AssociationsTest: test_has_many_association
|
484
|
+
-------------------------------------------
|
485
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
486
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
487
|
+
[1m[35m (0.2ms)[0m BEGIN
|
488
|
+
-------------------------------------------
|
489
|
+
AssociationsTest: test_has_many_association
|
490
|
+
-------------------------------------------
|
491
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
492
|
+
[1m[35m (0.2ms)[0m BEGIN
|
493
|
+
-------------------------------------------
|
494
|
+
AssociationsTest: test_has_many_association
|
495
|
+
-------------------------------------------
|
496
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
497
|
+
[1m[35m (0.2ms)[0m BEGIN
|
498
|
+
-------------------------------------------
|
499
|
+
AssociationsTest: test_has_many_association
|
500
|
+
-------------------------------------------
|
501
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
502
|
+
[1m[35mSQL (2.4ms)[0m INSERT INTO "posts" DEFAULT VALUES RETURNING "id"
|
503
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
504
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
505
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" DEFAULT VALUES RETURNING "id"[0m
|
506
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
507
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
508
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
509
|
+
[1m[35m (0.2ms)[0m BEGIN
|
510
|
+
-------------------------
|
511
|
+
AliasesTest: test_aliases
|
512
|
+
-------------------------
|
513
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
514
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
515
|
+
[1m[35m (0.2ms)[0m BEGIN
|
516
|
+
-------------------------------------------
|
517
|
+
AssociationsTest: test_has_many_association
|
518
|
+
-------------------------------------------
|
519
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
520
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "posts" DEFAULT VALUES RETURNING "id"
|
521
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
522
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
523
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" DEFAULT VALUES RETURNING "id"[0m
|
524
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
525
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
526
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
527
|
+
[1m[35m (0.2ms)[0m BEGIN
|
528
|
+
-----------------------------------
|
529
|
+
AttributesTest: test_block_sequence
|
530
|
+
-----------------------------------
|
531
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
532
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "name"], ["username", "name"], ["email", "mail2@example.com"], ["phone", 2]]
|
533
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 16]]
|
534
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
535
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
536
|
+
[1m[35m (0.1ms)[0m BEGIN
|
537
|
+
-------------------------------------
|
538
|
+
AttributesTest: test_numeric_sequence
|
539
|
+
-------------------------------------
|
540
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
541
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
542
|
+
[1m[35m (0.2ms)[0m BEGIN
|
543
|
+
-----------------------------------
|
544
|
+
AttributesTest: test_block_sequence
|
545
|
+
-----------------------------------
|
546
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
547
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "name"], ["username", "name"], ["email", "mail2@example.com"], ["phone", 2]]
|
548
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 17]]
|
549
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
550
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
551
|
+
[1m[35m (0.1ms)[0m BEGIN
|
552
|
+
-------------------------------------
|
553
|
+
AttributesTest: test_numeric_sequence
|
554
|
+
-------------------------------------
|
555
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
556
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
557
|
+
[1m[35m (0.2ms)[0m BEGIN
|
558
|
+
-----------------------------------
|
559
|
+
AttributesTest: test_block_sequence
|
560
|
+
-----------------------------------
|
561
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
562
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "name"], ["username", "name"], ["email", "mail2@example.com"], ["phone", 2]]
|
563
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 18]]
|
564
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
565
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
566
|
+
[1m[35m (0.1ms)[0m BEGIN
|
567
|
+
-------------------------------------
|
568
|
+
AttributesTest: test_numeric_sequence
|
569
|
+
-------------------------------------
|
570
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
571
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
572
|
+
[1m[35m (0.2ms)[0m BEGIN
|
573
|
+
-----------------------------------
|
574
|
+
AttributesTest: test_block_sequence
|
575
|
+
-----------------------------------
|
576
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
577
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "name"], ["username", "name"], ["email", "mail2@example.com"], ["phone", 2]]
|
578
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 19]]
|
579
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
580
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
581
|
+
[1m[35m (0.2ms)[0m BEGIN
|
582
|
+
-------------------------------------
|
583
|
+
AttributesTest: test_numeric_sequence
|
584
|
+
-------------------------------------
|
585
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
586
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
587
|
+
[1m[35m (0.2ms)[0m BEGIN
|
588
|
+
------------------------------------
|
589
|
+
GeneratorsTest: test_file_generation
|
590
|
+
------------------------------------
|
591
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
592
|
+
[1m[35m (0.2ms)[0m BEGIN
|
593
|
+
------------------------------------
|
594
|
+
GeneratorsTest: test_file_generation
|
595
|
+
------------------------------------
|
596
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
597
|
+
[1m[35m (0.2ms)[0m BEGIN
|
598
|
+
------------------------------------
|
599
|
+
GeneratorsTest: test_file_generation
|
600
|
+
------------------------------------
|
601
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
602
|
+
[1m[35m (0.3ms)[0m BEGIN
|
603
|
+
------------------------------------
|
604
|
+
GeneratorsTest: test_file_generation
|
605
|
+
------------------------------------
|
606
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
607
|
+
[1m[35m (0.2ms)[0m BEGIN
|
608
|
+
----------------------------
|
609
|
+
MakersTest: test_inheritance
|
610
|
+
----------------------------
|
611
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
612
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("name", "username", "email", "phone", "age") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "name"], ["username", "name"], ["email", "mail2@example.com"], ["phone", 2], ["age", 9]]
|
613
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 20]]
|
614
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
615
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
616
|
+
[1m[35m (0.1ms)[0m BEGIN
|
617
|
+
-----------------------------
|
618
|
+
MakersTest: test_associations
|
619
|
+
-----------------------------
|
620
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
621
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "posts" DEFAULT VALUES RETURNING "id"
|
622
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
623
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
624
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" DEFAULT VALUES RETURNING "id"[0m
|
625
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
626
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
627
|
+
[1m[35m (0.1ms)[0m BEGIN
|
628
|
+
----------------------------
|
629
|
+
MakersTest: test_definitions
|
630
|
+
----------------------------
|
631
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
632
|
+
[1m[35m (0.1ms)[0m BEGIN
|
633
|
+
--------------------------
|
634
|
+
MakersTest: test_overrides
|
635
|
+
--------------------------
|
636
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
637
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "other"], ["username", "name"], ["email", "mail9@example.com"], ["phone", 9]]
|
638
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 21]]
|
639
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
640
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
641
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "other"], ["username", "name"], ["email", "mail10@example.com"], ["phone", 10]]
|
642
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 22]]
|
643
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
644
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
645
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "other"], ["username", "name"], ["email", "mail11@example.com"], ["phone", 11]]
|
646
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 23]]
|
647
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
648
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
649
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "other"], ["username", "name"], ["email", "mail12@example.com"], ["phone", 12]]
|
650
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 24]]
|
651
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
652
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
653
|
+
[1m[35m (0.1ms)[0m BEGIN
|
654
|
+
--------------------------
|
655
|
+
MakersTest: test_dependent
|
656
|
+
--------------------------
|
657
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
658
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "name"], ["username", "name"], ["email", "mail14@example.com"], ["phone", 14]]
|
659
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 25]]
|
660
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
661
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
662
|
+
[1m[35m (0.1ms)[0m BEGIN
|
663
|
+
--------------------------
|
664
|
+
MakersTest: test_sequences
|
665
|
+
--------------------------
|
666
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
667
|
+
[1m[35m (0.1ms)[0m BEGIN
|
668
|
+
------------------------
|
669
|
+
MakersTest: test_aliases
|
670
|
+
------------------------
|
671
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
672
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
673
|
+
[1m[35m (0.2ms)[0m BEGIN
|
674
|
+
----------------------------
|
675
|
+
MakersTest: test_inheritance
|
676
|
+
----------------------------
|
677
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
678
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("name", "username", "email", "phone", "age") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "name"], ["username", "name"], ["email", "mail2@example.com"], ["phone", 2], ["age", 9]]
|
679
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 26]]
|
680
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
681
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
682
|
+
[1m[35m (0.2ms)[0m BEGIN
|
683
|
+
--------------------------
|
684
|
+
MakersTest: test_overrides
|
685
|
+
--------------------------
|
686
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
687
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "other"], ["username", "name"], ["email", "mail7@example.com"], ["phone", 7]]
|
688
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 27]]
|
689
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
690
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
691
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "other"], ["username", "name"], ["email", "mail8@example.com"], ["phone", 8]]
|
692
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 28]]
|
693
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
694
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
695
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "other"], ["username", "name"], ["email", "mail9@example.com"], ["phone", 9]]
|
696
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 29]]
|
697
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
698
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
699
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "other"], ["username", "name"], ["email", "mail10@example.com"], ["phone", 10]]
|
700
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 30]]
|
701
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
702
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
703
|
+
[1m[35m (0.1ms)[0m BEGIN
|
704
|
+
------------------------
|
705
|
+
MakersTest: test_aliases
|
706
|
+
------------------------
|
707
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
708
|
+
[1m[35m (0.1ms)[0m BEGIN
|
709
|
+
--------------------------
|
710
|
+
MakersTest: test_sequences
|
711
|
+
--------------------------
|
712
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
713
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "name"], ["username", "name"], ["email", "mail12@example.com"], ["phone", 12]]
|
714
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 31]]
|
715
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
716
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
717
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "name"], ["username", "name"], ["email", "mail14@example.com"], ["phone", 14]]
|
718
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 32]]
|
719
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
720
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
721
|
+
[1m[35m (0.1ms)[0m BEGIN
|
722
|
+
-----------------------------
|
723
|
+
MakersTest: test_associations
|
724
|
+
-----------------------------
|
725
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
726
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "posts" DEFAULT VALUES RETURNING "id"
|
727
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
728
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
729
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" DEFAULT VALUES RETURNING "id"[0m
|
730
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
731
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
732
|
+
[1m[35m (0.1ms)[0m BEGIN
|
733
|
+
--------------------------
|
734
|
+
MakersTest: test_dependent
|
735
|
+
--------------------------
|
736
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
737
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "name"], ["username", "name"], ["email", "mail18@example.com"], ["phone", 18]]
|
738
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 33]]
|
739
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
740
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
741
|
+
[1m[35m (0.1ms)[0m BEGIN
|
742
|
+
----------------------------
|
743
|
+
MakersTest: test_definitions
|
744
|
+
----------------------------
|
745
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
746
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
747
|
+
[1m[35m (0.4ms)[0m BEGIN
|
748
|
+
-----------------------------------
|
749
|
+
GeneratorTest: test_file_generation
|
750
|
+
-----------------------------------
|
751
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
752
|
+
[1m[35m (0.1ms)[0m BEGIN
|
753
|
+
-----------------------------
|
754
|
+
MakersTest: test_associations
|
755
|
+
-----------------------------
|
756
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
757
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "posts" DEFAULT VALUES RETURNING "id"
|
758
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
759
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
760
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" DEFAULT VALUES RETURNING "id"[0m
|
761
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
762
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
763
|
+
[1m[35m (0.1ms)[0m BEGIN
|
764
|
+
------------------------
|
765
|
+
MakersTest: test_aliases
|
766
|
+
------------------------
|
767
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
768
|
+
[1m[35m (0.1ms)[0m BEGIN
|
769
|
+
--------------------------
|
770
|
+
MakersTest: test_sequences
|
771
|
+
--------------------------
|
772
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
773
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "name"], ["username", "name"], ["email", "mail4@example.com"], ["phone", 4]]
|
774
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 34]]
|
775
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
776
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
777
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "name"], ["username", "name"], ["email", "mail6@example.com"], ["phone", 6]]
|
778
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 35]]
|
779
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
780
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
781
|
+
[1m[35m (0.1ms)[0m BEGIN
|
782
|
+
----------------------------
|
783
|
+
MakersTest: test_definitions
|
784
|
+
----------------------------
|
785
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
786
|
+
[1m[35m (0.1ms)[0m BEGIN
|
787
|
+
----------------------------
|
788
|
+
MakersTest: test_inheritance
|
789
|
+
----------------------------
|
790
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
791
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone", "age") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "name"], ["username", "name"], ["email", "mail8@example.com"], ["phone", 8], ["age", 9]]
|
792
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 36]]
|
793
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
794
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
795
|
+
[1m[35m (0.1ms)[0m BEGIN
|
796
|
+
--------------------------
|
797
|
+
MakersTest: test_dependent
|
798
|
+
--------------------------
|
799
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
800
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "name"], ["username", "name"], ["email", "mail10@example.com"], ["phone", 10]]
|
801
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 37]]
|
802
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
803
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
804
|
+
[1m[35m (0.1ms)[0m BEGIN
|
805
|
+
--------------------------
|
806
|
+
MakersTest: test_overrides
|
807
|
+
--------------------------
|
808
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
809
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "other"], ["username", "name"], ["email", "mail15@example.com"], ["phone", 15]]
|
810
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 38]]
|
811
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
812
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
813
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "other"], ["username", "name"], ["email", "mail16@example.com"], ["phone", 16]]
|
814
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 39]]
|
815
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
816
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
817
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "other"], ["username", "name"], ["email", "mail17@example.com"], ["phone", 17]]
|
818
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 40]]
|
819
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
820
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
821
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "other"], ["username", "name"], ["email", "mail18@example.com"], ["phone", 18]]
|
822
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 41]]
|
823
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
824
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
825
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
826
|
+
[1m[35m (0.2ms)[0m BEGIN
|
827
|
+
----------------------------
|
828
|
+
MakersTest: test_inheritance
|
829
|
+
----------------------------
|
830
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
831
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("name", "username", "email", "phone", "age") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "name"], ["username", "name"], ["email", "mail2@example.com"], ["phone", 2], ["age", 9]]
|
832
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 42]]
|
833
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
834
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
835
|
+
[1m[35m (0.2ms)[0m BEGIN
|
836
|
+
--------------------------
|
837
|
+
MakersTest: test_overrides
|
838
|
+
--------------------------
|
839
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
840
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "other"], ["username", "name"], ["email", "mail7@example.com"], ["phone", 7]]
|
841
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 43]]
|
842
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
843
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
844
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "other"], ["username", "name"], ["email", "mail8@example.com"], ["phone", 8]]
|
845
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 44]]
|
846
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
847
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
848
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "other"], ["username", "name"], ["email", "mail9@example.com"], ["phone", 9]]
|
849
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 45]]
|
850
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
851
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
852
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "other"], ["username", "name"], ["email", "mail10@example.com"], ["phone", 10]]
|
853
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 46]]
|
854
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
855
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
856
|
+
[1m[35m (0.1ms)[0m BEGIN
|
857
|
+
------------------------
|
858
|
+
MakersTest: test_aliases
|
859
|
+
------------------------
|
860
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
861
|
+
[1m[35m (0.1ms)[0m BEGIN
|
862
|
+
-----------------------------
|
863
|
+
MakersTest: test_associations
|
864
|
+
-----------------------------
|
865
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
866
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "posts" DEFAULT VALUES RETURNING "id"
|
867
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
868
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
869
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" DEFAULT VALUES RETURNING "id"[0m
|
870
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
871
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
872
|
+
[1m[35m (0.1ms)[0m BEGIN
|
873
|
+
----------------------------
|
874
|
+
MakersTest: test_definitions
|
875
|
+
----------------------------
|
876
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
877
|
+
[1m[35m (0.1ms)[0m BEGIN
|
878
|
+
--------------------------
|
879
|
+
MakersTest: test_dependent
|
880
|
+
--------------------------
|
881
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
882
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "name"], ["username", "name"], ["email", "mail14@example.com"], ["phone", 14]]
|
883
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 47]]
|
884
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
885
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
886
|
+
[1m[35m (0.1ms)[0m BEGIN
|
887
|
+
--------------------------
|
888
|
+
MakersTest: test_sequences
|
889
|
+
--------------------------
|
890
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
891
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "name"], ["username", "name"], ["email", "mail16@example.com"], ["phone", 16]]
|
892
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 48]]
|
893
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
894
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
895
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "name"], ["username", "name"], ["email", "mail18@example.com"], ["phone", 18]]
|
896
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 49]]
|
897
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
898
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
899
|
+
[1m[35m (0.1ms)[0m BEGIN
|
900
|
+
-----------------------------------
|
901
|
+
GeneratorTest: test_file_generation
|
902
|
+
-----------------------------------
|
903
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
904
|
+
[1m[35m (0.2ms)[0m BEGIN
|
905
|
+
-----------------------------
|
906
|
+
MakersTest: test_associations
|
907
|
+
-----------------------------
|
908
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
909
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "posts" DEFAULT VALUES RETURNING "id"
|
910
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
911
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
912
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" DEFAULT VALUES RETURNING "id"[0m
|
913
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
914
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
915
|
+
[1m[35m (0.1ms)[0m BEGIN
|
916
|
+
----------------------------
|
917
|
+
MakersTest: test_inheritance
|
918
|
+
----------------------------
|
919
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
920
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("name", "username", "email", "phone", "age") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "name"], ["username", "name"], ["email", "mail4@example.com"], ["phone", 4], ["age", 9]]
|
921
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 50]]
|
922
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
923
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
924
|
+
[1m[35m (0.1ms)[0m BEGIN
|
925
|
+
--------------------------
|
926
|
+
MakersTest: test_overrides
|
927
|
+
--------------------------
|
928
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
929
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "other"], ["username", "name"], ["email", "mail9@example.com"], ["phone", 9]]
|
930
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 51]]
|
931
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
932
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
933
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "other"], ["username", "name"], ["email", "mail10@example.com"], ["phone", 10]]
|
934
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 52]]
|
935
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
936
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
937
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "other"], ["username", "name"], ["email", "mail11@example.com"], ["phone", 11]]
|
938
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 53]]
|
939
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
940
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
941
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "other"], ["username", "name"], ["email", "mail12@example.com"], ["phone", 12]]
|
942
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 54]]
|
943
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
944
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
945
|
+
[1m[35m (0.1ms)[0m BEGIN
|
946
|
+
----------------------------
|
947
|
+
MakersTest: test_definitions
|
948
|
+
----------------------------
|
949
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
950
|
+
[1m[35m (0.1ms)[0m BEGIN
|
951
|
+
--------------------------
|
952
|
+
MakersTest: test_sequences
|
953
|
+
--------------------------
|
954
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
955
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "name"], ["username", "name"], ["email", "mail14@example.com"], ["phone", 14]]
|
956
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 55]]
|
957
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
958
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
959
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "name"], ["username", "name"], ["email", "mail16@example.com"], ["phone", 16]]
|
960
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 56]]
|
961
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
962
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
963
|
+
[1m[35m (0.1ms)[0m BEGIN
|
964
|
+
------------------------
|
965
|
+
MakersTest: test_aliases
|
966
|
+
------------------------
|
967
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
968
|
+
[1m[35m (0.1ms)[0m BEGIN
|
969
|
+
--------------------------
|
970
|
+
MakersTest: test_dependent
|
971
|
+
--------------------------
|
972
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
973
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "name"], ["username", "name"], ["email", "mail18@example.com"], ["phone", 18]]
|
974
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 57]]
|
975
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
976
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
977
|
+
[1m[35m (0.2ms)[0m BEGIN
|
978
|
+
-----------------------------------
|
979
|
+
GeneratorTest: test_file_generation
|
980
|
+
-----------------------------------
|
981
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
982
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
983
|
+
[1m[35m (0.2ms)[0m BEGIN
|
984
|
+
-----------------------------------
|
985
|
+
GeneratorTest: test_file_generation
|
986
|
+
-----------------------------------
|
987
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
988
|
+
[1m[35m (0.1ms)[0m BEGIN
|
989
|
+
----------------------------
|
990
|
+
MakersTest: test_definitions
|
991
|
+
----------------------------
|
992
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
993
|
+
[1m[35m (0.1ms)[0m BEGIN
|
994
|
+
-----------------------------
|
995
|
+
MakersTest: test_associations
|
996
|
+
-----------------------------
|
997
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
998
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "posts" DEFAULT VALUES RETURNING "id"
|
999
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1000
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1001
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" DEFAULT VALUES RETURNING "id"[0m
|
1002
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1003
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1004
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1005
|
+
--------------------------
|
1006
|
+
MakersTest: test_dependent
|
1007
|
+
--------------------------
|
1008
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1009
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "name"], ["username", "name"], ["email", "mail4@example.com"], ["phone", 4]]
|
1010
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 58]]
|
1011
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1012
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1013
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1014
|
+
----------------------------
|
1015
|
+
MakersTest: test_inheritance
|
1016
|
+
----------------------------
|
1017
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1018
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone", "age") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "name"], ["username", "name"], ["email", "mail6@example.com"], ["phone", 6], ["age", 9]]
|
1019
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 59]]
|
1020
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1021
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1022
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1023
|
+
--------------------------
|
1024
|
+
MakersTest: test_overrides
|
1025
|
+
--------------------------
|
1026
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1027
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "other"], ["username", "name"], ["email", "mail11@example.com"], ["phone", 11]]
|
1028
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 60]]
|
1029
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1030
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1031
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "other"], ["username", "name"], ["email", "mail12@example.com"], ["phone", 12]]
|
1032
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 61]]
|
1033
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1034
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1035
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "other"], ["username", "name"], ["email", "mail13@example.com"], ["phone", 13]]
|
1036
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 62]]
|
1037
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1038
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1039
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "other"], ["username", "name"], ["email", "mail14@example.com"], ["phone", 14]]
|
1040
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 63]]
|
1041
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1042
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1043
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1044
|
+
--------------------------
|
1045
|
+
MakersTest: test_sequences
|
1046
|
+
--------------------------
|
1047
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1048
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "name"], ["username", "name"], ["email", "mail16@example.com"], ["phone", 16]]
|
1049
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 64]]
|
1050
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1051
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1052
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "name"], ["username", "name"], ["email", "mail18@example.com"], ["phone", 18]]
|
1053
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 65]]
|
1054
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1055
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1056
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1057
|
+
------------------------
|
1058
|
+
MakersTest: test_aliases
|
1059
|
+
------------------------
|
1060
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1061
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1062
|
+
[1m[35m (0.3ms)[0m BEGIN
|
1063
|
+
-----------------------------------
|
1064
|
+
GeneratorTest: test_file_generation
|
1065
|
+
-----------------------------------
|
1066
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
1067
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1068
|
+
----------------------------
|
1069
|
+
MakersTest: test_definitions
|
1070
|
+
----------------------------
|
1071
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1072
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1073
|
+
--------------------------
|
1074
|
+
MakersTest: test_sequences
|
1075
|
+
--------------------------
|
1076
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
1077
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "name"], ["username", "name"], ["email", "mail2@example.com"], ["phone", 2]]
|
1078
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 66]]
|
1079
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1080
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1081
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "name"], ["username", "name"], ["email", "mail4@example.com"], ["phone", 4]]
|
1082
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 67]]
|
1083
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1084
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1085
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1086
|
+
------------------------
|
1087
|
+
MakersTest: test_aliases
|
1088
|
+
------------------------
|
1089
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1090
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1091
|
+
--------------------------
|
1092
|
+
MakersTest: test_overrides
|
1093
|
+
--------------------------
|
1094
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1095
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "other"], ["username", "name"], ["email", "mail9@example.com"], ["phone", 9]]
|
1096
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 68]]
|
1097
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1098
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1099
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "other"], ["username", "name"], ["email", "mail10@example.com"], ["phone", 10]]
|
1100
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 69]]
|
1101
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1102
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1103
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "other"], ["username", "name"], ["email", "mail11@example.com"], ["phone", 11]]
|
1104
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 70]]
|
1105
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1106
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1107
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "other"], ["username", "name"], ["email", "mail12@example.com"], ["phone", 12]]
|
1108
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 71]]
|
1109
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1110
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1111
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1112
|
+
--------------------------
|
1113
|
+
MakersTest: test_dependent
|
1114
|
+
--------------------------
|
1115
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1116
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "name"], ["username", "name"], ["email", "mail14@example.com"], ["phone", 14]]
|
1117
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 72]]
|
1118
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1119
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1120
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1121
|
+
-----------------------------
|
1122
|
+
MakersTest: test_associations
|
1123
|
+
-----------------------------
|
1124
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1125
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "posts" DEFAULT VALUES RETURNING "id"
|
1126
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1127
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1128
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" DEFAULT VALUES RETURNING "id"[0m
|
1129
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1130
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1131
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1132
|
+
----------------------------
|
1133
|
+
MakersTest: test_inheritance
|
1134
|
+
----------------------------
|
1135
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1136
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone", "age") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "name"], ["username", "name"], ["email", "mail18@example.com"], ["phone", 18], ["age", 9]]
|
1137
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 73]]
|
1138
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1139
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1140
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1141
|
+
[1m[35m (0.3ms)[0m BEGIN
|
1142
|
+
------------------------
|
1143
|
+
MakersTest: test_aliases
|
1144
|
+
------------------------
|
1145
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1146
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1147
|
+
-----------------------------
|
1148
|
+
MakersTest: test_associations
|
1149
|
+
-----------------------------
|
1150
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1151
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "posts" DEFAULT VALUES RETURNING "id"
|
1152
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1153
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1154
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" DEFAULT VALUES RETURNING "id"[0m
|
1155
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1156
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1157
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1158
|
+
--------------------------
|
1159
|
+
MakersTest: test_dependent
|
1160
|
+
--------------------------
|
1161
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1162
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "name"], ["username", "name"], ["email", "mail4@example.com"], ["phone", 4]]
|
1163
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 74]]
|
1164
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1165
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1166
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1167
|
+
----------------------------
|
1168
|
+
MakersTest: test_inheritance
|
1169
|
+
----------------------------
|
1170
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1171
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone", "age") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "name"], ["username", "name"], ["email", "mail6@example.com"], ["phone", 6], ["age", 9]]
|
1172
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 75]]
|
1173
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1174
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1175
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1176
|
+
--------------------------
|
1177
|
+
MakersTest: test_sequences
|
1178
|
+
--------------------------
|
1179
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1180
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "name"], ["username", "name"], ["email", "mail8@example.com"], ["phone", 8]]
|
1181
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 76]]
|
1182
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1183
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1184
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "name"], ["username", "name"], ["email", "mail10@example.com"], ["phone", 10]]
|
1185
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 77]]
|
1186
|
+
[1m[35m (0.4ms)[0m RELEASE SAVEPOINT active_record_1
|
1187
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1188
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1189
|
+
--------------------------
|
1190
|
+
MakersTest: test_overrides
|
1191
|
+
--------------------------
|
1192
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1193
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "other"], ["username", "name"], ["email", "mail15@example.com"], ["phone", 15]]
|
1194
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 78]]
|
1195
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1196
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1197
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "other"], ["username", "name"], ["email", "mail16@example.com"], ["phone", 16]]
|
1198
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 79]]
|
1199
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1200
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1201
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "other"], ["username", "name"], ["email", "mail17@example.com"], ["phone", 17]]
|
1202
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 80]]
|
1203
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1204
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1205
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "other"], ["username", "name"], ["email", "mail18@example.com"], ["phone", 18]]
|
1206
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 81]]
|
1207
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1208
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1209
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1210
|
+
----------------------------
|
1211
|
+
MakersTest: test_definitions
|
1212
|
+
----------------------------
|
1213
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1214
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1215
|
+
-----------------------------------
|
1216
|
+
GeneratorTest: test_file_generation
|
1217
|
+
-----------------------------------
|
1218
|
+
[1m[36m (0.6ms)[0m [1mROLLBACK[0m
|
1219
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1220
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1221
|
+
---------------------------
|
1222
|
+
GeneratorTest: test_install
|
1223
|
+
---------------------------
|
1224
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1225
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1226
|
+
--------------------------
|
1227
|
+
MakersTest: test_dependent
|
1228
|
+
--------------------------
|
1229
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
1230
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "name"], ["username", "name"], ["email", "mail2@example.com"], ["phone", 2]]
|
1231
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 82]]
|
1232
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1233
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1234
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1235
|
+
----------------------------
|
1236
|
+
MakersTest: test_inheritance
|
1237
|
+
----------------------------
|
1238
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1239
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone", "age") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "name"], ["username", "name"], ["email", "mail4@example.com"], ["phone", 4], ["age", 9]]
|
1240
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 83]]
|
1241
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1242
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1243
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1244
|
+
--------------------------
|
1245
|
+
MakersTest: test_overrides
|
1246
|
+
--------------------------
|
1247
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1248
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "other"], ["username", "name"], ["email", "mail9@example.com"], ["phone", 9]]
|
1249
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 84]]
|
1250
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1251
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1252
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "other"], ["username", "name"], ["email", "mail10@example.com"], ["phone", 10]]
|
1253
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 85]]
|
1254
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1255
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1256
|
+
[1m[35mSQL (6.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "other"], ["username", "name"], ["email", "mail11@example.com"], ["phone", 11]]
|
1257
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 86]]
|
1258
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1259
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1260
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "other"], ["username", "name"], ["email", "mail12@example.com"], ["phone", 12]]
|
1261
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 87]]
|
1262
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1263
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1264
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1265
|
+
-----------------------------
|
1266
|
+
MakersTest: test_associations
|
1267
|
+
-----------------------------
|
1268
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1269
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "posts" DEFAULT VALUES RETURNING "id"
|
1270
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1271
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1272
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" DEFAULT VALUES RETURNING "id"[0m
|
1273
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1274
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1275
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1276
|
+
----------------------------
|
1277
|
+
MakersTest: test_definitions
|
1278
|
+
----------------------------
|
1279
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1280
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1281
|
+
------------------------
|
1282
|
+
MakersTest: test_aliases
|
1283
|
+
------------------------
|
1284
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1285
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1286
|
+
--------------------------
|
1287
|
+
MakersTest: test_sequences
|
1288
|
+
--------------------------
|
1289
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1290
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "name"], ["username", "name"], ["email", "mail16@example.com"], ["phone", 16]]
|
1291
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 88]]
|
1292
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1293
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1294
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "name"], ["username", "name"], ["email", "mail18@example.com"], ["phone", 18]]
|
1295
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 89]]
|
1296
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1297
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1298
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1299
|
+
[1m[35m (0.3ms)[0m BEGIN
|
1300
|
+
--------------------------
|
1301
|
+
MakersTest: test_sequences
|
1302
|
+
--------------------------
|
1303
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1304
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "name"], ["username", "name"], ["email", "mail2@example.com"], ["phone", 2]]
|
1305
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 90]]
|
1306
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1307
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1308
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "name"], ["username", "name"], ["email", "mail4@example.com"], ["phone", 4]]
|
1309
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 91]]
|
1310
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1311
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1312
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1313
|
+
-----------------------------
|
1314
|
+
MakersTest: test_associations
|
1315
|
+
-----------------------------
|
1316
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1317
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "posts" DEFAULT VALUES RETURNING "id"
|
1318
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1319
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1320
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" DEFAULT VALUES RETURNING "id"[0m
|
1321
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1322
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1323
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1324
|
+
----------------------------
|
1325
|
+
MakersTest: test_definitions
|
1326
|
+
----------------------------
|
1327
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1328
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1329
|
+
--------------------------
|
1330
|
+
MakersTest: test_dependent
|
1331
|
+
--------------------------
|
1332
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1333
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "name"], ["username", "name"], ["email", "mail8@example.com"], ["phone", 8]]
|
1334
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 92]]
|
1335
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1336
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1337
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1338
|
+
----------------------------
|
1339
|
+
MakersTest: test_inheritance
|
1340
|
+
----------------------------
|
1341
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1342
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone", "age") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "name"], ["username", "name"], ["email", "mail10@example.com"], ["phone", 10], ["age", 9]]
|
1343
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 93]]
|
1344
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1345
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1346
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1347
|
+
------------------------
|
1348
|
+
MakersTest: test_aliases
|
1349
|
+
------------------------
|
1350
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1351
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1352
|
+
--------------------------
|
1353
|
+
MakersTest: test_overrides
|
1354
|
+
--------------------------
|
1355
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1356
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "other"], ["username", "name"], ["email", "mail15@example.com"], ["phone", 15]]
|
1357
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 94]]
|
1358
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1359
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1360
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "other"], ["username", "name"], ["email", "mail16@example.com"], ["phone", 16]]
|
1361
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 95]]
|
1362
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1363
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1364
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "other"], ["username", "name"], ["email", "mail17@example.com"], ["phone", 17]]
|
1365
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 96]]
|
1366
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1367
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1368
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "other"], ["username", "name"], ["email", "mail18@example.com"], ["phone", 18]]
|
1369
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 97]]
|
1370
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1371
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1372
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1373
|
+
---------------------------
|
1374
|
+
GeneratorTest: test_install
|
1375
|
+
---------------------------
|
1376
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
1377
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1378
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
1379
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1380
|
+
Migrating to CreateUsers (20140613221835)
|
1381
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1382
|
+
[1m[36m (7.1ms)[0m [1mCREATE TABLE "users" ("id" serial primary key, "username" character varying, "name" character varying, "email" character varying, "age" integer, "phone" integer) [0m
|
1383
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140613221835"]]
|
1384
|
+
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
1385
|
+
Migrating to CreatePosts (20140615180954)
|
1386
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1387
|
+
[1m[36m (2.5ms)[0m [1mCREATE TABLE "posts" ("id" serial primary key, "user_id" integer) [0m
|
1388
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140615180954"]]
|
1389
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1390
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
1391
|
+
[1m[36m (1.7ms)[0m [1mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
1392
|
+
FROM pg_constraint c
|
1393
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
1394
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
1395
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
1396
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
1397
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
1398
|
+
WHERE c.contype = 'f'
|
1399
|
+
AND t1.relname = 'exchanges'
|
1400
|
+
AND t3.nspname = ANY (current_schemas(false))
|
1401
|
+
ORDER BY c.conname
|
1402
|
+
[0m
|
1403
|
+
[1m[35m (1.4ms)[0m SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
1404
|
+
FROM pg_constraint c
|
1405
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
1406
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
1407
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
1408
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
1409
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
1410
|
+
WHERE c.contype = 'f'
|
1411
|
+
AND t1.relname = 'plans'
|
1412
|
+
AND t3.nspname = ANY (current_schemas(false))
|
1413
|
+
ORDER BY c.conname
|
1414
|
+
|
1415
|
+
[1m[36m (1.6ms)[0m [1mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
1416
|
+
FROM pg_constraint c
|
1417
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
1418
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
1419
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
1420
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
1421
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
1422
|
+
WHERE c.contype = 'f'
|
1423
|
+
AND t1.relname = 'posts'
|
1424
|
+
AND t3.nspname = ANY (current_schemas(false))
|
1425
|
+
ORDER BY c.conname
|
1426
|
+
[0m
|
1427
|
+
[1m[35m (1.3ms)[0m SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
1428
|
+
FROM pg_constraint c
|
1429
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
1430
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
1431
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
1432
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
1433
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
1434
|
+
WHERE c.contype = 'f'
|
1435
|
+
AND t1.relname = 'products'
|
1436
|
+
AND t3.nspname = ANY (current_schemas(false))
|
1437
|
+
ORDER BY c.conname
|
1438
|
+
|
1439
|
+
[1m[36m (1.2ms)[0m [1mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
1440
|
+
FROM pg_constraint c
|
1441
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
1442
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
1443
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
1444
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
1445
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
1446
|
+
WHERE c.contype = 'f'
|
1447
|
+
AND t1.relname = 'users'
|
1448
|
+
AND t3.nspname = ANY (current_schemas(false))
|
1449
|
+
ORDER BY c.conname
|
1450
|
+
[0m
|
1451
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1452
|
+
[1m[35m (0.3ms)[0m BEGIN
|
1453
|
+
--------------------------
|
1454
|
+
MakersTest: test_dependent
|
1455
|
+
--------------------------
|
1456
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1457
|
+
[1m[35mSQL (6.8ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "name"], ["username", "name"], ["email", "mail2@example.com"], ["phone", 2]]
|
1458
|
+
[1m[36mSQL (6.4ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 1]]
|
1459
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1460
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1461
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1462
|
+
-----------------------------
|
1463
|
+
MakersTest: test_associations
|
1464
|
+
-----------------------------
|
1465
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1466
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "posts" DEFAULT VALUES RETURNING "id"
|
1467
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1468
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1469
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "posts" DEFAULT VALUES RETURNING "id"[0m
|
1470
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1471
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1472
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1473
|
+
--------------------------
|
1474
|
+
MakersTest: test_overrides
|
1475
|
+
--------------------------
|
1476
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
1477
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "other"], ["username", "name"], ["email", "mail9@example.com"], ["phone", 9]]
|
1478
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 2]]
|
1479
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1480
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1481
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "other"], ["username", "name"], ["email", "mail10@example.com"], ["phone", 10]]
|
1482
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 3]]
|
1483
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1484
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1485
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "other"], ["username", "name"], ["email", "mail11@example.com"], ["phone", 11]]
|
1486
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 4]]
|
1487
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1488
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1489
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "other"], ["username", "name"], ["email", "mail12@example.com"], ["phone", 12]]
|
1490
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 5]]
|
1491
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
1492
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1493
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1494
|
+
--------------------------
|
1495
|
+
MakersTest: test_sequences
|
1496
|
+
--------------------------
|
1497
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1498
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "name"], ["username", "name"], ["email", "mail14@example.com"], ["phone", 14]]
|
1499
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 6]]
|
1500
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1501
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1502
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "name"], ["username", "name"], ["email", "mail16@example.com"], ["phone", 16]]
|
1503
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 7]]
|
1504
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1505
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1506
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1507
|
+
----------------------------
|
1508
|
+
MakersTest: test_inheritance
|
1509
|
+
----------------------------
|
1510
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1511
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone", "age") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "name"], ["username", "name"], ["email", "mail18@example.com"], ["phone", 18], ["age", 9]]
|
1512
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id") VALUES ($1) RETURNING "id"[0m [["user_id", 8]]
|
1513
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1514
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1515
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1516
|
+
----------------------------
|
1517
|
+
MakersTest: test_definitions
|
1518
|
+
----------------------------
|
1519
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1520
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1521
|
+
------------------------
|
1522
|
+
MakersTest: test_aliases
|
1523
|
+
------------------------
|
1524
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1525
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1526
|
+
---------------------------
|
1527
|
+
GeneratorTest: test_install
|
1528
|
+
---------------------------
|
1529
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|