data_seeder 1.0.9 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Rakefile +0 -1
- data/app/models/data_seeder/seed_file.rb +1 -1
- data/db/migrate/20150306195118_create_data_seeder_seed_files.rb +1 -1
- data/lib/data_seeder/config.rb +3 -1
- data/lib/data_seeder/version.rb +1 -1
- data/test/dummy/config/environments/test.rb +3 -0
- data/test/dummy/db/migrate/20150313022149_create_countries.rb +1 -1
- data/test/dummy/db/migrate/20150313022228_create_states.rb +1 -1
- data/test/dummy/db/migrate/20150313172634_create_apps.rb +1 -1
- data/test/dummy/db/migrate/20150313172719_create_app_errors.rb +1 -1
- data/test/dummy/db/schema.rb +5 -8
- data/test/test_helper.rb +6 -6
- metadata +24 -68
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +0 -166
- data/test/dummy/log/test.log +0 -89382
- data/test/dummy/tmp/db.seed.test.txt.20720/countries_txt/countries.cfg +0 -6
- data/test/dummy/tmp/db.seed.test.txt.20720/countries_txt/countries.txt +0 -249
- data/test/dummy/tmp/db.seed.test.txt.20720/states_txt/states.cfg +0 -6
- data/test/dummy/tmp/db.seed.test.txt.20720/states_txt/states.txt +0 -0
- data/test/dummy/tmp/db.seed.test.use_line_number_as_id.5816/states.cfg +0 -1
- data/test/dummy/tmp/db.seed.test.use_line_number_as_id.5816/states.csv +0 -1
- data/test/dummy/tmp/db.seed.test.use_line_number_as_id.5907/states.cfg +0 -1
- data/test/dummy/tmp/db.seed.test.use_line_number_as_id.5907/states.csv +0 -51
- data/test/dummy/tmp/db.seed.test.use_line_number_as_id.7662/states.cfg +0 -1
- data/test/dummy/tmp/db.seed.test.use_line_number_as_id.7662/states.csv +0 -51
- data/test/dummy/tmp/db.seed.test.use_line_number_as_id.7690/states.cfg +0 -1
- data/test/dummy/tmp/db.seed.test.use_line_number_as_id.7690/states.csv +0 -51
- data/test/dummy/tmp/loader_test.log.76453 +0 -1
- data/test/dummy/tmp/loader_test.log.76516 +0 -2
- data/test/dummy/tmp/loader_test.log.76660 +0 -2
- data/test/dummy/tmp/loader_test.log.76759 +0 -2
- data/test/dummy/tmp/loader_test.log.76828 +0 -2
- data/test/dummy/tmp/loader_test.log.76884 +0 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 60e14d08982cc8ac3b51a66974c190b9a1b2f506016547067dc331270993cb76
|
4
|
+
data.tar.gz: 711fa93ffcd6cdb2960e37681f8db2edb39d1ccffba0ccb1e7695ee5b5bac693
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 72d53af4e87c879361cfb643b1a19be4a20c366b31df18f8e2e37fdea66b9472dad06d8e01ff9850ca2acb60f6432070e64c9b0be5c7a17a7a6c74ee4dbdf375
|
7
|
+
data.tar.gz: edaa2e0177818a63faa8d3ecb630cfed08303da8089be532d57baa8ae9d621d6a83948674e11cd1407f20fbe37b8d0c0821660c9c3b2a3484c93f8a84cf87d07
|
data/Rakefile
CHANGED
@@ -65,7 +65,7 @@ module DataSeeder
|
|
65
65
|
return false if depends && !self.class.processed?(depends)
|
66
66
|
DataSeeder.config.logger.info { "Loading #{path}" }
|
67
67
|
DataSeeder.config.log_indent do
|
68
|
-
File.open(path, 'r', config[:open_options]) do |io|
|
68
|
+
File.open(path, 'r', **(config[:open_options] || {})) do |io|
|
69
69
|
loader.process(io)
|
70
70
|
end
|
71
71
|
self.sha256 = new_sha256
|
data/lib/data_seeder/config.rb
CHANGED
data/lib/data_seeder/version.rb
CHANGED
data/test/dummy/db/schema.rb
CHANGED
@@ -1,4 +1,3 @@
|
|
1
|
-
# encoding: UTF-8
|
2
1
|
# This file is auto-generated from the current state of the database. Instead
|
3
2
|
# of editing this file, please use the migrations feature of Active Record to
|
4
3
|
# incrementally modify your database, and then regenerate this schema definition.
|
@@ -15,12 +14,11 @@ ActiveRecord::Schema.define(version: 20150313172719) do
|
|
15
14
|
|
16
15
|
create_table "app_errors", force: :cascade do |t|
|
17
16
|
t.integer "app_id"
|
18
|
-
t.string
|
19
|
-
t.string
|
17
|
+
t.string "code"
|
18
|
+
t.string "message"
|
19
|
+
t.index ["app_id"], name: "index_app_errors_on_app_id"
|
20
20
|
end
|
21
21
|
|
22
|
-
add_index "app_errors", ["app_id"], name: "index_app_errors_on_app_id"
|
23
|
-
|
24
22
|
create_table "apps", force: :cascade do |t|
|
25
23
|
t.string "name"
|
26
24
|
end
|
@@ -31,12 +29,11 @@ ActiveRecord::Schema.define(version: 20150313172719) do
|
|
31
29
|
end
|
32
30
|
|
33
31
|
create_table "data_seeder_seed_files", force: :cascade do |t|
|
34
|
-
t.string "path",
|
32
|
+
t.string "path", null: false
|
35
33
|
t.string "sha256", null: false
|
34
|
+
t.index ["path"], name: "index_data_seeder_seed_files_on_path", unique: true
|
36
35
|
end
|
37
36
|
|
38
|
-
add_index "data_seeder_seed_files", ["path"], name: "index_data_seeder_seed_files_on_path", unique: true
|
39
|
-
|
40
37
|
create_table "states", force: :cascade do |t|
|
41
38
|
t.string "code"
|
42
39
|
t.string "name"
|
data/test/test_helper.rb
CHANGED
@@ -1,14 +1,14 @@
|
|
1
|
-
ENV["RAILS_ENV"]
|
1
|
+
ENV["RAILS_ENV"] ||= "test"
|
2
|
+
require_relative "dummy/config/environment"
|
2
3
|
|
3
|
-
|
4
|
-
|
5
|
-
#ActiveRecord::Migrator.migrations_paths << File.expand_path('../../db/migrate', __FILE__)
|
4
|
+
# Needed for Dummy test app
|
5
|
+
require "minitest/autorun"
|
6
6
|
require "rails/test_help"
|
7
|
-
require "minitest/rails"
|
8
7
|
|
9
8
|
# Filter out Minitest backtrace while allowing backtrace from other libraries
|
10
9
|
# to be shown.
|
11
10
|
Minitest.backtrace_filter = Minitest::BacktraceFilter.new
|
11
|
+
Rails.backtrace_cleaner.remove_silencers!
|
12
12
|
ActiveRecord::Migration.maintain_test_schema!
|
13
|
-
|
13
|
+
|
14
14
|
Dir[File.expand_path('../support/**/*.rb', __FILE__)].each { |f| require f }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: data_seeder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brad Pardee
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -62,7 +62,6 @@ files:
|
|
62
62
|
- test/dummy/config/environments/test.rb
|
63
63
|
- test/dummy/config/initializers/backtrace_silencers.rb
|
64
64
|
- test/dummy/config/initializers/inflections.rb
|
65
|
-
- test/dummy/db/development.sqlite3
|
66
65
|
- test/dummy/db/migrate/20150313022149_create_countries.rb
|
67
66
|
- test/dummy/db/migrate/20150313022228_create_states.rb
|
68
67
|
- test/dummy/db/migrate/20150313172634_create_apps.rb
|
@@ -82,27 +81,6 @@ files:
|
|
82
81
|
- test/dummy/db/seed.test/states_yml/states.cfg
|
83
82
|
- test/dummy/db/seed.test/states_yml/states.yml
|
84
83
|
- test/dummy/db/seed.test/zulu_err/zulu.err
|
85
|
-
- test/dummy/db/test.sqlite3
|
86
|
-
- test/dummy/log/development.log
|
87
|
-
- test/dummy/log/test.log
|
88
|
-
- test/dummy/tmp/db.seed.test.txt.20720/countries_txt/countries.cfg
|
89
|
-
- test/dummy/tmp/db.seed.test.txt.20720/countries_txt/countries.txt
|
90
|
-
- test/dummy/tmp/db.seed.test.txt.20720/states_txt/states.cfg
|
91
|
-
- test/dummy/tmp/db.seed.test.txt.20720/states_txt/states.txt
|
92
|
-
- test/dummy/tmp/db.seed.test.use_line_number_as_id.5816/states.cfg
|
93
|
-
- test/dummy/tmp/db.seed.test.use_line_number_as_id.5816/states.csv
|
94
|
-
- test/dummy/tmp/db.seed.test.use_line_number_as_id.5907/states.cfg
|
95
|
-
- test/dummy/tmp/db.seed.test.use_line_number_as_id.5907/states.csv
|
96
|
-
- test/dummy/tmp/db.seed.test.use_line_number_as_id.7662/states.cfg
|
97
|
-
- test/dummy/tmp/db.seed.test.use_line_number_as_id.7662/states.csv
|
98
|
-
- test/dummy/tmp/db.seed.test.use_line_number_as_id.7690/states.cfg
|
99
|
-
- test/dummy/tmp/db.seed.test.use_line_number_as_id.7690/states.csv
|
100
|
-
- test/dummy/tmp/loader_test.log.76453
|
101
|
-
- test/dummy/tmp/loader_test.log.76516
|
102
|
-
- test/dummy/tmp/loader_test.log.76660
|
103
|
-
- test/dummy/tmp/loader_test.log.76759
|
104
|
-
- test/dummy/tmp/loader_test.log.76828
|
105
|
-
- test/dummy/tmp/loader_test.log.76884
|
106
84
|
- test/models/data_seeder/loader_test.rb
|
107
85
|
- test/models/data_seeder_test.rb
|
108
86
|
- test/support/seed_helper.rb
|
@@ -127,70 +105,48 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
127
105
|
version: '0'
|
128
106
|
requirements: []
|
129
107
|
rubyforge_project:
|
130
|
-
rubygems_version: 2.
|
108
|
+
rubygems_version: 2.7.6.2
|
131
109
|
signing_key:
|
132
110
|
specification_version: 4
|
133
111
|
summary: Seed your Rails database
|
134
112
|
test_files:
|
113
|
+
- test/dummy/app/models/state.rb
|
135
114
|
- test/dummy/app/models/app.rb
|
136
|
-
- test/dummy/app/models/app_error.rb
|
137
|
-
- test/dummy/app/models/app_error_data_seeder.rb
|
138
115
|
- test/dummy/app/models/country.rb
|
139
|
-
- test/dummy/app/models/
|
116
|
+
- test/dummy/app/models/app_error_data_seeder.rb
|
117
|
+
- test/dummy/app/models/app_error.rb
|
118
|
+
- test/dummy/bin/rake
|
140
119
|
- test/dummy/bin/bundle
|
141
120
|
- test/dummy/bin/rails
|
142
|
-
- test/dummy/bin/rake
|
143
|
-
- test/dummy/config/application.rb
|
144
|
-
- test/dummy/config/boot.rb
|
145
|
-
- test/dummy/config/database.yml
|
146
|
-
- test/dummy/config/environment.rb
|
147
121
|
- test/dummy/config/environments/development.rb
|
148
122
|
- test/dummy/config/environments/test.rb
|
123
|
+
- test/dummy/config/environment.rb
|
124
|
+
- test/dummy/config/application.rb
|
125
|
+
- test/dummy/config/database.yml
|
126
|
+
- test/dummy/config/boot.rb
|
149
127
|
- test/dummy/config/initializers/backtrace_silencers.rb
|
150
128
|
- test/dummy/config/initializers/inflections.rb
|
151
129
|
- test/dummy/config.ru
|
152
|
-
- test/dummy/
|
153
|
-
- test/dummy/db/migrate/20150313022149_create_countries.rb
|
154
|
-
- test/dummy/db/migrate/20150313022228_create_states.rb
|
155
|
-
- test/dummy/db/migrate/20150313172634_create_apps.rb
|
156
|
-
- test/dummy/db/migrate/20150313172719_create_app_errors.rb
|
130
|
+
- test/dummy/Rakefile
|
157
131
|
- test/dummy/db/schema.rb
|
158
|
-
- test/dummy/db/seed.test/
|
159
|
-
- test/dummy/db/seed.test/
|
160
|
-
- test/dummy/db/seed.test/countries_csv/countries.csv
|
161
|
-
- test/dummy/db/seed.test/countries_txt/countries.cfg
|
162
|
-
- test/dummy/db/seed.test/countries_txt/countries.txt
|
163
|
-
- test/dummy/db/seed.test/foo_err/foo.err
|
132
|
+
- test/dummy/db/seed.test/states_yml/states.cfg
|
133
|
+
- test/dummy/db/seed.test/states_yml/states.yml
|
164
134
|
- test/dummy/db/seed.test/states_csv/states.csv
|
135
|
+
- test/dummy/db/seed.test/foo_err/foo.err
|
165
136
|
- test/dummy/db/seed.test/states_json/states.cfg
|
166
137
|
- test/dummy/db/seed.test/states_json/states.json
|
138
|
+
- test/dummy/db/seed.test/bar_err/bar.err
|
139
|
+
- test/dummy/db/seed.test/countries_txt/countries.txt
|
140
|
+
- test/dummy/db/seed.test/countries_txt/countries.cfg
|
167
141
|
- test/dummy/db/seed.test/states_txt/states.cfg
|
168
142
|
- test/dummy/db/seed.test/states_txt/states.txt
|
169
|
-
- test/dummy/db/seed.test/states_yml/states.cfg
|
170
|
-
- test/dummy/db/seed.test/states_yml/states.yml
|
171
143
|
- test/dummy/db/seed.test/zulu_err/zulu.err
|
172
|
-
- test/dummy/db/test.
|
173
|
-
- test/dummy/
|
174
|
-
- test/dummy/
|
175
|
-
- test/dummy/
|
176
|
-
- test/dummy/
|
177
|
-
- test/dummy/
|
178
|
-
- test/dummy/tmp/db.seed.test.txt.20720/states_txt/states.cfg
|
179
|
-
- test/dummy/tmp/db.seed.test.txt.20720/states_txt/states.txt
|
180
|
-
- test/dummy/tmp/db.seed.test.use_line_number_as_id.5816/states.cfg
|
181
|
-
- test/dummy/tmp/db.seed.test.use_line_number_as_id.5816/states.csv
|
182
|
-
- test/dummy/tmp/db.seed.test.use_line_number_as_id.5907/states.cfg
|
183
|
-
- test/dummy/tmp/db.seed.test.use_line_number_as_id.5907/states.csv
|
184
|
-
- test/dummy/tmp/db.seed.test.use_line_number_as_id.7662/states.cfg
|
185
|
-
- test/dummy/tmp/db.seed.test.use_line_number_as_id.7662/states.csv
|
186
|
-
- test/dummy/tmp/db.seed.test.use_line_number_as_id.7690/states.cfg
|
187
|
-
- test/dummy/tmp/db.seed.test.use_line_number_as_id.7690/states.csv
|
188
|
-
- test/dummy/tmp/loader_test.log.76453
|
189
|
-
- test/dummy/tmp/loader_test.log.76516
|
190
|
-
- test/dummy/tmp/loader_test.log.76660
|
191
|
-
- test/dummy/tmp/loader_test.log.76759
|
192
|
-
- test/dummy/tmp/loader_test.log.76828
|
193
|
-
- test/dummy/tmp/loader_test.log.76884
|
144
|
+
- test/dummy/db/seed.test/countries_csv/countries.csv
|
145
|
+
- test/dummy/db/seed.test/countries_csv/countries.cfg
|
146
|
+
- test/dummy/db/migrate/20150313022228_create_states.rb
|
147
|
+
- test/dummy/db/migrate/20150313172634_create_apps.rb
|
148
|
+
- test/dummy/db/migrate/20150313172719_create_app_errors.rb
|
149
|
+
- test/dummy/db/migrate/20150313022149_create_countries.rb
|
194
150
|
- test/models/data_seeder/loader_test.rb
|
195
151
|
- test/models/data_seeder_test.rb
|
196
152
|
- test/support/seed_helper.rb
|
Binary file
|
data/test/dummy/db/test.sqlite3
DELETED
Binary file
|
@@ -1,166 +0,0 @@
|
|
1
|
-
[1m[36m (1.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
2
|
-
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
3
|
-
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
4
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
5
|
-
Migrating to CreateCountries (20150313022149)
|
6
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7
|
-
[1m[35m (0.3ms)[0m CREATE TABLE "countries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
8
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150313022149"]]
|
9
|
-
[1m[35m (0.8ms)[0m commit transaction
|
10
|
-
Migrating to CreateStates (20150313022228)
|
11
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
12
|
-
[1m[35m (0.3ms)[0m CREATE TABLE "states" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
13
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150313022228"]]
|
14
|
-
[1m[35m (0.7ms)[0m commit transaction
|
15
|
-
Migrating to CreateApps (20150313172634)
|
16
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
17
|
-
[1m[35m (0.3ms)[0m CREATE TABLE "apps" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
18
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150313172634"]]
|
19
|
-
[1m[35m (0.7ms)[0m commit transaction
|
20
|
-
Migrating to CreateErrors (20150313172719)
|
21
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
22
|
-
[1m[35m (0.3ms)[0m CREATE TABLE "errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "app_id" integer, "code" varchar, "message" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
23
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_errors_on_app_id" ON "errors" ("app_id")[0m
|
24
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150313172719"]]
|
25
|
-
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
26
|
-
Migrating to CreateDataSeederSeedFiles (20150313173510)
|
27
|
-
[1m[35m (0.1ms)[0m begin transaction
|
28
|
-
[1m[36m (0.4ms)[0m [1mCREATE TABLE "data_seeder_seed_files" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "path" varchar, "sha256" varchar) [0m
|
29
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150313173510"]]
|
30
|
-
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
31
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
32
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
33
|
-
FROM sqlite_master
|
34
|
-
WHERE name='index_errors_on_app_id' AND type='index'
|
35
|
-
UNION ALL
|
36
|
-
SELECT sql
|
37
|
-
FROM sqlite_temp_master
|
38
|
-
WHERE name='index_errors_on_app_id' AND type='index'
|
39
|
-
[0m
|
40
|
-
[1m[36m (1.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
41
|
-
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
42
|
-
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
43
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
44
|
-
Migrating to CreateDataSeederSeedFiles (20150306195118)
|
45
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46
|
-
[1m[35m (0.4ms)[0m CREATE TABLE "data_seeder_seed_files" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "path" varchar NOT NULL, "sha256" varchar NOT NULL)
|
47
|
-
[1m[36m (0.3ms)[0m [1mCREATE UNIQUE INDEX "index_data_seeder_seed_files_on_path" ON "data_seeder_seed_files" ("path")[0m
|
48
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150306195118"]]
|
49
|
-
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
50
|
-
Migrating to CreateCountries (20150313022149)
|
51
|
-
[1m[35m (0.1ms)[0m begin transaction
|
52
|
-
[1m[36m (0.3ms)[0m [1mCREATE TABLE "countries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar) [0m
|
53
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150313022149"]]
|
54
|
-
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
55
|
-
Migrating to CreateStates (20150313022228)
|
56
|
-
[1m[35m (0.0ms)[0m begin transaction
|
57
|
-
[1m[36m (0.2ms)[0m [1mCREATE TABLE "states" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar) [0m
|
58
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150313022228"]]
|
59
|
-
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
60
|
-
Migrating to CreateApps (20150313172634)
|
61
|
-
[1m[35m (0.0ms)[0m begin transaction
|
62
|
-
[1m[36m (0.3ms)[0m [1mCREATE TABLE "apps" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar) [0m
|
63
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150313172634"]]
|
64
|
-
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
65
|
-
Migrating to CreateAppErrors (20150313172719)
|
66
|
-
[1m[35m (0.0ms)[0m begin transaction
|
67
|
-
[1m[36m (0.4ms)[0m [1mCREATE TABLE "app_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "app_id" integer, "code" varchar, "message" varchar) [0m
|
68
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "index_app_errors_on_app_id" ON "app_errors" ("app_id")
|
69
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150313172719"]]
|
70
|
-
[1m[35m (0.9ms)[0m commit transaction
|
71
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
72
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
73
|
-
FROM sqlite_master
|
74
|
-
WHERE name='index_app_errors_on_app_id' AND type='index'
|
75
|
-
UNION ALL
|
76
|
-
SELECT sql
|
77
|
-
FROM sqlite_temp_master
|
78
|
-
WHERE name='index_app_errors_on_app_id' AND type='index'
|
79
|
-
|
80
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
81
|
-
FROM sqlite_master
|
82
|
-
WHERE name='index_data_seeder_seed_files_on_path' AND type='index'
|
83
|
-
UNION ALL
|
84
|
-
SELECT sql
|
85
|
-
FROM sqlite_temp_master
|
86
|
-
WHERE name='index_data_seeder_seed_files_on_path' AND type='index'
|
87
|
-
[0m
|
88
|
-
[1m[36m (1.9ms)[0m [1mCREATE TABLE "app_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "app_id" integer, "code" varchar, "message" varchar) [0m
|
89
|
-
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
90
|
-
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_app_errors_on_app_id" ON "app_errors" ("app_id")[0m
|
91
|
-
[1m[35m (0.9ms)[0m CREATE TABLE "apps" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar)
|
92
|
-
[1m[36m (0.8ms)[0m [1mCREATE TABLE "countries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar) [0m
|
93
|
-
[1m[35m (0.8ms)[0m CREATE TABLE "data_seeder_seed_files" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "path" varchar NOT NULL, "sha256" varchar NOT NULL)
|
94
|
-
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "index_data_seeder_seed_files_on_path" ON "data_seeder_seed_files" ("path")[0m
|
95
|
-
[1m[35m (0.9ms)[0m CREATE TABLE "states" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar)
|
96
|
-
[1m[36m (0.8ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
97
|
-
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
98
|
-
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
99
|
-
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150313172719')
|
100
|
-
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150313022149')[0m
|
101
|
-
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150313022228')
|
102
|
-
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150313172634')[0m
|
103
|
-
[1m[36m (2.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
104
|
-
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
105
|
-
[1m[36m (1.2ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
106
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
107
|
-
Migrating to CreateDataSeederSeedFiles (20150306195118)
|
108
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
109
|
-
[1m[35m (0.3ms)[0m CREATE TABLE "data_seeder_seed_files" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "path" varchar NOT NULL, "sha256" varchar NOT NULL)
|
110
|
-
[1m[36m (0.4ms)[0m [1mCREATE UNIQUE INDEX "index_data_seeder_seed_files_on_path" ON "data_seeder_seed_files" ("path")[0m
|
111
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150306195118"]]
|
112
|
-
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
113
|
-
Migrating to CreateCountries (20150313022149)
|
114
|
-
[1m[35m (0.1ms)[0m begin transaction
|
115
|
-
[1m[36m (0.3ms)[0m [1mCREATE TABLE "countries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar) [0m
|
116
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150313022149"]]
|
117
|
-
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
118
|
-
Migrating to CreateStates (20150313022228)
|
119
|
-
[1m[35m (0.1ms)[0m begin transaction
|
120
|
-
[1m[36m (0.3ms)[0m [1mCREATE TABLE "states" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar) [0m
|
121
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150313022228"]]
|
122
|
-
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
123
|
-
Migrating to CreateApps (20150313172634)
|
124
|
-
[1m[35m (0.0ms)[0m begin transaction
|
125
|
-
[1m[36m (0.3ms)[0m [1mCREATE TABLE "apps" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar) [0m
|
126
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150313172634"]]
|
127
|
-
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
128
|
-
Migrating to CreateAppErrors (20150313172719)
|
129
|
-
[1m[35m (0.0ms)[0m begin transaction
|
130
|
-
[1m[36m (0.2ms)[0m [1mCREATE TABLE "app_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "app_id" integer, "code" varchar, "message" varchar) [0m
|
131
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "index_app_errors_on_app_id" ON "app_errors" ("app_id")
|
132
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150313172719"]]
|
133
|
-
[1m[35m (0.7ms)[0m commit transaction
|
134
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
135
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
136
|
-
FROM sqlite_master
|
137
|
-
WHERE name='index_app_errors_on_app_id' AND type='index'
|
138
|
-
UNION ALL
|
139
|
-
SELECT sql
|
140
|
-
FROM sqlite_temp_master
|
141
|
-
WHERE name='index_app_errors_on_app_id' AND type='index'
|
142
|
-
|
143
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
144
|
-
FROM sqlite_master
|
145
|
-
WHERE name='index_data_seeder_seed_files_on_path' AND type='index'
|
146
|
-
UNION ALL
|
147
|
-
SELECT sql
|
148
|
-
FROM sqlite_temp_master
|
149
|
-
WHERE name='index_data_seeder_seed_files_on_path' AND type='index'
|
150
|
-
[0m
|
151
|
-
[1m[36m (2.0ms)[0m [1mCREATE TABLE "app_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "app_id" integer, "code" varchar, "message" varchar) [0m
|
152
|
-
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
153
|
-
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_app_errors_on_app_id" ON "app_errors" ("app_id")[0m
|
154
|
-
[1m[35m (0.8ms)[0m CREATE TABLE "apps" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar)
|
155
|
-
[1m[36m (0.9ms)[0m [1mCREATE TABLE "countries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar) [0m
|
156
|
-
[1m[35m (0.8ms)[0m CREATE TABLE "data_seeder_seed_files" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "path" varchar NOT NULL, "sha256" varchar NOT NULL)
|
157
|
-
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "index_data_seeder_seed_files_on_path" ON "data_seeder_seed_files" ("path")[0m
|
158
|
-
[1m[35m (0.8ms)[0m CREATE TABLE "states" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar)
|
159
|
-
[1m[36m (0.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
160
|
-
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
161
|
-
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
162
|
-
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150313172719')
|
163
|
-
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150313022149')[0m
|
164
|
-
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150313022228')
|
165
|
-
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150313172634')[0m
|
166
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|