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.
Files changed (36) hide show
  1. checksums.yaml +5 -5
  2. data/Rakefile +0 -1
  3. data/app/models/data_seeder/seed_file.rb +1 -1
  4. data/db/migrate/20150306195118_create_data_seeder_seed_files.rb +1 -1
  5. data/lib/data_seeder/config.rb +3 -1
  6. data/lib/data_seeder/version.rb +1 -1
  7. data/test/dummy/config/environments/test.rb +3 -0
  8. data/test/dummy/db/migrate/20150313022149_create_countries.rb +1 -1
  9. data/test/dummy/db/migrate/20150313022228_create_states.rb +1 -1
  10. data/test/dummy/db/migrate/20150313172634_create_apps.rb +1 -1
  11. data/test/dummy/db/migrate/20150313172719_create_app_errors.rb +1 -1
  12. data/test/dummy/db/schema.rb +5 -8
  13. data/test/test_helper.rb +6 -6
  14. metadata +24 -68
  15. data/test/dummy/db/development.sqlite3 +0 -0
  16. data/test/dummy/db/test.sqlite3 +0 -0
  17. data/test/dummy/log/development.log +0 -166
  18. data/test/dummy/log/test.log +0 -89382
  19. data/test/dummy/tmp/db.seed.test.txt.20720/countries_txt/countries.cfg +0 -6
  20. data/test/dummy/tmp/db.seed.test.txt.20720/countries_txt/countries.txt +0 -249
  21. data/test/dummy/tmp/db.seed.test.txt.20720/states_txt/states.cfg +0 -6
  22. data/test/dummy/tmp/db.seed.test.txt.20720/states_txt/states.txt +0 -0
  23. data/test/dummy/tmp/db.seed.test.use_line_number_as_id.5816/states.cfg +0 -1
  24. data/test/dummy/tmp/db.seed.test.use_line_number_as_id.5816/states.csv +0 -1
  25. data/test/dummy/tmp/db.seed.test.use_line_number_as_id.5907/states.cfg +0 -1
  26. data/test/dummy/tmp/db.seed.test.use_line_number_as_id.5907/states.csv +0 -51
  27. data/test/dummy/tmp/db.seed.test.use_line_number_as_id.7662/states.cfg +0 -1
  28. data/test/dummy/tmp/db.seed.test.use_line_number_as_id.7662/states.csv +0 -51
  29. data/test/dummy/tmp/db.seed.test.use_line_number_as_id.7690/states.cfg +0 -1
  30. data/test/dummy/tmp/db.seed.test.use_line_number_as_id.7690/states.csv +0 -51
  31. data/test/dummy/tmp/loader_test.log.76453 +0 -1
  32. data/test/dummy/tmp/loader_test.log.76516 +0 -2
  33. data/test/dummy/tmp/loader_test.log.76660 +0 -2
  34. data/test/dummy/tmp/loader_test.log.76759 +0 -2
  35. data/test/dummy/tmp/loader_test.log.76828 +0 -2
  36. data/test/dummy/tmp/loader_test.log.76884 +0 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: f8bac85bc04a59168bf20a998561d1e8bdf5eb8c
4
- data.tar.gz: a2235ff3052dacc378df1a6427c3050a83860055
2
+ SHA256:
3
+ metadata.gz: 60e14d08982cc8ac3b51a66974c190b9a1b2f506016547067dc331270993cb76
4
+ data.tar.gz: 711fa93ffcd6cdb2960e37681f8db2edb39d1ccffba0ccb1e7695ee5b5bac693
5
5
  SHA512:
6
- metadata.gz: 8f1b8d443da2474ece690d430d23f84053a3e7b1629b4d7c1ac4af99755c6f817c68406d44bf7ff52910c71dd6d27c23a0c398b7c6644680461e22308ec627c1
7
- data.tar.gz: 99a70c744ac8e92cca7e8467a68eda2b0b248766c6aae7ef963a33ad3786b926af7ae2b2a73a24e7366d0de87e89c2027553d5868d70cfb01f930fc6771016c3
6
+ metadata.gz: 72d53af4e87c879361cfb643b1a19be4a20c366b31df18f8e2e37fdea66b9472dad06d8e01ff9850ca2acb60f6432070e64c9b0be5c7a17a7a6c74ee4dbdf375
7
+ data.tar.gz: edaa2e0177818a63faa8d3ecb630cfed08303da8089be532d57baa8ae9d621d6a83948674e11cd1407f20fbe37b8d0c0821660c9c3b2a3484c93f8a84cf87d07
data/Rakefile CHANGED
@@ -30,5 +30,4 @@ Rake::TestTask.new(:test) do |t|
30
30
  t.verbose = false
31
31
  end
32
32
 
33
-
34
33
  task default: :test
@@ -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
@@ -1,4 +1,4 @@
1
- class CreateDataSeederSeedFiles < ActiveRecord::Migration
1
+ class CreateDataSeederSeedFiles < ActiveRecord::Migration[4.2]
2
2
  def change
3
3
  create_table :data_seeder_seed_files do |t|
4
4
  t.string :path, null: false
