mint_reporter 0.0.7

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.
Files changed (92) hide show
  1. checksums.yaml +7 -0
  2. data/Rakefile +34 -0
  3. data/app/controllers/admin/reports_controller.rb +3 -0
  4. data/app/models/report.rb +86 -0
  5. data/app/views/admin/reports/_form.html.erb +40 -0
  6. data/app/views/admin/reports/edit.html.erb +14 -0
  7. data/app/views/admin/reports/index.html.erb +96 -0
  8. data/app/views/admin/reports/new.html.erb +13 -0
  9. data/app/views/admin/reports/show.html.erb +51 -0
  10. data/app/workers/csv_generation_worker.rb +8 -0
  11. data/config/initializers/mime_types.rb +1 -0
  12. data/config/routes.rb +5 -0
  13. data/db/migrate/20140703143528_create_reports.rb +16 -0
  14. data/lib/generators/mint_report/USAGE +8 -0
  15. data/lib/generators/mint_report/mint_report_generator.rb +7 -0
  16. data/lib/generators/mint_report/templates/mint_report.rb +9 -0
  17. data/lib/mint_reporter.rb +17 -0
  18. data/lib/mint_reporter/engine.rb +4 -0
  19. data/lib/mint_reporter/version.rb +3 -0
  20. data/lib/tasks/mint_reporter_tasks.rake +4 -0
  21. data/test/dummy/README.rdoc +28 -0
  22. data/test/dummy/Rakefile +6 -0
  23. data/test/dummy/app/assets/javascripts/admin.js +31 -0
  24. data/test/dummy/app/assets/javascripts/application.js +13 -0
  25. data/test/dummy/app/assets/stylesheets/admin.scss +11 -0
  26. data/test/dummy/app/assets/stylesheets/application.css +13 -0
  27. data/test/dummy/app/controllers/admin/admin_controller.rb +3 -0
  28. data/test/dummy/app/controllers/application_controller.rb +7 -0
  29. data/test/dummy/app/helpers/application_helper.rb +8 -0
  30. data/test/dummy/app/models/user.rb +2 -0
  31. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  32. data/test/dummy/bin/bundle +3 -0
  33. data/test/dummy/bin/rails +4 -0
  34. data/test/dummy/bin/rake +4 -0
  35. data/test/dummy/config.ru +4 -0
  36. data/test/dummy/config/application.rb +23 -0
  37. data/test/dummy/config/boot.rb +7 -0
  38. data/test/dummy/config/database.yml +25 -0
  39. data/test/dummy/config/environment.rb +6 -0
  40. data/test/dummy/config/environments/development.rb +29 -0
  41. data/test/dummy/config/environments/production.rb +80 -0
  42. data/test/dummy/config/environments/test.rb +36 -0
  43. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  44. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  45. data/test/dummy/config/initializers/inflections.rb +16 -0
  46. data/test/dummy/config/initializers/mime_types.rb +5 -0
  47. data/test/dummy/config/initializers/secret_token.rb +12 -0
  48. data/test/dummy/config/initializers/session_store.rb +3 -0
  49. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  50. data/test/dummy/config/locales/en.yml +23 -0
  51. data/test/dummy/config/routes.rb +59 -0
  52. data/test/dummy/db/development.sqlite3 +0 -0
  53. data/test/dummy/db/migrate/20140716113109_create_users.rb +9 -0
  54. data/test/dummy/db/migrate/20140723162342_create_reports.mint_reporter_engine.rb +17 -0
  55. data/test/dummy/db/production.sqlite3 +0 -0
  56. data/test/dummy/db/schema.rb +35 -0
  57. data/test/dummy/db/test.sqlite3 +0 -0
  58. data/test/dummy/log/development.log +293 -0
  59. data/test/dummy/log/test.log +17259 -0
  60. data/test/dummy/public/404.html +58 -0
  61. data/test/dummy/public/422.html +58 -0
  62. data/test/dummy/public/500.html +57 -0
  63. data/test/dummy/public/favicon.ico +0 -0
  64. data/test/dummy/public/uploads/test/basic_reports/000/000/001/original.csv +3 -0
  65. data/test/dummy/test/factories/foos.rb +6 -0
  66. data/test/dummy/tmp/cache/assets/test/sass/051af4935d2ac60904721027c383dd9ffc9f7871/_admin-base.scssc +0 -0
  67. data/test/dummy/tmp/cache/assets/test/sass/7f5568ada10d673b8a1d203ce8b8c1dba7fbaf83/admin.scssc +0 -0
  68. data/test/dummy/tmp/cache/assets/test/sprockets/1935933f8fbe88236ef893016c1836bc +0 -0
  69. data/test/dummy/tmp/cache/assets/test/sprockets/27184889e78dc5a556f3c7567afbef63 +0 -0
  70. data/test/dummy/tmp/cache/assets/test/sprockets/37c7a190e68a7e26cf450e38ec190534 +0 -0
  71. data/test/dummy/tmp/cache/assets/test/sprockets/468917569b5c6af93b42fda1a68e426c +0 -0
  72. data/test/dummy/tmp/cache/assets/test/sprockets/638d4b299480bfa854367ae027ff66d0 +0 -0
  73. data/test/dummy/tmp/cache/assets/test/sprockets/6609ee9da4eaea9b8d8137fbcfce6fdd +0 -0
  74. data/test/dummy/tmp/cache/assets/test/sprockets/9d087e6fe6cf75adc1ebe34710cb71bc +0 -0
  75. data/test/dummy/tmp/cache/assets/test/sprockets/ac64f2f5da10d3fe34beec68afda56d4 +0 -0
  76. data/test/dummy/tmp/cache/assets/test/sprockets/b53da076920d68305d6582c3af250465 +0 -0
  77. data/test/dummy/tmp/cache/assets/test/sprockets/d875d477ab20a2e08531d775a5fea6f2 +0 -0
  78. data/test/dummy/tmp/cache/assets/test/sprockets/e017dd8f0cd2f98c7864918d2ba783b3 +0 -0
  79. data/test/dummy/tmp/cache/assets/test/sprockets/f8160f91b680b2f94df78cefd5abc06e +0 -0
  80. data/test/factories/reports.rb +8 -0
  81. data/test/factories/users.rb +5 -0
  82. data/test/fixtures/reports.yml +15 -0
  83. data/test/functional/reports_controller_test.rb +34 -0
  84. data/test/generators/mint_report_generator_test.rb +14 -0
  85. data/test/integration/configuration_test.rb +29 -0
  86. data/test/integration/create_report_test.rb +20 -0
  87. data/test/integration/mint_report_generator.rb +10 -0
  88. data/test/mint_reporter_test.rb +7 -0
  89. data/test/test_helper.rb +45 -0
  90. data/test/tmp/app/models/reports/foo_report.rb +9 -0
  91. data/test/unit/report_test.rb +69 -0
  92. metadata +330 -0
@@ -0,0 +1,5 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new mime types for use in respond_to blocks:
4
+ # Mime::Type.register "text/richtext", :rtf
5
+ # Mime::Type.register_alias "text/html", :iphone
@@ -0,0 +1,12 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Your secret key is used for verifying the integrity of signed cookies.
4
+ # If you change this key, all old signed cookies will become invalid!
5
+
6
+ # Make sure the secret is at least 30 characters and all random,
7
+ # no regular words or you'll be exposed to dictionary attacks.
8
+ # You can use `rake secret` to generate a secure secret key.
9
+
10
+ # Make sure your secret_key_base is kept private
11
+ # if you're sharing your code publicly.
12
+ Dummy::Application.config.secret_key_base = 'b56c6e55ad4c32dbdf494b194abbcc2f5ba3d943bb83ba721f5272b5c5f9e6f7b5206eb4a2a75df8c2a4e118629eafa3a16933adbc53c41da0ded3d320eb9282'
@@ -0,0 +1,3 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ Dummy::Application.config.session_store :cookie_store, key: '_dummy_session'
@@ -0,0 +1,14 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # This file contains settings for ActionController::ParamsWrapper which
4
+ # is enabled by default.
5
+
6
+ # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
7
+ ActiveSupport.on_load(:action_controller) do
8
+ wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
9
+ end
10
+
11
+ # To enable root element in JSON for ActiveRecord objects.
12
+ # ActiveSupport.on_load(:active_record) do
13
+ # self.include_root_in_json = true
14
+ # end
@@ -0,0 +1,23 @@
1
+ # Files in the config/locales directory are used for internationalization
2
+ # and are automatically loaded by Rails. If you want to use locales other
3
+ # than English, add the necessary files in this directory.
4
+ #
5
+ # To use the locales, use `I18n.t`:
6
+ #
7
+ # I18n.t 'hello'
8
+ #
9
+ # In views, this is aliased to just `t`:
10
+ #
11
+ # <%= t('hello') %>
12
+ #
13
+ # To use a different locale, set it with `I18n.locale`:
14
+ #
15
+ # I18n.locale = :es
16
+ #
17
+ # This would use the information in config/locales/es.yml.
18
+ #
19
+ # To learn more, please read the Rails Internationalization guide
20
+ # available at http://guides.rubyonrails.org/i18n.html.
21
+
22
+ en:
23
+ hello: "Hello world"
@@ -0,0 +1,59 @@
1
+ Dummy::Application.routes.draw do
2
+ get '/admin' => 'mint_admin/dashboard#show'
3
+ namespace :admin do
4
+ end
5
+ # The priority is based upon order of creation: first created -> highest priority.
6
+ # See how all your routes lay out with "rake routes".
7
+
8
+ # You can have the root of your site routed with "root"
9
+ # root 'welcome#index'
10
+
11
+ # Example of regular route:
12
+ # get 'products/:id' => 'catalog#view'
13
+
14
+ # Example of named route that can be invoked with purchase_url(id: product.id)
15
+ # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
16
+
17
+ # Example resource route (maps HTTP verbs to controller actions automatically):
18
+ # resources :products
19
+
20
+ # Example resource route with options:
21
+ # resources :products do
22
+ # member do
23
+ # get 'short'
24
+ # post 'toggle'
25
+ # end
26
+ #
27
+ # collection do
28
+ # get 'sold'
29
+ # end
30
+ # end
31
+
32
+ # Example resource route with sub-resources:
33
+ # resources :products do
34
+ # resources :comments, :sales
35
+ # resource :seller
36
+ # end
37
+
38
+ # Example resource route with more complex sub-resources:
39
+ # resources :products do
40
+ # resources :comments
41
+ # resources :sales do
42
+ # get 'recent', on: :collection
43
+ # end
44
+ # end
45
+
46
+ # Example resource route with concerns:
47
+ # concern :toggleable do
48
+ # post 'toggle'
49
+ # end
50
+ # resources :posts, concerns: :toggleable
51
+ # resources :photos, concerns: :toggleable
52
+
53
+ # Example resource route within a namespace:
54
+ # namespace :admin do
55
+ # # Directs /admin/products/* to Admin::ProductsController
56
+ # # (app/controllers/admin/products_controller.rb)
57
+ # resources :products
58
+ # end
59
+ end
Binary file
@@ -0,0 +1,9 @@
1
+ class CreateUsers < ActiveRecord::Migration
2
+ def change
3
+ create_table :users do |t|
4
+ t.string :username
5
+
6
+ t.timestamps
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,17 @@
1
+ # This migration comes from mint_reporter_engine (originally 20140703143528)
2
+ class CreateReports < ActiveRecord::Migration
3
+ def change
4
+ create_table :reports do |t|
5
+ t.string :type
6
+ t.datetime :from_date
7
+ t.datetime :to_date
8
+ t.string :csv_file_name
9
+ t.string :csv_content_type
10
+ t.integer :csv_file_size
11
+ t.datetime :csv_updated_at
12
+ t.string :state
13
+
14
+ t.timestamps
15
+ end
16
+ end
17
+ end
File without changes
@@ -0,0 +1,35 @@
1
+ # encoding: UTF-8
2
+ # This file is auto-generated from the current state of the database. Instead
3
+ # of editing this file, please use the migrations feature of Active Record to
4
+ # incrementally modify your database, and then regenerate this schema definition.
5
+ #
6
+ # Note that this schema.rb definition is the authoritative source for your
7
+ # database schema. If you need to create the application database on another
8
+ # system, you should be using db:schema:load, not running all the migrations
9
+ # from scratch. The latter is a flawed and unsustainable approach (the more migrations
10
+ # you'll amass, the slower it'll run and the greater likelihood for issues).
11
+ #
12
+ # It's strongly recommended that you check this file into your version control system.
13
+
14
+ ActiveRecord::Schema.define(version: 20140723162342) do
15
+
16
+ create_table "reports", force: true do |t|
17
+ t.string "type"
18
+ t.datetime "from_date"
19
+ t.datetime "to_date"
20
+ t.string "csv_file_name"
21
+ t.string "csv_content_type"
22
+ t.integer "csv_file_size"
23
+ t.datetime "csv_updated_at"
24
+ t.string "state"
25
+ t.datetime "created_at"
26
+ t.datetime "updated_at"
27
+ end
28
+
29
+ create_table "users", force: true do |t|
30
+ t.string "username"
31
+ t.datetime "created_at"
32
+ t.datetime "updated_at"
33
+ end
34
+
35
+ end
Binary file
@@ -0,0 +1,293 @@
1
+  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
2
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
4
+ Migrating to CreateReports (20140703143528)
5
+  (0.1ms) begin transaction
6
+  (0.3ms) CREATE TABLE "reports" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "report_type" varchar(255), "from_date" datetime, "to_date" datetime, "state" varchar(255), "timestamp_field" varchar(255), "parameters" text, "created_at" datetime, "updated_at" datetime) 
7
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140703143528"]]
8
+  (0.7ms) commit transaction
9
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
10
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
11
+ Migrating to CreateFoos (20140715134002)
12
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
13
+ Migrating to CreateFoos (20140715134002)
14
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
15
+ Migrating to CreateFoos (20140715134002)
16
+  (0.0ms) begin transaction
17
+  (0.3ms) CREATE TABLE "foos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute_one" varchar(255), "attribute_two" varchar(255), "created_at" datetime, "updated_at" datetime) 
18
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140715134002"]]
19
+  (9.1ms) commit transaction
20
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
21
+  (1.0ms) CREATE TABLE "foos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute_one" varchar(255), "attribute_two" varchar(255), "created_at" datetime, "updated_at" datetime) 
22
+  (0.8ms) CREATE TABLE "reports" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "report_type" varchar(255), "from_date" datetime, "to_date" datetime, "state" varchar(255), "timestamp_field" varchar(255), "parameters" text, "created_at" datetime, "updated_at" datetime)
23
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
24
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
25
+  (0.1ms) SELECT version FROM "schema_migrations"
26
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140715134002')
27
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
28
+ Migrating to CreateUsers (20140716113109)
29
+  (0.1ms) begin transaction
30
+  (0.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "created_at" datetime, "updated_at" datetime) 
31
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140716113109"]]
32
+  (0.7ms) commit transaction
33
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
34
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
35
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
36
+  (1.1ms) CREATE TABLE "foos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute_one" varchar(255), "attribute_two" varchar(255), "created_at" datetime, "updated_at" datetime) 
37
+  (0.9ms) CREATE TABLE "reports" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "report_type" varchar(255), "from_date" datetime, "to_date" datetime, "state" varchar(255), "timestamp_field" varchar(255), "parameters" text, "created_at" datetime, "updated_at" datetime)
38
+  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "created_at" datetime, "updated_at" datetime) 
39
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
40
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
41
+  (0.1ms) SELECT version FROM "schema_migrations"
42
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20140716113109')
43
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140715134002')
44
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
45
+ Migrating to Role (20140716131043)
46
+  (0.0ms) begin transaction
47
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140716131043"]]
48
+  (8.1ms) commit transaction
49
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
50
+  (1.2ms) CREATE TABLE "foos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute_one" varchar(255), "attribute_two" varchar(255), "created_at" datetime, "updated_at" datetime)
51
+  (1.1ms) CREATE TABLE "reports" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "report_type" varchar(255), "from_date" datetime, "to_date" datetime, "state" varchar(255), "timestamp_field" varchar(255), "parameters" text, "created_at" datetime, "updated_at" datetime) 
52
+  (1.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "created_at" datetime, "updated_at" datetime)
53
+  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
54
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
55
+  (0.1ms) SELECT version FROM "schema_migrations"
56
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140716131043')
57
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140715134002')
58
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140716113109')
59
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
60
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
61
+ Migrating to Role (20140716131043)
62
+  (0.0ms) begin transaction
63
+ SQL (0.4ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20140716131043'
64
+  (0.8ms) commit transaction
65
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
66
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
67
+ Migrating to CreateRoles (20140716132915)
68
+  (0.0ms) begin transaction
69
+  (0.3ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255)) 
70
+  (0.1ms) CREATE TABLE "role_assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "roleable_id" integer, "role_id" integer, "roleable_type" varchar(255))
71
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140716132915"]]
72
+  (8.7ms) commit transaction
73
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
74
+  (9.3ms) CREATE TABLE "foos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attribute_one" varchar(255), "attribute_two" varchar(255), "created_at" datetime, "updated_at" datetime) 
75
+  (1.0ms) CREATE TABLE "reports" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "report_type" varchar(255), "from_date" datetime, "to_date" datetime, "state" varchar(255), "timestamp_field" varchar(255), "parameters" text, "created_at" datetime, "updated_at" datetime)
76
+  (1.2ms) CREATE TABLE "role_assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "roleable_id" integer, "role_id" integer, "roleable_type" varchar(255)) 
77
+  (1.0ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255))
78
+  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "created_at" datetime, "updated_at" datetime) 
79
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
80
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
81
+  (0.1ms) SELECT version FROM "schema_migrations"
82
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140716132915')
83
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140715134002')
84
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140716113109')
85
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
86
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
87
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
88
+ Migrating to AddDeviseToUsers (20140716141204)
89
+  (0.1ms) begin transaction
90
+  (0.3ms) ALTER TABLE "users" ADD "email" varchar(255) DEFAULT '' NOT NULL
91
+  (0.1ms) ALTER TABLE "users" ADD "encrypted_password" varchar(255) DEFAULT '' NOT NULL
92
+  (0.1ms) ALTER TABLE "users" ADD "reset_password_token" varchar(255)
93
+  (0.1ms) ALTER TABLE "users" ADD "reset_password_sent_at" datetime
94
+  (0.1ms) ALTER TABLE "users" ADD "remember_created_at" datetime
95
+  (0.2ms) ALTER TABLE "users" ADD "sign_in_count" integer DEFAULT 0 NOT NULL
96
+  (0.1ms) ALTER TABLE "users" ADD "current_sign_in_at" datetime
97
+  (0.1ms) ALTER TABLE "users" ADD "last_sign_in_at" datetime
98
+  (0.1ms) ALTER TABLE "users" ADD "current_sign_in_ip" varchar(255)
99
+  (0.1ms) ALTER TABLE "users" ADD "last_sign_in_ip" varchar(255)
100
+  (0.9ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
101
+  (0.1ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
102
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140716141204"]]
103
+  (0.9ms) commit transaction
104
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
105
+  (9.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
106
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
107
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
108
+ Migrating to CreateUsers (20140716113109)
109
+  (0.1ms) begin transaction
110
+  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "created_at" datetime, "updated_at" datetime) 
111
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140716113109"]]
112
+  (0.7ms) commit transaction
113
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
114
+  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
115
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
116
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
117
+ Migrating to CreateReports (20140703143528)
118
+  (0.1ms) begin transaction
119
+  (0.3ms) CREATE TABLE "reports" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "report_type" varchar(255), "from_date" datetime, "to_date" datetime, "state" varchar(255), "timestamp_field" varchar(255), "parameters" text, "created_at" datetime, "updated_at" datetime) 
120
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140703143528"]]
121
+  (0.8ms) commit transaction
122
+ Migrating to CreateUsers (20140716113109)
123
+  (0.1ms) begin transaction
124
+  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "created_at" datetime, "updated_at" datetime) 
125
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140716113109"]]
126
+  (0.8ms) commit transaction
127
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
128
+  (9.4ms) CREATE TABLE "reports" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "report_type" varchar(255), "from_date" datetime, "to_date" datetime, "state" varchar(255), "timestamp_field" varchar(255), "parameters" text, "created_at" datetime, "updated_at" datetime) 
129
+  (1.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "created_at" datetime, "updated_at" datetime)
130
+  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
131
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
132
+  (0.1ms) SELECT version FROM "schema_migrations"
133
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140716113109')
134
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20140703143528')
135
+  (8.8ms) CREATE TABLE "reports" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "report_type" varchar(255), "from_date" datetime, "to_date" datetime, "state" varchar(255), "timestamp_field" varchar(255), "parameters" text, "created_at" datetime, "updated_at" datetime) 
136
+  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "created_at" datetime, "updated_at" datetime)
137
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
138
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
139
+  (0.1ms) SELECT version FROM "schema_migrations"
140
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140716113109')
141
+  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
142
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
143
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
144
+ Migrating to CreateUsers (20140716113109)
145
+  (0.1ms) begin transaction
146
+  (0.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "created_at" datetime, "updated_at" datetime) 
147
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140716113109"]]
148
+  (0.8ms) commit transaction
149
+ Migrating to CreateReports (20140717131922)
150
+  (0.1ms) begin transaction
151
+  (0.3ms) CREATE TABLE "reports" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "report_type" varchar(255), "from_date" datetime, "to_date" datetime, "state" varchar(255), "timestamp_field" varchar(255), "parameters" text, "created_at" datetime, "updated_at" datetime) 
152
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140717131922"]]
153
+  (0.9ms) commit transaction
154
+ Migrating to CreateFoos (20140717162652)
155
+  (0.1ms) begin transaction
156
+  (0.3ms) CREATE TABLE "foos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
157
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140717162652"]]
158
+  (0.8ms) commit transaction
159
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
160
+  (1.1ms) CREATE TABLE "foos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
161
+  (0.8ms) CREATE TABLE "reports" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "report_type" varchar(255), "from_date" datetime, "to_date" datetime, "state" varchar(255), "timestamp_field" varchar(255), "parameters" text, "created_at" datetime, "updated_at" datetime)
162
+  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "created_at" datetime, "updated_at" datetime) 
163
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
164
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
165
+  (0.1ms) SELECT version FROM "schema_migrations"
166
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140717162652')
167
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140716113109')
168
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140717131922')
169
+  (9.2ms) CREATE TABLE "foos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
170
+  (0.9ms) CREATE TABLE "reports" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "report_type" varchar(255), "from_date" datetime, "to_date" datetime, "state" varchar(255), "timestamp_field" varchar(255), "parameters" text, "created_at" datetime, "updated_at" datetime)
171
+  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "created_at" datetime, "updated_at" datetime) 
172
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
173
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
174
+  (0.1ms) SELECT version FROM "schema_migrations"
175
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20140717162652')
176
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20140716113109')
177
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20140717131922')
178
+  (9.1ms) CREATE TABLE "foos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
179
+  (1.0ms) CREATE TABLE "reports" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "report_type" varchar(255), "from_date" datetime, "to_date" datetime, "state" varchar(255), "timestamp_field" varchar(255), "parameters" text, "created_at" datetime, "updated_at" datetime)
180
+  (1.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "created_at" datetime, "updated_at" datetime) 
181
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
182
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
183
+  (0.1ms) SELECT version FROM "schema_migrations"
184
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20140717162652')
185
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140716113109')
186
+  (8.4ms) CREATE TABLE "foos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
187
+  (1.1ms) CREATE TABLE "reports" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "report_type" varchar(255), "from_date" datetime, "to_date" datetime, "state" varchar(255), "timestamp_field" varchar(255), "parameters" text, "created_at" datetime, "updated_at" datetime)
188
+  (1.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "created_at" datetime, "updated_at" datetime) 
189
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
190
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
191
+  (0.1ms) SELECT version FROM "schema_migrations"
192
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140717162652')
193
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140716113109')
194
+  (9.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
195
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
196
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
197
+ Migrating to CreateUsers (20140716113109)
198
+  (0.1ms) begin transaction
199
+  (0.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "created_at" datetime, "updated_at" datetime) 
200
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140716113109"]]
201
+  (0.9ms) commit transaction
202
+ Migrating to CreateReports (20140718162451)
203
+  (0.1ms) begin transaction
204
+  (0.3ms) CREATE TABLE "reports" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "from_date" datetime, "to_date" datetime, "created_at" datetime, "updated_at" datetime) 
205
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140718162451"]]
206
+  (0.7ms) commit transaction
207
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
208
+  (1.1ms) CREATE TABLE "reports" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "from_date" datetime, "to_date" datetime, "created_at" datetime, "updated_at" datetime) 
209
+  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "created_at" datetime, "updated_at" datetime)
210
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
211
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
212
+  (0.1ms) SELECT version FROM "schema_migrations"
213
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20140718162451')
214
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20140716113109')
215
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
216
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
217
+  (6.5ms) CREATE TABLE "reports" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "from_date" datetime, "to_date" datetime, "created_at" datetime, "updated_at" datetime) 
218
+  (1.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "created_at" datetime, "updated_at" datetime)
219
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
220
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
221
+  (0.1ms) SELECT version FROM "schema_migrations"
222
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140718162451')
223
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140716113109')
224
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
225
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
226
+ Migrating to CreateReports (20140718162451)
227
+  (0.1ms) begin transaction
228
+  (0.4ms) DROP TABLE "reports"
229
+ SQL (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20140718162451'
230
+  (8.4ms) commit transaction
231
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
232
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
233
+ Migrating to CreateReports (20140723152437)
234
+  (0.1ms) begin transaction
235
+  (0.4ms) CREATE TABLE "reports" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "from_date" datetime, "to_date" datetime, "created_at" datetime, "updated_at" datetime) 
236
+  (7.8ms) rollback transaction
237
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
238
+ Migrating to CreateReports (20140723152437)
239
+  (0.0ms) begin transaction
240
+  (0.3ms) CREATE TABLE "reports" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "from_date" datetime, "to_date" datetime, "created_at" datetime, "updated_at" datetime) 
241
+  (8.5ms) rollback transaction
242
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
243
+ Migrating to CreateReports (20140723153550)
244
+  (0.1ms) begin transaction
245
+  (0.3ms) CREATE TABLE "reports" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "from_date" datetime, "to_date" datetime, "csv_file_name" varchar(255), "csv_content_type" varchar(255), "csv_file_size" integer, "csv_updated_at" datetime, "created_at" datetime, "updated_at" datetime) 
246
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140723153550"]]
247
+  (9.1ms) commit transaction
248
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
249
+  (1.0ms) CREATE TABLE "reports" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "from_date" datetime, "to_date" datetime, "csv_file_name" varchar(255), "csv_content_type" varchar(255), "csv_file_size" integer, "csv_updated_at" datetime, "created_at" datetime, "updated_at" datetime) 
250
+  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "created_at" datetime, "updated_at" datetime)
251
+  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
252
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
253
+  (0.1ms) SELECT version FROM "schema_migrations"
254
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140723153550')
255
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140716113109')
256
+  (9.1ms) CREATE TABLE "reports" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "from_date" datetime, "to_date" datetime, "csv_file_name" varchar(255), "csv_content_type" varchar(255), "csv_file_size" integer, "csv_updated_at" datetime, "created_at" datetime, "updated_at" datetime) 
257
+  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "created_at" datetime, "updated_at" datetime)
258
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
259
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
260
+  (0.1ms) SELECT version FROM "schema_migrations"
261
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140723153550')
262
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140716113109')
263
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
264
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
265
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
266
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
267
+ Migrating to CreateReports (20140723153550)
268
+  (0.1ms) begin transaction
269
+  (0.3ms) DROP TABLE "reports"
270
+ SQL (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20140723153550'
271
+  (8.7ms) commit transaction
272
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
273
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
274
+ Migrating to CreateReports (20140723162342)
275
+  (0.1ms) begin transaction
276
+  (0.3ms) CREATE TABLE "reports" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "from_date" datetime, "to_date" datetime, "csv_file_name" varchar(255), "csv_content_type" varchar(255), "csv_file_size" integer, "csv_updated_at" datetime, "state" varchar(255), "created_at" datetime, "updated_at" datetime) 
277
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140723162342"]]
278
+  (8.3ms) commit transaction
279
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
280
+  (1.0ms) CREATE TABLE "reports" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "from_date" datetime, "to_date" datetime, "csv_file_name" varchar(255), "csv_content_type" varchar(255), "csv_file_size" integer, "csv_updated_at" datetime, "state" varchar(255), "created_at" datetime, "updated_at" datetime) 
281
+  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "created_at" datetime, "updated_at" datetime)
282
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
283
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
284
+  (0.1ms) SELECT version FROM "schema_migrations"
285
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140723162342')
286
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140716113109')
287
+  (8.3ms) CREATE TABLE "reports" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "from_date" datetime, "to_date" datetime, "csv_file_name" varchar(255), "csv_content_type" varchar(255), "csv_file_size" integer, "csv_updated_at" datetime, "state" varchar(255), "created_at" datetime, "updated_at" datetime) 
288
+  (1.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "created_at" datetime, "updated_at" datetime)
289
+  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
290
+  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
291
+  (0.1ms) SELECT version FROM "schema_migrations"
292
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20140723162342')
293
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140716113109')