@@ -1,6 +1,8 @@
1
1
  module DataSeeder
2
2
  class Config
3
- attr_accessor :seed_dirs, :logger, :loaders, :verbose
3
+ attr_accessor :seed_dirs, :verbose
4
+ attr_reader :loaders
5
+ attr_writer :logger
4
6
 
5
7
  def initialize
6
8
  @seed_dirs = ['db/seed'].freeze
@@ -1,3 +1,3 @@
1
1
  module DataSeeder
2
- VERSION = '1.0.9'
2
+ VERSION = '1.1.0'
3
3
  end
@@ -39,4 +39,7 @@ Rails.application.configure do
39
39
 
40
40
  config.active_support.test_order = :random
41
41
 
42
+ if Rails.version.to_f >= 5.2 && Rails.version.to_i < 6
43
+ config.active_record.sqlite3.represent_boolean_as_integer = true
44
+ end
42
45
  end
@@ -1,4 +1,4 @@
1
- class CreateCountries < ActiveRecord::Migration
1
+ class CreateCountries < ActiveRecord::Migration[4.2]
2
2
  def change
3
3
  create_table :countries do |t|
4
4
  t.string :code
@@ -1,4 +1,4 @@
1
- class CreateStates < ActiveRecord::Migration
1
+ class CreateStates < ActiveRecord::Migration[4.2]
2
2
  def change
3
3
  create_table :states do |t|
4
4
  t.string :code
@@ -1,4 +1,4 @@
1
- class CreateApps < ActiveRecord::Migration
1
+ class CreateApps < ActiveRecord::Migration[4.2]
2
2
  def change
3
3
  create_table :apps do |t|
4
4
  t.string :name
@@ -1,4 +1,4 @@
1
- class CreateAppErrors < ActiveRecord::Migration
1
+ class CreateAppErrors < ActiveRecord::Migration[4.2]
2
2
  def change
3
3
  create_table :app_errors do |t|
4
4
  t.references :app, index: true
@@ -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 "code"
19
- t.string "message"
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", null: false
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"
@@ -1,14 +1,14 @@
1
- ENV["RAILS_ENV"] = "test"
1
+ ENV["RAILS_ENV"] ||= "test"
2
+ require_relative "dummy/config/environment"
2
3
 
3
- require File.expand_path("../../test/dummy/config/environment.rb", __FILE__)
4
- #ActiveRecord::Migrator.migrations_paths = [File.expand_path("../../test/dummy/db/migrate", __FILE__)]
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
- support_dir =
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.9
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: 2017-02-16 00:00:00.000000000 Z
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.5.1
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/state.rb
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/db/development.sqlite3
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/bar_err/bar.err
159
- - test/dummy/db/seed.test/countries_csv/countries.cfg
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.sqlite3
173
- - test/dummy/log/development.log
174
- - test/dummy/log/test.log
175
- - test/dummy/Rakefile
176
- - test/dummy/tmp/db.seed.test.txt.20720/countries_txt/countries.cfg
177
- - test/dummy/tmp/db.seed.test.txt.20720/countries_txt/countries.txt
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
@@ -1,166 +0,0 @@
1
-  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
2
-  (0.1ms) select sqlite_version(*)
3
-  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
4
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
5
- Migrating to CreateCountries (20150313022149)
6
-  (0.0ms) begin transaction
7
-  (0.3ms) 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
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150313022149"]]
9
-  (0.8ms) commit transaction
10
- Migrating to CreateStates (20150313022228)
11
-  (0.0ms) begin transaction
12
-  (0.3ms) 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
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150313022228"]]
14
-  (0.7ms) commit transaction
15
- Migrating to CreateApps (20150313172634)
16
-  (0.0ms) begin transaction
17
-  (0.3ms) CREATE TABLE "apps" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
18
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150313172634"]]
19
-  (0.7ms) commit transaction
20
- Migrating to CreateErrors (20150313172719)
21
-  (0.0ms) begin transaction
22
-  (0.3ms) 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
-  (0.1ms) CREATE INDEX "index_errors_on_app_id" ON "errors" ("app_id")
24
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150313172719"]]
25
-  (0.7ms) commit transaction
26
- Migrating to CreateDataSeederSeedFiles (20150313173510)
27
-  (0.1ms) begin transaction
28
-  (0.4ms) CREATE TABLE "data_seeder_seed_files" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "path" varchar, "sha256" varchar) 
29
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150313173510"]]
30
-  (0.7ms) commit transaction
31
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
32
-  (0.1ms)  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
- 
40
-  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
41
-  (0.1ms) select sqlite_version(*)
42
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
43
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
44
- Migrating to CreateDataSeederSeedFiles (20150306195118)
45
-  (0.1ms) begin transaction
46
-  (0.4ms) CREATE TABLE "data_seeder_seed_files" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "path" varchar NOT NULL, "sha256" varchar NOT NULL)
47
-  (0.3ms) CREATE UNIQUE INDEX "index_data_seeder_seed_files_on_path" ON "data_seeder_seed_files" ("path")
48
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150306195118"]]
49
-  (1.0ms) commit transaction
50
- Migrating to CreateCountries (20150313022149)
51
-  (0.1ms) begin transaction
52
-  (0.3ms) CREATE TABLE "countries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar) 
53
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150313022149"]]
54
-  (0.8ms) commit transaction
55
- Migrating to CreateStates (20150313022228)
56
-  (0.0ms) begin transaction
57
-  (0.2ms) CREATE TABLE "states" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar) 
58
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150313022228"]]
59
-  (0.5ms) commit transaction
60
- Migrating to CreateApps (20150313172634)
61
-  (0.0ms) begin transaction
62
-  (0.3ms) CREATE TABLE "apps" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar) 
63
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150313172634"]]
64
-  (0.7ms) commit transaction
65
- Migrating to CreateAppErrors (20150313172719)
66
-  (0.0ms) begin transaction
67
-  (0.4ms) CREATE TABLE "app_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "app_id" integer, "code" varchar, "message" varchar) 
68
-  (0.1ms) CREATE INDEX "index_app_errors_on_app_id" ON "app_errors" ("app_id")
69
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150313172719"]]
70
-  (0.9ms) commit transaction
71
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
72
-  (0.1ms) 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
-  (0.1ms)  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
- 
88
-  (1.9ms) CREATE TABLE "app_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "app_id" integer, "code" varchar, "message" varchar) 
89
-  (0.1ms) select sqlite_version(*)
90
-  (1.0ms) CREATE INDEX "index_app_errors_on_app_id" ON "app_errors" ("app_id")
91
-  (0.9ms) CREATE TABLE "apps" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar)
92
-  (0.8ms) CREATE TABLE "countries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar) 
93
-  (0.8ms) CREATE TABLE "data_seeder_seed_files" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "path" varchar NOT NULL, "sha256" varchar NOT NULL)
94
-  (0.8ms) CREATE UNIQUE INDEX "index_data_seeder_seed_files_on_path" ON "data_seeder_seed_files" ("path")
95
-  (0.9ms) CREATE TABLE "states" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar)
96
-  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
97
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
98
-  (0.1ms) SELECT version FROM "schema_migrations"
99
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150313172719')
100
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150313022149')
101
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150313022228')
102
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150313172634')
103
-  (2.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
104
-  (0.1ms) select sqlite_version(*)
105
-  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
106
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
107
- Migrating to CreateDataSeederSeedFiles (20150306195118)
108
-  (0.1ms) begin transaction
109
-  (0.3ms) CREATE TABLE "data_seeder_seed_files" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "path" varchar NOT NULL, "sha256" varchar NOT NULL)
110
-  (0.4ms) CREATE UNIQUE INDEX "index_data_seeder_seed_files_on_path" ON "data_seeder_seed_files" ("path")
111
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150306195118"]]
112
-  (1.1ms) commit transaction
113
- Migrating to CreateCountries (20150313022149)
114
-  (0.1ms) begin transaction
115
-  (0.3ms) CREATE TABLE "countries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar) 
116
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150313022149"]]
117
-  (0.8ms) commit transaction
118
- Migrating to CreateStates (20150313022228)
119
-  (0.1ms) begin transaction
120
-  (0.3ms) CREATE TABLE "states" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar) 
121
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150313022228"]]
122
-  (0.8ms) commit transaction
123
- Migrating to CreateApps (20150313172634)
124
-  (0.0ms) begin transaction
125
-  (0.3ms) CREATE TABLE "apps" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar) 
126
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150313172634"]]
127
-  (0.7ms) commit transaction
128
- Migrating to CreateAppErrors (20150313172719)
129
-  (0.0ms) begin transaction
130
-  (0.2ms) CREATE TABLE "app_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "app_id" integer, "code" varchar, "message" varchar) 
131
-  (0.1ms) CREATE INDEX "index_app_errors_on_app_id" ON "app_errors" ("app_id")
132
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150313172719"]]
133
-  (0.7ms) commit transaction
134
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
135
-  (0.1ms) 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
-  (0.1ms)  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
- 
151
-  (2.0ms) CREATE TABLE "app_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "app_id" integer, "code" varchar, "message" varchar) 
152
-  (0.1ms) select sqlite_version(*)
153
-  (1.0ms) CREATE INDEX "index_app_errors_on_app_id" ON "app_errors" ("app_id")
154
-  (0.8ms) CREATE TABLE "apps" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar)
155
-  (0.9ms) CREATE TABLE "countries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar) 
156
-  (0.8ms) CREATE TABLE "data_seeder_seed_files" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "path" varchar NOT NULL, "sha256" varchar NOT NULL)
157
-  (0.8ms) CREATE UNIQUE INDEX "index_data_seeder_seed_files_on_path" ON "data_seeder_seed_files" ("path")
158
-  (0.8ms) CREATE TABLE "states" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "name" varchar)
159
-  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
160
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
161
-  (0.1ms) SELECT version FROM "schema_migrations"
162
-  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150313172719')
163
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150313022149')
164
-  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150313022228')
165
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150313172634')
166
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"