localtower 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5cafeea60c6234407f4d8db12991b29e3b62154f
4
- data.tar.gz: 03b295bd34a357031baedcf186b653f450a71b5e
3
+ metadata.gz: 9d2d8d83f47e4d0d7f86fcef67d7f93c99f2b3c0
4
+ data.tar.gz: 4a297711665747ec749e718f72376ed09e994c86
5
5
  SHA512:
6
- metadata.gz: 16abfd79086961f929db51054ad0e1bd5fba9d529ee85f3f245b594ad9c57852abe66bbbdcc88934a0189d7c5cb3cbfa4be35aa1517ae8f4d8d2b6032d20beb3
7
- data.tar.gz: 1a351f130f102ab3a90c2a93f2627c13c942d790f6d635eb19cbb46683cf4d6243b69da1ed75a6cfe30dbd2e9e49482681c79e05374845bdac827c322f705a7e
6
+ metadata.gz: 48a9d16cd57df39e79d39b01cf8dc7b2247a6d711cb70166c25f20392007572bcd41e795bdc5ecf3fb7612b1dcbad7079560798f3289ca356a8a7c40750384d6
7
+ data.tar.gz: 2f02384b25e8ca6cda3ae985b0b53dd06987e540f009b3426804b11f9cd34b23dfb46dd144a8139f97badf95810a335b35326d95f06fd0dfbc7ce85daa30fe49
@@ -28,6 +28,7 @@ module Localtower
28
28
  end
29
29
 
30
30
  use_generator(::Localtower::Generators::Migration, params[:migrations])
31
+ redirect_to migrations_path
31
32
  end
32
33
 
33
34
  def relations
@@ -35,6 +36,7 @@ module Localtower
35
36
 
36
37
  def post_relations
37
38
  use_generator(::Localtower::Generators::Relation, params[:relations])
39
+ redirect_to relations_path
38
40
  end
39
41
 
40
42
  def models
@@ -42,6 +44,7 @@ module Localtower
42
44
 
43
45
  def post_models
44
46
  use_generator(::Localtower::Generators::Model, params[:models])
47
+ redirect_to models_path
45
48
  end
46
49
 
47
50
  private
@@ -49,7 +52,6 @@ module Localtower
49
52
  def use_generator(generator_klass, options)
50
53
  generator = generator_klass.new(options)
51
54
  generator.run
52
- redirect_to :back
53
55
  end
54
56
  end
55
57
  end
@@ -1,3 +1,3 @@
1
1
  module Localtower
2
- VERSION = '0.1.1'.freeze
2
+ VERSION = '0.1.2'.freeze
3
3
  end
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: /Users/damln/Work/localtower/localtower
3
3
  specs:
4
- localtower (0.2.0)
4
+ localtower (0.1.2)
5
5
  active_link_to
6
6
  pg
7
7
  rails (>= 5.0.1)
@@ -22948,3 +22948,381 @@ Started GET "/light-bootstrap-dashboard-master/assets/js/jquery-1.10.2.js" for 1
22948
22948
  ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
22949
22949
   (0.4ms) BEGIN
22950
22950
   (0.2ms) COMMIT
22951
+ Started GET "/localtower/models" for 127.0.0.1 at 2017-03-08 18:22:46 +0100
22952
+ Processing by Localtower::PagesController#models as HTML
22953
+ Rendering /Users/damln/Work/localtower/localtower/app/views/localtower/pages/models.html.erb within layouts/localtower/application
22954
+ Rendered /Users/damln/Work/localtower/localtower/app/views/localtower/pages/models.html.erb within layouts/localtower/application (7.2ms)
22955
+ Completed 200 OK in 34ms (Views: 20.8ms | ActiveRecord: 0.0ms)
22956
+
22957
+
22958
+ Started GET "/light-bootstrap-dashboard-master/assets/css/bootstrap.min.css" for 127.0.0.1 at 2017-03-08 18:22:47 +0100
22959
+ Started GET "/light-bootstrap-dashboard-master/assets/css/light-bootstrap-dashboard.css" for 127.0.0.1 at 2017-03-08 18:22:47 +0100
22960
+ Started GET "/light-bootstrap-dashboard-master/assets/css/animate.min.css" for 127.0.0.1 at 2017-03-08 18:22:47 +0100
22961
+ Started GET "/light-bootstrap-dashboard-master/assets/css/pe-icon-7-stroke.css" for 127.0.0.1 at 2017-03-08 18:22:47 +0100
22962
+ Started GET "/light-bootstrap-dashboard-master/assets/js/bootstrap-checkbox-radio-switch.js" for 127.0.0.1 at 2017-03-08 18:22:47 +0100
22963
+ Started GET "/css/app.css" for 127.0.0.1 at 2017-03-08 18:22:47 +0100
22964
+ Started GET "/light-bootstrap-dashboard-master/assets/js/jquery-1.10.2.js" for 127.0.0.1 at 2017-03-08 18:22:47 +0100
22965
+ Started GET "/light-bootstrap-dashboard-master/assets/js/light-bootstrap-dashboard.js" for 127.0.0.1 at 2017-03-08 18:22:47 +0100
22966
+ Started GET "/js/app.js" for 127.0.0.1 at 2017-03-08 18:22:47 +0100
22967
+ Started GET "/light-bootstrap-dashboard-master/assets/js/bootstrap.min.js" for 127.0.0.1 at 2017-03-08 18:22:47 +0100
22968
+ Started POST "/localtower/models" for 127.0.0.1 at 2017-03-08 18:22:53 +0100
22969
+ Processing by Localtower::PagesController#post_models as HTML
22970
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"A8j4/sdEPoLf0gUibwoObRqsJuDejQUPBrvCl5Ywvbx2RWiA/P9SHDox+koXJasQijO4uuUM0i/FXMH6mEi0YQ==", "models"=>{"model_name"=>"Animal", "attributes"=>[{"attribute_name"=>"name", "attribute_type"=>"string", "nullable"=>"true"}], "run_migrate"=>"true"}}
22971
+  (27.4ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)
22972
+  (19.6ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
22973
+  (0.5ms) SELECT pg_try_advisory_lock(268089350951355045);
22974
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
22975
+ Migrating to CreateAnimals (20170308172258)
22976
+  (0.3ms) BEGIN
22977
+  (27.1ms) CREATE TABLE "animals" ("id" serial primary key, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
22978
+ SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170308172258"]]
22979
+  (6.4ms) COMMIT
22980
+ ActiveRecord::InternalMetadata Load (0.8ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
22981
+  (0.2ms) BEGIN
22982
+ SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", 2017-03-08 17:23:01 UTC], ["updated_at", 2017-03-08 17:23:01 UTC]]
22983
+  (0.5ms) COMMIT
22984
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
22985
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
22986
+ Redirected to http://localhost:3000/localtower/models
22987
+ Completed 302 Found in 11180ms (ActiveRecord: 0.0ms)
22988
+
22989
+
22990
+ Started GET "/localtower/models" for 127.0.0.1 at 2017-03-08 18:23:04 +0100
22991
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
22992
+ Processing by Localtower::PagesController#models as HTML
22993
+ Rendering /Users/damln/Work/localtower/localtower/app/views/localtower/pages/models.html.erb within layouts/localtower/application
22994
+ Rendered /Users/damln/Work/localtower/localtower/app/views/localtower/pages/models.html.erb within layouts/localtower/application (1.4ms)
22995
+ Completed 200 OK in 32ms (Views: 28.7ms | ActiveRecord: 0.0ms)
22996
+
22997
+
22998
+ Started GET "/light-bootstrap-dashboard-master/assets/css/bootstrap.min.css" for 127.0.0.1 at 2017-03-08 18:23:04 +0100
22999
+ Started GET "/light-bootstrap-dashboard-master/assets/css/animate.min.css" for 127.0.0.1 at 2017-03-08 18:23:05 +0100
23000
+ Started GET "/light-bootstrap-dashboard-master/assets/js/jquery-1.10.2.js" for 127.0.0.1 at 2017-03-08 18:23:05 +0100
23001
+ Started GET "/light-bootstrap-dashboard-master/assets/css/pe-icon-7-stroke.css" for 127.0.0.1 at 2017-03-08 18:23:05 +0100
23002
+ Started GET "/light-bootstrap-dashboard-master/assets/css/light-bootstrap-dashboard.css" for 127.0.0.1 at 2017-03-08 18:23:05 +0100
23003
+ Started GET "/light-bootstrap-dashboard-master/assets/js/bootstrap.min.js" for 127.0.0.1 at 2017-03-08 18:23:05 +0100
23004
+ Started GET "/light-bootstrap-dashboard-master/assets/js/light-bootstrap-dashboard.js" for 127.0.0.1 at 2017-03-08 18:23:05 +0100
23005
+ Started GET "/light-bootstrap-dashboard-master/assets/js/bootstrap-checkbox-radio-switch.js" for 127.0.0.1 at 2017-03-08 18:23:05 +0100
23006
+ Started GET "/js/app.js" for 127.0.0.1 at 2017-03-08 18:23:05 +0100
23007
+ Started GET "/css/app.css" for 127.0.0.1 at 2017-03-08 18:23:05 +0100
23008
+ Started GET "/localtower/dashboard" for 127.0.0.1 at 2017-03-08 18:23:07 +0100
23009
+ Processing by Localtower::PagesController#dashboard as HTML
23010
+ Rendering /Users/damln/Work/localtower/localtower/app/views/localtower/pages/dashboard.html.erb within layouts/localtower/application
23011
+ Rendered /Users/damln/Work/localtower/localtower/app/views/localtower/pages/dashboard.html.erb within layouts/localtower/application (18.1ms)
23012
+ Completed 200 OK in 42ms (Views: 21.5ms | ActiveRecord: 10.2ms)
23013
+
23014
+
23015
+ Started GET "/light-bootstrap-dashboard-master/assets/css/bootstrap.min.css" for 127.0.0.1 at 2017-03-08 18:23:07 +0100
23016
+ Started GET "/light-bootstrap-dashboard-master/assets/css/light-bootstrap-dashboard.css" for 127.0.0.1 at 2017-03-08 18:23:07 +0100
23017
+ Started GET "/light-bootstrap-dashboard-master/assets/css/animate.min.css" for 127.0.0.1 at 2017-03-08 18:23:07 +0100
23018
+ Started GET "/css/app.css" for 127.0.0.1 at 2017-03-08 18:23:07 +0100
23019
+ Started GET "/light-bootstrap-dashboard-master/assets/js/bootstrap.min.js" for 127.0.0.1 at 2017-03-08 18:23:07 +0100
23020
+ Started GET "/light-bootstrap-dashboard-master/assets/css/pe-icon-7-stroke.css" for 127.0.0.1 at 2017-03-08 18:23:07 +0100
23021
+ Started GET "/light-bootstrap-dashboard-master/assets/js/light-bootstrap-dashboard.js" for 127.0.0.1 at 2017-03-08 18:23:07 +0100
23022
+ Started GET "/js/app.js" for 127.0.0.1 at 2017-03-08 18:23:07 +0100
23023
+ Started GET "/light-bootstrap-dashboard-master/assets/js/bootstrap-checkbox-radio-switch.js" for 127.0.0.1 at 2017-03-08 18:23:07 +0100
23024
+ Started GET "/light-bootstrap-dashboard-master/assets/js/jquery-1.10.2.js" for 127.0.0.1 at 2017-03-08 18:23:07 +0100
23025
+ Started GET "/localtower/relations" for 127.0.0.1 at 2017-03-08 18:23:08 +0100
23026
+ Processing by Localtower::PagesController#relations as HTML
23027
+ Rendering /Users/damln/Work/localtower/localtower/app/views/localtower/pages/relations.html.erb within layouts/localtower/application
23028
+ Rendered /Users/damln/Work/localtower/localtower/app/views/localtower/pages/relations.html.erb within layouts/localtower/application (9.6ms)
23029
+ Completed 200 OK in 34ms (Views: 23.3ms | ActiveRecord: 0.0ms)
23030
+
23031
+
23032
+ Started GET "/light-bootstrap-dashboard-master/assets/css/bootstrap.min.css" for 127.0.0.1 at 2017-03-08 18:23:08 +0100
23033
+ Started GET "/light-bootstrap-dashboard-master/assets/css/light-bootstrap-dashboard.css" for 127.0.0.1 at 2017-03-08 18:23:08 +0100
23034
+ Started GET "/light-bootstrap-dashboard-master/assets/css/animate.min.css" for 127.0.0.1 at 2017-03-08 18:23:08 +0100
23035
+ Started GET "/css/app.css" for 127.0.0.1 at 2017-03-08 18:23:08 +0100
23036
+ Started GET "/light-bootstrap-dashboard-master/assets/js/bootstrap.min.js" for 127.0.0.1 at 2017-03-08 18:23:08 +0100
23037
+ Started GET "/light-bootstrap-dashboard-master/assets/js/bootstrap-checkbox-radio-switch.js" for 127.0.0.1 at 2017-03-08 18:23:08 +0100
23038
+ Started GET "/light-bootstrap-dashboard-master/assets/js/light-bootstrap-dashboard.js" for 127.0.0.1 at 2017-03-08 18:23:08 +0100
23039
+ Started GET "/light-bootstrap-dashboard-master/assets/css/pe-icon-7-stroke.css" for 127.0.0.1 at 2017-03-08 18:23:08 +0100
23040
+ Started GET "/js/app.js" for 127.0.0.1 at 2017-03-08 18:23:08 +0100
23041
+ Started GET "/light-bootstrap-dashboard-master/assets/js/jquery-1.10.2.js" for 127.0.0.1 at 2017-03-08 18:23:08 +0100
23042
+ Started GET "/localtower/models" for 127.0.0.1 at 2017-03-08 18:23:09 +0100
23043
+ Processing by Localtower::PagesController#models as HTML
23044
+ Rendering /Users/damln/Work/localtower/localtower/app/views/localtower/pages/models.html.erb within layouts/localtower/application
23045
+ Rendered /Users/damln/Work/localtower/localtower/app/views/localtower/pages/models.html.erb within layouts/localtower/application (1.4ms)
23046
+ Completed 200 OK in 14ms (Views: 10.8ms | ActiveRecord: 0.0ms)
23047
+
23048
+
23049
+ Started GET "/light-bootstrap-dashboard-master/assets/css/bootstrap.min.css" for 127.0.0.1 at 2017-03-08 18:23:09 +0100
23050
+ Started GET "/light-bootstrap-dashboard-master/assets/css/animate.min.css" for 127.0.0.1 at 2017-03-08 18:23:09 +0100
23051
+ Started GET "/light-bootstrap-dashboard-master/assets/css/pe-icon-7-stroke.css" for 127.0.0.1 at 2017-03-08 18:23:09 +0100
23052
+ Started GET "/light-bootstrap-dashboard-master/assets/css/light-bootstrap-dashboard.css" for 127.0.0.1 at 2017-03-08 18:23:09 +0100
23053
+ Started GET "/light-bootstrap-dashboard-master/assets/js/bootstrap.min.js" for 127.0.0.1 at 2017-03-08 18:23:09 +0100
23054
+ Started GET "/css/app.css" for 127.0.0.1 at 2017-03-08 18:23:09 +0100
23055
+ Started GET "/light-bootstrap-dashboard-master/assets/js/bootstrap-checkbox-radio-switch.js" for 127.0.0.1 at 2017-03-08 18:23:09 +0100
23056
+ Started GET "/js/app.js" for 127.0.0.1 at 2017-03-08 18:23:09 +0100
23057
+ Started GET "/light-bootstrap-dashboard-master/assets/js/light-bootstrap-dashboard.js" for 127.0.0.1 at 2017-03-08 18:23:09 +0100
23058
+ Started GET "/light-bootstrap-dashboard-master/assets/js/jquery-1.10.2.js" for 127.0.0.1 at 2017-03-08 18:23:10 +0100
23059
+ Started POST "/localtower/models" for 127.0.0.1 at 2017-03-08 18:23:14 +0100
23060
+ Processing by Localtower::PagesController#post_models as HTML
23061
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"hIf80nnkZASu+qPIBsamOlavOYrnUEqvKa6jFwrPQY/xCmysQl8ImksZXKB+6QNHxjCn0NzRnY/qSaB6BLdIUg==", "models"=>{"model_name"=>"House", "attributes"=>[{"attribute_name"=>"title", "attribute_type"=>"string", "nullable"=>"true"}], "run_migrate"=>"true"}}
23062
+  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
23063
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
23064
+ Migrating to CreateHouses (20170308172317)
23065
+  (0.3ms) BEGIN
23066
+  (16.4ms) CREATE TABLE "houses" ("id" serial primary key, "title" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
23067
+ SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170308172317"]]
23068
+  (6.6ms) COMMIT
23069
+ ActiveRecord::InternalMetadata Load (0.6ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
23070
+  (0.2ms) BEGIN
23071
+ SQL (0.3ms) UPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3 [["value", "development"], ["updated_at", 2017-03-08 17:23:20 UTC], ["key", "environment"]]
23072
+  (0.4ms) COMMIT
23073
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
23074
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
23075
+ Redirected to http://localhost:3000/localtower/models
23076
+ Completed 302 Found in 9566ms (ActiveRecord: 0.0ms)
23077
+
23078
+
23079
+ Started GET "/localtower/models" for 127.0.0.1 at 2017-03-08 18:23:23 +0100
23080
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
23081
+ Processing by Localtower::PagesController#models as HTML
23082
+ Rendering /Users/damln/Work/localtower/localtower/app/views/localtower/pages/models.html.erb within layouts/localtower/application
23083
+ Rendered /Users/damln/Work/localtower/localtower/app/views/localtower/pages/models.html.erb within layouts/localtower/application (1.7ms)
23084
+ Completed 200 OK in 17ms (Views: 13.6ms | ActiveRecord: 0.0ms)
23085
+
23086
+
23087
+ Started GET "/light-bootstrap-dashboard-master/assets/css/bootstrap.min.css" for 127.0.0.1 at 2017-03-08 18:23:24 +0100
23088
+ Started GET "/light-bootstrap-dashboard-master/assets/css/animate.min.css" for 127.0.0.1 at 2017-03-08 18:23:24 +0100
23089
+ Started GET "/light-bootstrap-dashboard-master/assets/css/pe-icon-7-stroke.css" for 127.0.0.1 at 2017-03-08 18:23:24 +0100
23090
+ Started GET "/css/app.css" for 127.0.0.1 at 2017-03-08 18:23:24 +0100
23091
+ Started GET "/light-bootstrap-dashboard-master/assets/js/bootstrap.min.js" for 127.0.0.1 at 2017-03-08 18:23:24 +0100
23092
+ Started GET "/light-bootstrap-dashboard-master/assets/js/bootstrap-checkbox-radio-switch.js" for 127.0.0.1 at 2017-03-08 18:23:24 +0100
23093
+ Started GET "/light-bootstrap-dashboard-master/assets/js/light-bootstrap-dashboard.js" for 127.0.0.1 at 2017-03-08 18:23:24 +0100
23094
+ Started GET "/light-bootstrap-dashboard-master/assets/js/jquery-1.10.2.js" for 127.0.0.1 at 2017-03-08 18:23:24 +0100
23095
+ Started GET "/js/app.js" for 127.0.0.1 at 2017-03-08 18:23:24 +0100
23096
+ Started GET "/light-bootstrap-dashboard-master/assets/css/light-bootstrap-dashboard.css" for 127.0.0.1 at 2017-03-08 18:23:24 +0100
23097
+ Started GET "/localtower/dashboard" for 127.0.0.1 at 2017-03-08 18:23:25 +0100
23098
+ Processing by Localtower::PagesController#dashboard as HTML
23099
+ Rendering /Users/damln/Work/localtower/localtower/app/views/localtower/pages/dashboard.html.erb within layouts/localtower/application
23100
+ Rendered /Users/damln/Work/localtower/localtower/app/views/localtower/pages/dashboard.html.erb within layouts/localtower/application (29.1ms)
23101
+ Completed 200 OK in 49ms (Views: 25.0ms | ActiveRecord: 12.4ms)
23102
+
23103
+
23104
+ Started GET "/light-bootstrap-dashboard-master/assets/css/bootstrap.min.css" for 127.0.0.1 at 2017-03-08 18:23:25 +0100
23105
+ Started GET "/light-bootstrap-dashboard-master/assets/css/animate.min.css" for 127.0.0.1 at 2017-03-08 18:23:25 +0100
23106
+ Started GET "/light-bootstrap-dashboard-master/assets/css/light-bootstrap-dashboard.css" for 127.0.0.1 at 2017-03-08 18:23:25 +0100
23107
+ Started GET "/css/app.css" for 127.0.0.1 at 2017-03-08 18:23:25 +0100
23108
+ Started GET "/light-bootstrap-dashboard-master/assets/js/jquery-1.10.2.js" for 127.0.0.1 at 2017-03-08 18:23:25 +0100
23109
+ Started GET "/light-bootstrap-dashboard-master/assets/js/light-bootstrap-dashboard.js" for 127.0.0.1 at 2017-03-08 18:23:25 +0100
23110
+ Started GET "/light-bootstrap-dashboard-master/assets/js/bootstrap.min.js" for 127.0.0.1 at 2017-03-08 18:23:25 +0100
23111
+ Started GET "/js/app.js" for 127.0.0.1 at 2017-03-08 18:23:25 +0100
23112
+ Started GET "/light-bootstrap-dashboard-master/assets/js/bootstrap-checkbox-radio-switch.js" for 127.0.0.1 at 2017-03-08 18:23:25 +0100
23113
+ Started GET "/light-bootstrap-dashboard-master/assets/css/pe-icon-7-stroke.css" for 127.0.0.1 at 2017-03-08 18:23:25 +0100
23114
+ Started GET "/localtower/relations" for 127.0.0.1 at 2017-03-08 18:23:27 +0100
23115
+ Processing by Localtower::PagesController#relations as HTML
23116
+ Rendering /Users/damln/Work/localtower/localtower/app/views/localtower/pages/relations.html.erb within layouts/localtower/application
23117
+ Rendered /Users/damln/Work/localtower/localtower/app/views/localtower/pages/relations.html.erb within layouts/localtower/application (1.8ms)
23118
+ Completed 200 OK in 27ms (Views: 14.5ms | ActiveRecord: 0.0ms)
23119
+
23120
+
23121
+ Started GET "/light-bootstrap-dashboard-master/assets/css/light-bootstrap-dashboard.css" for 127.0.0.1 at 2017-03-08 18:23:28 +0100
23122
+ Started GET "/light-bootstrap-dashboard-master/assets/css/animate.min.css" for 127.0.0.1 at 2017-03-08 18:23:28 +0100
23123
+ Started GET "/light-bootstrap-dashboard-master/assets/css/bootstrap.min.css" for 127.0.0.1 at 2017-03-08 18:23:28 +0100
23124
+ Started GET "/light-bootstrap-dashboard-master/assets/css/pe-icon-7-stroke.css" for 127.0.0.1 at 2017-03-08 18:23:28 +0100
23125
+ Started GET "/light-bootstrap-dashboard-master/assets/js/bootstrap.min.js" for 127.0.0.1 at 2017-03-08 18:23:28 +0100
23126
+ Started GET "/light-bootstrap-dashboard-master/assets/js/jquery-1.10.2.js" for 127.0.0.1 at 2017-03-08 18:23:28 +0100
23127
+ Started GET "/light-bootstrap-dashboard-master/assets/js/bootstrap-checkbox-radio-switch.js" for 127.0.0.1 at 2017-03-08 18:23:28 +0100
23128
+ Started GET "/light-bootstrap-dashboard-master/assets/js/light-bootstrap-dashboard.js" for 127.0.0.1 at 2017-03-08 18:23:28 +0100
23129
+ Started GET "/js/app.js" for 127.0.0.1 at 2017-03-08 18:23:28 +0100
23130
+ Started GET "/css/app.css" for 127.0.0.1 at 2017-03-08 18:23:28 +0100
23131
+ Started POST "/localtower/relations" for 127.0.0.1 at 2017-03-08 18:23:30 +0100
23132
+ Processing by Localtower::PagesController#post_relations as HTML
23133
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"iK+AERnui9IRgxCkrw5GL/9S10M4XM4fFQRHUkHNhpkjI9Jpwr4/bB5U2dN19qktLVT2YJzFsgiGgM7rtMBTmg==", "relations"=>{"model_one_name"=>"Animal", "model_two_name"=>"House", "run_migrate"=>"true"}}
23134
+  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
23135
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
23136
+ Migrating to CreateAnimalHouses (20170308172334)
23137
+  (0.2ms) BEGIN
23138
+  (18.6ms) CREATE TABLE "animal_houses" ("id" serial primary key, "animal_id" integer, "house_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, CONSTRAINT "fk_rails_b402154971"
23139
+ FOREIGN KEY ("animal_id")
23140
+ REFERENCES "animals" ("id")
23141
+ , CONSTRAINT "fk_rails_0890c337b0"
23142
+ FOREIGN KEY ("house_id")
23143
+ REFERENCES "houses" ("id")
23144
+ )
23145
+  (1.2ms) CREATE INDEX "index_animal_houses_on_animal_id" ON "animal_houses" ("animal_id")
23146
+  (1.0ms) CREATE INDEX "index_animal_houses_on_house_id" ON "animal_houses" ("house_id")
23147
+ SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170308172334"]]
23148
+  (6.7ms) COMMIT
23149
+ ActiveRecord::InternalMetadata Load (0.6ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
23150
+  (0.2ms) BEGIN
23151
+ SQL (0.4ms) UPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3 [["value", "development"], ["updated_at", 2017-03-08 17:23:37 UTC], ["key", "environment"]]
23152
+  (0.5ms) COMMIT
23153
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
23154
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
23155
+ Redirected to http://localhost:3000/localtower/relations
23156
+ Completed 302 Found in 9979ms (ActiveRecord: 0.0ms)
23157
+
23158
+
23159
+ Started GET "/localtower/relations" for 127.0.0.1 at 2017-03-08 18:23:40 +0100
23160
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
23161
+ Processing by Localtower::PagesController#relations as HTML
23162
+ Rendering /Users/damln/Work/localtower/localtower/app/views/localtower/pages/relations.html.erb within layouts/localtower/application
23163
+ Rendered /Users/damln/Work/localtower/localtower/app/views/localtower/pages/relations.html.erb within layouts/localtower/application (25.6ms)
23164
+ Completed 200 OK in 35ms (Views: 32.5ms | ActiveRecord: 0.0ms)
23165
+
23166
+
23167
+ Started GET "/light-bootstrap-dashboard-master/assets/css/bootstrap.min.css" for 127.0.0.1 at 2017-03-08 18:23:40 +0100
23168
+ Started GET "/light-bootstrap-dashboard-master/assets/css/light-bootstrap-dashboard.css" for 127.0.0.1 at 2017-03-08 18:23:40 +0100
23169
+ Started GET "/light-bootstrap-dashboard-master/assets/css/animate.min.css" for 127.0.0.1 at 2017-03-08 18:23:40 +0100
23170
+ Started GET "/light-bootstrap-dashboard-master/assets/css/pe-icon-7-stroke.css" for 127.0.0.1 at 2017-03-08 18:23:40 +0100
23171
+ Started GET "/light-bootstrap-dashboard-master/assets/js/jquery-1.10.2.js" for 127.0.0.1 at 2017-03-08 18:23:40 +0100
23172
+ Started GET "/light-bootstrap-dashboard-master/assets/js/bootstrap.min.js" for 127.0.0.1 at 2017-03-08 18:23:40 +0100
23173
+ Started GET "/light-bootstrap-dashboard-master/assets/js/bootstrap-checkbox-radio-switch.js" for 127.0.0.1 at 2017-03-08 18:23:40 +0100
23174
+ Started GET "/light-bootstrap-dashboard-master/assets/js/light-bootstrap-dashboard.js" for 127.0.0.1 at 2017-03-08 18:23:40 +0100
23175
+ Started GET "/js/app.js" for 127.0.0.1 at 2017-03-08 18:23:40 +0100
23176
+ Started GET "/css/app.css" for 127.0.0.1 at 2017-03-08 18:23:41 +0100
23177
+ Started GET "/localtower/relations" for 127.0.0.1 at 2017-03-08 18:23:44 +0100
23178
+ Processing by Localtower::PagesController#relations as HTML
23179
+ Rendering /Users/damln/Work/localtower/localtower/app/views/localtower/pages/relations.html.erb within layouts/localtower/application
23180
+ Rendered /Users/damln/Work/localtower/localtower/app/views/localtower/pages/relations.html.erb within layouts/localtower/application (14.2ms)
23181
+ Completed 200 OK in 23ms (Views: 21.2ms | ActiveRecord: 0.0ms)
23182
+
23183
+
23184
+ Started GET "/light-bootstrap-dashboard-master/assets/css/bootstrap.min.css" for 127.0.0.1 at 2017-03-08 18:23:44 +0100
23185
+ Started GET "/light-bootstrap-dashboard-master/assets/css/animate.min.css" for 127.0.0.1 at 2017-03-08 18:23:44 +0100
23186
+ Started GET "/light-bootstrap-dashboard-master/assets/css/light-bootstrap-dashboard.css" for 127.0.0.1 at 2017-03-08 18:23:44 +0100
23187
+ Started GET "/light-bootstrap-dashboard-master/assets/js/bootstrap.min.js" for 127.0.0.1 at 2017-03-08 18:23:44 +0100
23188
+ Started GET "/css/app.css" for 127.0.0.1 at 2017-03-08 18:23:44 +0100
23189
+ Started GET "/light-bootstrap-dashboard-master/assets/css/pe-icon-7-stroke.css" for 127.0.0.1 at 2017-03-08 18:23:44 +0100
23190
+ Started GET "/light-bootstrap-dashboard-master/assets/js/bootstrap-checkbox-radio-switch.js" for 127.0.0.1 at 2017-03-08 18:23:44 +0100
23191
+ Started GET "/light-bootstrap-dashboard-master/assets/js/light-bootstrap-dashboard.js" for 127.0.0.1 at 2017-03-08 18:23:44 +0100
23192
+ Started GET "/js/app.js" for 127.0.0.1 at 2017-03-08 18:23:44 +0100
23193
+ Started GET "/light-bootstrap-dashboard-master/assets/js/jquery-1.10.2.js" for 127.0.0.1 at 2017-03-08 18:23:44 +0100
23194
+ Started GET "/localtower/dashboard" for 127.0.0.1 at 2017-03-08 18:23:45 +0100
23195
+ Processing by Localtower::PagesController#dashboard as HTML
23196
+ Rendering /Users/damln/Work/localtower/localtower/app/views/localtower/pages/dashboard.html.erb within layouts/localtower/application
23197
+ Rendered /Users/damln/Work/localtower/localtower/app/views/localtower/pages/dashboard.html.erb within layouts/localtower/application (37.3ms)
23198
+ Completed 200 OK in 48ms (Views: 12.8ms | ActiveRecord: 31.7ms)
23199
+
23200
+
23201
+ Started GET "/light-bootstrap-dashboard-master/assets/css/bootstrap.min.css" for 127.0.0.1 at 2017-03-08 18:23:45 +0100
23202
+ Started GET "/light-bootstrap-dashboard-master/assets/css/animate.min.css" for 127.0.0.1 at 2017-03-08 18:23:45 +0100
23203
+ Started GET "/css/app.css" for 127.0.0.1 at 2017-03-08 18:23:45 +0100
23204
+ Started GET "/light-bootstrap-dashboard-master/assets/js/bootstrap.min.js" for 127.0.0.1 at 2017-03-08 18:23:45 +0100
23205
+ Started GET "/light-bootstrap-dashboard-master/assets/css/light-bootstrap-dashboard.css" for 127.0.0.1 at 2017-03-08 18:23:45 +0100
23206
+ Started GET "/light-bootstrap-dashboard-master/assets/js/jquery-1.10.2.js" for 127.0.0.1 at 2017-03-08 18:23:45 +0100
23207
+ Started GET "/light-bootstrap-dashboard-master/assets/js/bootstrap-checkbox-radio-switch.js" for 127.0.0.1 at 2017-03-08 18:23:45 +0100
23208
+ Started GET "/light-bootstrap-dashboard-master/assets/js/light-bootstrap-dashboard.js" for 127.0.0.1 at 2017-03-08 18:23:45 +0100
23209
+ Started GET "/js/app.js" for 127.0.0.1 at 2017-03-08 18:23:45 +0100
23210
+ Started GET "/light-bootstrap-dashboard-master/assets/css/pe-icon-7-stroke.css" for 127.0.0.1 at 2017-03-08 18:23:45 +0100
23211
+ Started GET "/localtower/relations" for 127.0.0.1 at 2017-03-08 18:23:47 +0100
23212
+ Processing by Localtower::PagesController#relations as HTML
23213
+ Rendering /Users/damln/Work/localtower/localtower/app/views/localtower/pages/relations.html.erb within layouts/localtower/application
23214
+ Rendered /Users/damln/Work/localtower/localtower/app/views/localtower/pages/relations.html.erb within layouts/localtower/application (3.6ms)
23215
+ Completed 200 OK in 15ms (Views: 12.2ms | ActiveRecord: 0.0ms)
23216
+
23217
+
23218
+ Started GET "/light-bootstrap-dashboard-master/assets/css/bootstrap.min.css" for 127.0.0.1 at 2017-03-08 18:23:47 +0100
23219
+ Started GET "/light-bootstrap-dashboard-master/assets/css/animate.min.css" for 127.0.0.1 at 2017-03-08 18:23:47 +0100
23220
+ Started GET "/light-bootstrap-dashboard-master/assets/css/light-bootstrap-dashboard.css" for 127.0.0.1 at 2017-03-08 18:23:47 +0100
23221
+ Started GET "/light-bootstrap-dashboard-master/assets/js/bootstrap.min.js" for 127.0.0.1 at 2017-03-08 18:23:47 +0100
23222
+ Started GET "/light-bootstrap-dashboard-master/assets/js/jquery-1.10.2.js" for 127.0.0.1 at 2017-03-08 18:23:47 +0100
23223
+ Started GET "/light-bootstrap-dashboard-master/assets/js/bootstrap-checkbox-radio-switch.js" for 127.0.0.1 at 2017-03-08 18:23:47 +0100
23224
+ Started GET "/css/app.css" for 127.0.0.1 at 2017-03-08 18:23:47 +0100
23225
+ Started GET "/light-bootstrap-dashboard-master/assets/js/light-bootstrap-dashboard.js" for 127.0.0.1 at 2017-03-08 18:23:47 +0100
23226
+ Started GET "/js/app.js" for 127.0.0.1 at 2017-03-08 18:23:47 +0100
23227
+ Started GET "/light-bootstrap-dashboard-master/assets/css/pe-icon-7-stroke.css" for 127.0.0.1 at 2017-03-08 18:23:47 +0100
23228
+ Started GET "/localtower/migrations" for 127.0.0.1 at 2017-03-08 18:23:48 +0100
23229
+ Processing by Localtower::PagesController#migrations as HTML
23230
+ Rendering /Users/damln/Work/localtower/localtower/app/views/localtower/pages/migrations.html.erb within layouts/localtower/application
23231
+ Rendered /Users/damln/Work/localtower/localtower/app/views/localtower/pages/migrations.html.erb within layouts/localtower/application (2.3ms)
23232
+ Completed 200 OK in 27ms (Views: 14.5ms | ActiveRecord: 0.0ms)
23233
+
23234
+
23235
+ Started GET "/light-bootstrap-dashboard-master/assets/css/bootstrap.min.css" for 127.0.0.1 at 2017-03-08 18:23:48 +0100
23236
+ Started GET "/light-bootstrap-dashboard-master/assets/css/animate.min.css" for 127.0.0.1 at 2017-03-08 18:23:48 +0100
23237
+ Started GET "/light-bootstrap-dashboard-master/assets/css/light-bootstrap-dashboard.css" for 127.0.0.1 at 2017-03-08 18:23:48 +0100
23238
+ Started GET "/css/app.css" for 127.0.0.1 at 2017-03-08 18:23:48 +0100
23239
+ Started GET "/light-bootstrap-dashboard-master/assets/css/pe-icon-7-stroke.css" for 127.0.0.1 at 2017-03-08 18:23:48 +0100
23240
+ Started GET "/light-bootstrap-dashboard-master/assets/js/bootstrap.min.js" for 127.0.0.1 at 2017-03-08 18:23:48 +0100
23241
+ Started GET "/light-bootstrap-dashboard-master/assets/js/light-bootstrap-dashboard.js" for 127.0.0.1 at 2017-03-08 18:23:48 +0100
23242
+ Started GET "/light-bootstrap-dashboard-master/assets/js/bootstrap-checkbox-radio-switch.js" for 127.0.0.1 at 2017-03-08 18:23:48 +0100
23243
+ Started GET "/js/app.js" for 127.0.0.1 at 2017-03-08 18:23:48 +0100
23244
+ Started GET "/light-bootstrap-dashboard-master/assets/js/jquery-1.10.2.js" for 127.0.0.1 at 2017-03-08 18:23:48 +0100
23245
+ Started POST "/localtower/migrations" for 127.0.0.1 at 2017-03-08 18:23:54 +0100
23246
+ Processing by Localtower::PagesController#post_migrations as HTML
23247
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"qx6y70DAm/4VjkGe6zPeqP/yLwkfCopWxLAmXWPvQkp8hSo6SjJ8xu4gQM3rUCCWZKwSO3chKupptRWVymXtYw==", "migrations"=>{"migration_name"=>"", "migrations"=>[{"action"=>"add_column", "table_name"=>"animals", "column"=>"okkk", "column_list"=>"", "new_column_name"=>"", "column_type"=>"string", "nullable"=>"on"}], "run_migrate"=>"true"}}
23248
+  (0.2ms) SELECT pg_try_advisory_lock(268089350951355045);
23249
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
23250
+ Migrating to ChangeTheModelAtTime1488993834 (20170308172358)
23251
+  (0.3ms) BEGIN
23252
+  (0.6ms) ALTER TABLE "animals" ADD "okkk" character varying
23253
+ SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170308172358"]]
23254
+  (5.9ms) COMMIT
23255
+ ActiveRecord::InternalMetadata Load (0.6ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
23256
+  (0.2ms) BEGIN
23257
+ SQL (0.5ms) UPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3 [["value", "development"], ["updated_at", 2017-03-08 17:24:02 UTC], ["key", "environment"]]
23258
+  (4.2ms) COMMIT
23259
+  (1.5ms) SELECT pg_advisory_unlock(268089350951355045)
23260
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
23261
+ Redirected to http://localhost:3000/localtower/migrations
23262
+ Completed 302 Found in 8014ms (ActiveRecord: 0.0ms)
23263
+
23264
+
23265
+ Started GET "/localtower/migrations" for 127.0.0.1 at 2017-03-08 18:24:02 +0100
23266
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
23267
+ Processing by Localtower::PagesController#migrations as HTML
23268
+ Rendering /Users/damln/Work/localtower/localtower/app/views/localtower/pages/migrations.html.erb within layouts/localtower/application
23269
+ Rendered /Users/damln/Work/localtower/localtower/app/views/localtower/pages/migrations.html.erb within layouts/localtower/application (2.8ms)
23270
+ Completed 200 OK in 16ms (Views: 11.4ms | ActiveRecord: 0.0ms)
23271
+
23272
+
23273
+ Started GET "/light-bootstrap-dashboard-master/assets/css/bootstrap.min.css" for 127.0.0.1 at 2017-03-08 18:24:02 +0100
23274
+ Started GET "/light-bootstrap-dashboard-master/assets/css/light-bootstrap-dashboard.css" for 127.0.0.1 at 2017-03-08 18:24:02 +0100
23275
+ Started GET "/light-bootstrap-dashboard-master/assets/css/animate.min.css" for 127.0.0.1 at 2017-03-08 18:24:02 +0100
23276
+ Started GET "/light-bootstrap-dashboard-master/assets/js/jquery-1.10.2.js" for 127.0.0.1 at 2017-03-08 18:24:02 +0100
23277
+ Started GET "/css/app.css" for 127.0.0.1 at 2017-03-08 18:24:02 +0100
23278
+ Started GET "/light-bootstrap-dashboard-master/assets/js/bootstrap.min.js" for 127.0.0.1 at 2017-03-08 18:24:02 +0100
23279
+ Started GET "/light-bootstrap-dashboard-master/assets/js/bootstrap-checkbox-radio-switch.js" for 127.0.0.1 at 2017-03-08 18:24:02 +0100
23280
+ Started GET "/light-bootstrap-dashboard-master/assets/js/light-bootstrap-dashboard.js" for 127.0.0.1 at 2017-03-08 18:24:02 +0100
23281
+ Started GET "/js/app.js" for 127.0.0.1 at 2017-03-08 18:24:02 +0100
23282
+ Started GET "/light-bootstrap-dashboard-master/assets/css/pe-icon-7-stroke.css" for 127.0.0.1 at 2017-03-08 18:24:02 +0100
23283
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
23284
+  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]
23285
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
23286
+  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]
23287
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
23288
+  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]
23289
+  (8657.9ms) DROP DATABASE IF EXISTS "localtower_dummy"
23290
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
23291
+  (0.5ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]
23292
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
23293
+  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]
23294
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
23295
+  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]
23296
+  (198.3ms) DROP DATABASE IF EXISTS "localtower_dummy"
23297
+  (567.1ms) CREATE DATABASE "localtower_dummy" ENCODING = 'utf8'
23298
+ SQL (2.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
23299
+  (4.7ms) CREATE TABLE "animal_houses" ("id" serial primary key, "animal_id" integer, "house_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
23300
+  (1.1ms) CREATE INDEX "index_animal_houses_on_animal_id" ON "animal_houses" USING btree ("animal_id")
23301
+  (1.1ms) CREATE INDEX "index_animal_houses_on_house_id" ON "animal_houses" USING btree ("house_id")
23302
+  (3.1ms) CREATE TABLE "animals" ("id" serial primary key, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "okkk" character varying)
23303
+  (3.5ms) CREATE TABLE "houses" ("id" serial primary key, "title" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
23304
+  (2.0ms) ALTER TABLE "animal_houses" ADD CONSTRAINT "fk_rails_b402154971"
23305
+ FOREIGN KEY ("animal_id")
23306
+ REFERENCES "animals" ("id")
23307
+ 
23308
+  (1.1ms) ALTER TABLE "animal_houses" ADD CONSTRAINT "fk_rails_0890c337b0"
23309
+ FOREIGN KEY ("house_id")
23310
+ REFERENCES "houses" ("id")
23311
+ 
23312
+  (2.1ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)
23313
+  (0.4ms) SELECT version FROM "schema_migrations"
23314
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20170308172358')
23315
+  (0.5ms) INSERT INTO schema_migrations (version) VALUES
23316
+ ('20170308172258'),
23317
+ ('20170308172317'),
23318
+ ('20170308172334');
23319
+
23320
+ 
23321
+  (2.9ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
23322
+ ActiveRecord::InternalMetadata Load (0.6ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
23323
+  (0.2ms) BEGIN
23324
+ SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", 2017-03-08 17:25:05 UTC], ["updated_at", 2017-03-08 17:25:05 UTC]]
23325
+  (6.4ms) COMMIT
23326
+ ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
23327
+  (0.2ms) BEGIN
23328
+  (0.2ms) COMMIT
@@ -11770,3 +11770,289 @@ Coverage report generated for RSpec to /Users/damln/Work/localtower/localtower/c
11770
11770
  [2017-03-08 18:15:47 +0100] - DOING...: cd '/Users/damln/Work/localtower/localtower/spec/dummy' && bundle exec rake db:migrate RAILS_ENV=test
11771
11771
  [2017-03-08 18:15:50 +0100] -
11772
11772
  [2017-03-08 18:15:50 +0100] - DONE: cd '/Users/damln/Work/localtower/localtower/spec/dummy' && bundle exec rake db:migrate RAILS_ENV=test in 2.821587 sec
11773
+ [2017-03-08 18:22:53 +0100] - DOING...: cd '/Users/damln/Work/localtower/localtower/spec/dummy' && bundle exec rails g model Animal name:string
11774
+ [2017-03-08 18:22:58 +0100] - No Pry.
11775
+ invoke active_record
11776
+ create db/migrate/20170308172258_create_animals.rb
11777
+ create app/models/application_record.rb
11778
+ create app/models/animal.rb
11779
+
11780
+ [2017-03-08 18:22:58 +0100] - DONE: cd '/Users/damln/Work/localtower/localtower/spec/dummy' && bundle exec rails g model Animal name:string in 5.074654 sec
11781
+ [2017-03-08 18:22:58 +0100] - DOING...: cd '/Users/damln/Work/localtower/localtower/spec/dummy' && bundle exec rake db:migrate
11782
+ [2017-03-08 18:23:01 +0100] - No Pry.
11783
+ == 20170308172258 CreateAnimals: migrating ====================================
11784
+ -- create_table(:animals)
11785
+ -> 0.0276s
11786
+ == 20170308172258 CreateAnimals: migrated (0.0277s) ===========================
11787
+
11788
+
11789
+ [2017-03-08 18:23:01 +0100] - DONE: cd '/Users/damln/Work/localtower/localtower/spec/dummy' && bundle exec rake db:migrate in 3.226425 sec
11790
+ [2017-03-08 18:23:01 +0100] - DOING...: cd '/Users/damln/Work/localtower/localtower/spec/dummy' && bundle exec rake db:migrate RAILS_ENV=test
11791
+ [2017-03-08 18:23:04 +0100] - No Pry.
11792
+
11793
+ [2017-03-08 18:23:04 +0100] - DONE: cd '/Users/damln/Work/localtower/localtower/spec/dummy' && bundle exec rake db:migrate RAILS_ENV=test in 2.87205 sec
11794
+ [2017-03-08 18:23:14 +0100] - DOING...: cd '/Users/damln/Work/localtower/localtower/spec/dummy' && bundle exec rails g model House title:string
11795
+ [2017-03-08 18:23:17 +0100] - No Pry.
11796
+ invoke active_record
11797
+ create db/migrate/20170308172317_create_houses.rb
11798
+ create app/models/house.rb
11799
+
11800
+ [2017-03-08 18:23:17 +0100] - DONE: cd '/Users/damln/Work/localtower/localtower/spec/dummy' && bundle exec rails g model House title:string in 3.419239 sec
11801
+ [2017-03-08 18:23:17 +0100] - DOING...: cd '/Users/damln/Work/localtower/localtower/spec/dummy' && bundle exec rake db:migrate
11802
+ [2017-03-08 18:23:20 +0100] - No Pry.
11803
+ == 20170308172317 CreateHouses: migrating =====================================
11804
+ -- create_table(:houses)
11805
+ -> 0.0170s
11806
+ == 20170308172317 CreateHouses: migrated (0.0171s) ============================
11807
+
11808
+
11809
+ [2017-03-08 18:23:20 +0100] - DONE: cd '/Users/damln/Work/localtower/localtower/spec/dummy' && bundle exec rake db:migrate in 3.172219 sec
11810
+ [2017-03-08 18:23:20 +0100] - DOING...: cd '/Users/damln/Work/localtower/localtower/spec/dummy' && bundle exec rake db:migrate RAILS_ENV=test
11811
+ [2017-03-08 18:23:23 +0100] - No Pry.
11812
+
11813
+ [2017-03-08 18:23:23 +0100] - DONE: cd '/Users/damln/Work/localtower/localtower/spec/dummy' && bundle exec rake db:migrate RAILS_ENV=test in 2.966746 sec
11814
+ [2017-03-08 18:23:30 +0100] - DOING...: cd '/Users/damln/Work/localtower/localtower/spec/dummy' && bundle exec rails g model AnimalHouse animal:references house:references
11815
+ [2017-03-08 18:23:34 +0100] - No Pry.
11816
+ invoke active_record
11817
+ create db/migrate/20170308172334_create_animal_houses.rb
11818
+ create app/models/animal_house.rb
11819
+
11820
+ [2017-03-08 18:23:34 +0100] - DONE: cd '/Users/damln/Work/localtower/localtower/spec/dummy' && bundle exec rails g model AnimalHouse animal:references house:references in 3.805967 sec
11821
+ [2017-03-08 18:23:34 +0100] - DOING...: cd '/Users/damln/Work/localtower/localtower/spec/dummy' && bundle exec rake db:migrate
11822
+ [2017-03-08 18:23:37 +0100] - No Pry.
11823
+ == 20170308172334 CreateAnimalHouses: migrating ===============================
11824
+ -- create_table(:animal_houses)
11825
+ -> 0.0331s
11826
+ == 20170308172334 CreateAnimalHouses: migrated (0.0331s) ======================
11827
+
11828
+
11829
+ [2017-03-08 18:23:37 +0100] - DONE: cd '/Users/damln/Work/localtower/localtower/spec/dummy' && bundle exec rake db:migrate in 3.18508 sec
11830
+ [2017-03-08 18:23:37 +0100] - DOING...: cd '/Users/damln/Work/localtower/localtower/spec/dummy' && bundle exec rake db:migrate RAILS_ENV=test
11831
+ [2017-03-08 18:23:40 +0100] - No Pry.
11832
+
11833
+ [2017-03-08 18:23:40 +0100] - DONE: cd '/Users/damln/Work/localtower/localtower/spec/dummy' && bundle exec rake db:migrate RAILS_ENV=test in 2.975998 sec
11834
+ [2017-03-08 18:23:54 +0100] - DOING...: cd '/Users/damln/Work/localtower/localtower/spec/dummy' && bundle exec rails g migration ChangeTheModelAtTime1488993834
11835
+ [2017-03-08 18:23:58 +0100] - No Pry.
11836
+ invoke active_record
11837
+ create db/migrate/20170308172358_change_the_model_at_time1488993834.rb
11838
+
11839
+ [2017-03-08 18:23:58 +0100] - DONE: cd '/Users/damln/Work/localtower/localtower/spec/dummy' && bundle exec rails g migration ChangeTheModelAtTime1488993834 in 4.759944 sec
11840
+ [2017-03-08 18:23:58 +0100] - DOING...: bundle exec rake db:migrate
11841
+ [2017-03-08 18:24:02 +0100] - No Pry.
11842
+ == 20170308172358 ChangeTheModelAtTime1488993834: migrating ===================
11843
+ -- add_column(:animals, :okkk, :string)
11844
+ -> 0.0009s
11845
+ == 20170308172358 ChangeTheModelAtTime1488993834: migrated (0.0010s) ==========
11846
+
11847
+
11848
+ [2017-03-08 18:24:02 +0100] - DONE: bundle exec rake db:migrate in 3.247236 sec
11849
+ [2017-03-08 18:25:08 +0100] - DOING...: cd '/Users/damln/Work/localtower/localtower/spec/dummy' && bundle exec rails g migration ChangeTheModelPostAtTime1488993908
11850
+ [2017-03-08 18:25:11 +0100] - invoke active_record
11851
+ create db/migrate/20170308172511_change_the_model_post_at_time1488993908.rb
11852
+
11853
+ [2017-03-08 18:25:11 +0100] - DONE: cd '/Users/damln/Work/localtower/localtower/spec/dummy' && bundle exec rails g migration ChangeTheModelPostAtTime1488993908 in 2.809879 sec
11854
+ [2017-03-08 18:25:11 +0100] - DOING...: bundle exec rake db:migrate
11855
+ [2017-03-08 18:25:13 +0100] - == 20170308172511 ChangeTheModelPostAtTime1488993908: migrating ===============
11856
+ -- create_table(:posts)
11857
+ -> 0.0094s
11858
+ == 20170308172511 ChangeTheModelPostAtTime1488993908: migrated (0.0094s) ======
11859
+
11860
+
11861
+ [2017-03-08 18:25:13 +0100] - DONE: bundle exec rake db:migrate in 2.791401 sec
11862
+ [2017-03-08 18:25:13 +0100] - DOING...: cd '/Users/damln/Work/localtower/localtower/spec/dummy' && bundle exec rails g migration ChangeTheModelPostAtTime1488993913
11863
+ [2017-03-08 18:25:16 +0100] - invoke active_record
11864
+ create db/migrate/20170308172516_change_the_model_post_at_time1488993913.rb
11865
+
11866
+ [2017-03-08 18:25:16 +0100] - DONE: cd '/Users/damln/Work/localtower/localtower/spec/dummy' && bundle exec rails g migration ChangeTheModelPostAtTime1488993913 in 2.739959 sec
11867
+ [2017-03-08 18:25:16 +0100] - DOING...: bundle exec rake db:migrate
11868
+ [2017-03-08 18:25:19 +0100] - == 20170308172516 ChangeTheModelPostAtTime1488993913: migrating ===============
11869
+ -- add_column(:posts, :tags, :text, {:default=>[], :array=>true})
11870
+ -> 0.0160s
11871
+ -- add_index(:posts, :tags, {:using=>:gin})
11872
+ -> 0.0037s
11873
+ -- add_column(:posts, :views, :integer, {:default=>0, :null=>false, :index=>true})
11874
+ -> 0.0062s
11875
+ -- add_column(:posts, :content, :text)
11876
+ -> 0.0005s
11877
+ -- add_column(:posts, :title, :string, {:index=>true})
11878
+ -> 0.0005s
11879
+ == 20170308172516 ChangeTheModelPostAtTime1488993913: migrated (0.0271s) ======
11880
+
11881
+
11882
+ [2017-03-08 18:25:19 +0100] - DONE: bundle exec rake db:migrate in 2.492429 sec
11883
+ [2017-03-08 18:25:19 +0100] - DOING...: cd '/Users/damln/Work/localtower/localtower/spec/dummy' && bundle exec rails g migration ChangeTheModelPostAtTime1488993919
11884
+ [2017-03-08 18:25:21 +0100] - invoke active_record
11885
+ create db/migrate/20170308172521_change_the_model_post_at_time1488993919.rb
11886
+
11887
+ [2017-03-08 18:25:21 +0100] - DONE: cd '/Users/damln/Work/localtower/localtower/spec/dummy' && bundle exec rails g migration ChangeTheModelPostAtTime1488993919 in 2.691359 sec
11888
+ [2017-03-08 18:25:21 +0100] - DOING...: bundle exec rake db:migrate
11889
+ [2017-03-08 18:25:24 +0100] - == 20170308172521 ChangeTheModelPostAtTime1488993919: migrating ===============
11890
+ == 20170308172521 ChangeTheModelPostAtTime1488993919: migrated (0.0000s) ======
11891
+
11892
+
11893
+ [2017-03-08 18:25:24 +0100] - DONE: bundle exec rake db:migrate in 2.446219 sec
11894
+ [2017-03-08 18:25:24 +0100] - DOING...: cd '/Users/damln/Work/localtower/localtower/spec/dummy' && bundle exec rails g migration ChangeTheModelPostAtTime1488993924
11895
+ [2017-03-08 18:25:27 +0100] - invoke active_record
11896
+ create db/migrate/20170308172527_change_the_model_post_at_time1488993924.rb
11897
+
11898
+ [2017-03-08 18:25:27 +0100] - DONE: cd '/Users/damln/Work/localtower/localtower/spec/dummy' && bundle exec rails g migration ChangeTheModelPostAtTime1488993924 in 2.754875 sec
11899
+ [2017-03-08 18:25:27 +0100] - DOING...: bundle exec rake db:migrate
11900
+ [2017-03-08 18:25:29 +0100] - == 20170308172527 ChangeTheModelPostAtTime1488993924: migrating ===============
11901
+ -- rename_column(:posts, :content, :content_new)
11902
+ -> 0.0036s
11903
+ == 20170308172527 ChangeTheModelPostAtTime1488993924: migrated (0.0037s) ======
11904
+
11905
+
11906
+ [2017-03-08 18:25:29 +0100] - DONE: bundle exec rake db:migrate in 2.430666 sec
11907
+ [2017-03-08 18:25:29 +0100] - DOING...: cd '/Users/damln/Work/localtower/localtower/spec/dummy' && bundle exec rails g migration ChangeTheModelPostAtTime1488993929
11908
+ [2017-03-08 18:25:32 +0100] - invoke active_record
11909
+ create db/migrate/20170308172532_change_the_model_post_at_time1488993929.rb
11910
+
11911
+ [2017-03-08 18:25:32 +0100] - DONE: cd '/Users/damln/Work/localtower/localtower/spec/dummy' && bundle exec rails g migration ChangeTheModelPostAtTime1488993929 in 2.793096 sec
11912
+ [2017-03-08 18:25:32 +0100] - DOING...: bundle exec rake db:migrate
11913
+ [2017-03-08 18:25:34 +0100] - == 20170308172532 ChangeTheModelPostAtTime1488993929: migrating ===============
11914
+ -- rename_column(:posts, :views, :views_by_users)
11915
+ -> 0.0051s
11916
+ -- remove_column(:posts, :title)
11917
+ -> 0.0007s
11918
+ == 20170308172532 ChangeTheModelPostAtTime1488993929: migrated (0.0059s) ======
11919
+
11920
+
11921
+ [2017-03-08 18:25:34 +0100] - DONE: bundle exec rake db:migrate in 2.521822 sec
11922
+ [2017-03-08 18:25:34 +0100] - DOING...: cd '/Users/damln/Work/localtower/localtower/spec/dummy' && bundle exec rails g migration ChangeTheModelPostAtTime1488993934
11923
+ [2017-03-08 18:25:37 +0100] - invoke active_record
11924
+ create db/migrate/20170308172537_change_the_model_post_at_time1488993934.rb
11925
+
11926
+ [2017-03-08 18:25:37 +0100] - DONE: cd '/Users/damln/Work/localtower/localtower/spec/dummy' && bundle exec rails g migration ChangeTheModelPostAtTime1488993934 in 2.672884 sec
11927
+ [2017-03-08 18:25:37 +0100] - DOING...: bundle exec rake db:migrate
11928
+ [2017-03-08 18:25:40 +0100] - == 20170308172537 ChangeTheModelPostAtTime1488993934: migrating ===============
11929
+ -- add_index(:posts, :views_by_users)
11930
+ -> 0.0120s
11931
+ -- change_column(:posts, :content_new, :string)
11932
+ -> 0.0015s
11933
+ == 20170308172537 ChangeTheModelPostAtTime1488993934: migrated (0.0136s) ======
11934
+
11935
+
11936
+ [2017-03-08 18:25:40 +0100] - DONE: bundle exec rake db:migrate in 2.500358 sec
11937
+ [2017-03-08 18:25:40 +0100] - DOING...: cd '/Users/damln/Work/localtower/localtower/spec/dummy' && bundle exec rails g migration ChangeTheModelPostAtTime1488993940
11938
+ [2017-03-08 18:25:42 +0100] - invoke active_record
11939
+ create db/migrate/20170308172542_change_the_model_post_at_time1488993940.rb
11940
+
11941
+ [2017-03-08 18:25:42 +0100] - DONE: cd '/Users/damln/Work/localtower/localtower/spec/dummy' && bundle exec rails g migration ChangeTheModelPostAtTime1488993940 in 2.725915 sec
11942
+ [2017-03-08 18:25:42 +0100] - DOING...: bundle exec rake db:migrate
11943
+ [2017-03-08 18:25:45 +0100] - == 20170308172542 ChangeTheModelPostAtTime1488993940: migrating ===============
11944
+ -- add_index(:posts, :content_new)
11945
+ -> 0.0122s
11946
+ == 20170308172542 ChangeTheModelPostAtTime1488993940: migrated (0.0123s) ======
11947
+
11948
+
11949
+ [2017-03-08 18:25:45 +0100] - DONE: bundle exec rake db:migrate in 2.418224 sec
11950
+ [2017-03-08 18:25:45 +0100] - DOING...: cd '/Users/damln/Work/localtower/localtower/spec/dummy' && bundle exec rails g migration ChangeTheModelPostAtTime1488993945
11951
+ [2017-03-08 18:25:47 +0100] - invoke active_record
11952
+ create db/migrate/20170308172547_change_the_model_post_at_time1488993945.rb
11953
+
11954
+ [2017-03-08 18:25:47 +0100] - DONE: cd '/Users/damln/Work/localtower/localtower/spec/dummy' && bundle exec rails g migration ChangeTheModelPostAtTime1488993945 in 2.678198 sec
11955
+ [2017-03-08 18:25:47 +0100] - DOING...: bundle exec rake db:migrate
11956
+ [2017-03-08 18:25:50 +0100] - == 20170308172547 ChangeTheModelPostAtTime1488993945: migrating ===============
11957
+ -- remove_index(:posts, :views_by_users)
11958
+ -> 0.0060s
11959
+ == 20170308172547 ChangeTheModelPostAtTime1488993945: migrated (0.0060s) ======
11960
+
11961
+
11962
+ [2017-03-08 18:25:50 +0100] - DONE: bundle exec rake db:migrate in 2.448116 sec
11963
+ [2017-03-08 18:25:50 +0100] - DOING...: cd '/Users/damln/Work/localtower/localtower/spec/dummy' && bundle exec rails g migration ChangeTheModelPostAtTime1488993950
11964
+ [2017-03-08 18:25:52 +0100] - invoke active_record
11965
+ create db/migrate/20170308172552_change_the_model_post_at_time1488993950.rb
11966
+
11967
+ [2017-03-08 18:25:52 +0100] - DONE: cd '/Users/damln/Work/localtower/localtower/spec/dummy' && bundle exec rails g migration ChangeTheModelPostAtTime1488993950 in 2.670357 sec
11968
+ [2017-03-08 18:25:52 +0100] - DOING...: bundle exec rake db:migrate
11969
+ [2017-03-08 18:25:55 +0100] - == 20170308172552 ChangeTheModelPostAtTime1488993950: migrating ===============
11970
+ -- drop_table(:posts, {:force=>:cascade})
11971
+ -> 0.0019s
11972
+ == 20170308172552 ChangeTheModelPostAtTime1488993950: migrated (0.0019s) ======
11973
+
11974
+
11975
+ [2017-03-08 18:25:55 +0100] - DONE: bundle exec rake db:migrate in 2.463495 sec
11976
+ [2017-03-08 18:25:55 +0100] - DOING...: cd '/Users/damln/Work/localtower/localtower/spec/dummy' && bundle exec rails g model Post title:string:index content:text
11977
+ [2017-03-08 18:25:58 +0100] - invoke active_record
11978
+ create db/migrate/20170308172558_create_posts.rb
11979
+ create app/models/application_record.rb
11980
+ create app/models/post.rb
11981
+
11982
+ [2017-03-08 18:25:58 +0100] - DONE: cd '/Users/damln/Work/localtower/localtower/spec/dummy' && bundle exec rails g model Post title:string:index content:text in 2.707027 sec
11983
+ [2017-03-08 18:25:58 +0100] - DOING...: cd '/Users/damln/Work/localtower/localtower/spec/dummy' && bundle exec rake db:migrate
11984
+ [2017-03-08 18:26:00 +0100] - == 20170308172558 CreatePosts: migrating ======================================
11985
+ -- create_table(:posts)
11986
+ -> 0.0044s
11987
+ -- add_index(:posts, :title)
11988
+ -> 0.0036s
11989
+ == 20170308172558 CreatePosts: migrated (0.0081s) =============================
11990
+
11991
+
11992
+ [2017-03-08 18:26:00 +0100] - DONE: cd '/Users/damln/Work/localtower/localtower/spec/dummy' && bundle exec rake db:migrate in 2.43753 sec
11993
+ [2017-03-08 18:26:00 +0100] - DOING...: cd '/Users/damln/Work/localtower/localtower/spec/dummy' && bundle exec rake db:migrate RAILS_ENV=test
11994
+ [2017-03-08 18:26:02 +0100] -
11995
+ [2017-03-08 18:26:02 +0100] - DONE: cd '/Users/damln/Work/localtower/localtower/spec/dummy' && bundle exec rake db:migrate RAILS_ENV=test in 2.379291 sec
11996
+ [2017-03-08 18:26:03 +0100] - DOING...: cd '/Users/damln/Work/localtower/localtower/spec/dummy' && bundle exec rails g model User name:string:index metadata:jsonb
11997
+ [2017-03-08 18:26:05 +0100] - invoke active_record
11998
+ create db/migrate/20170308172605_create_users.rb
11999
+ create app/models/user.rb
12000
+
12001
+ [2017-03-08 18:26:05 +0100] - DONE: cd '/Users/damln/Work/localtower/localtower/spec/dummy' && bundle exec rails g model User name:string:index metadata:jsonb in 2.713811 sec
12002
+ [2017-03-08 18:26:05 +0100] - DOING...: cd '/Users/damln/Work/localtower/localtower/spec/dummy' && bundle exec rake db:migrate
12003
+ [2017-03-08 18:26:08 +0100] - == 20170308172605 CreateUsers: migrating ======================================
12004
+ -- create_table(:users)
12005
+ -> 0.0141s
12006
+ -- add_index(:users, :name)
12007
+ -> 0.0040s
12008
+ == 20170308172605 CreateUsers: migrated (0.0182s) =============================
12009
+
12010
+
12011
+ [2017-03-08 18:26:08 +0100] - DONE: cd '/Users/damln/Work/localtower/localtower/spec/dummy' && bundle exec rake db:migrate in 2.367112 sec
12012
+ [2017-03-08 18:26:08 +0100] - DOING...: cd '/Users/damln/Work/localtower/localtower/spec/dummy' && bundle exec rake db:migrate RAILS_ENV=test
12013
+ [2017-03-08 18:26:10 +0100] -
12014
+ [2017-03-08 18:26:10 +0100] - DONE: cd '/Users/damln/Work/localtower/localtower/spec/dummy' && bundle exec rake db:migrate RAILS_ENV=test in 2.40352 sec
12015
+ [2017-03-08 18:26:10 +0100] - DOING...: cd '/Users/damln/Work/localtower/localtower/spec/dummy' && bundle exec rails g model Post title:string:index content:text
12016
+ [2017-03-08 18:26:13 +0100] - invoke active_record
12017
+ create db/migrate/20170308172613_create_posts.rb
12018
+ create app/models/application_record.rb
12019
+ create app/models/post.rb
12020
+
12021
+ [2017-03-08 18:26:13 +0100] - DONE: cd '/Users/damln/Work/localtower/localtower/spec/dummy' && bundle exec rails g model Post title:string:index content:text in 2.812785 sec
12022
+ [2017-03-08 18:26:13 +0100] - DOING...: cd '/Users/damln/Work/localtower/localtower/spec/dummy' && bundle exec rails g model User name:string:index metadata:jsonb
12023
+ [2017-03-08 18:26:16 +0100] - invoke active_record
12024
+ create db/migrate/20170308172616_create_users.rb
12025
+ create app/models/user.rb
12026
+
12027
+ [2017-03-08 18:26:16 +0100] - DONE: cd '/Users/damln/Work/localtower/localtower/spec/dummy' && bundle exec rails g model User name:string:index metadata:jsonb in 2.670797 sec
12028
+ [2017-03-08 18:26:16 +0100] - DOING...: cd '/Users/damln/Work/localtower/localtower/spec/dummy' && bundle exec rails g model UserPost user:references post:references
12029
+ [2017-03-08 18:26:18 +0100] - invoke active_record
12030
+ create db/migrate/20170308172618_create_user_posts.rb
12031
+ create app/models/user_post.rb
12032
+
12033
+ [2017-03-08 18:26:18 +0100] - DONE: cd '/Users/damln/Work/localtower/localtower/spec/dummy' && bundle exec rails g model UserPost user:references post:references in 2.728198 sec
12034
+ [2017-03-08 18:26:18 +0100] - DOING...: cd '/Users/damln/Work/localtower/localtower/spec/dummy' && bundle exec rake db:migrate
12035
+ [2017-03-08 18:26:21 +0100] - == 20170308172613 CreatePosts: migrating ======================================
12036
+ -- create_table(:posts)
12037
+ -> 0.0055s
12038
+ -- add_index(:posts, :title)
12039
+ -> 0.0036s
12040
+ == 20170308172613 CreatePosts: migrated (0.0093s) =============================
12041
+
12042
+ == 20170308172616 CreateUsers: migrating ======================================
12043
+ -- create_table(:users)
12044
+ -> 0.0046s
12045
+ -- add_index(:users, :name)
12046
+ -> 0.0033s
12047
+ == 20170308172616 CreateUsers: migrated (0.0080s) =============================
12048
+
12049
+ == 20170308172618 CreateUserPosts: migrating ==================================
12050
+ -- create_table(:user_posts)
12051
+ -> 0.0117s
12052
+ == 20170308172618 CreateUserPosts: migrated (0.0117s) =========================
12053
+
12054
+
12055
+ [2017-03-08 18:26:21 +0100] - DONE: cd '/Users/damln/Work/localtower/localtower/spec/dummy' && bundle exec rake db:migrate in 2.390458 sec
12056
+ [2017-03-08 18:26:21 +0100] - DOING...: cd '/Users/damln/Work/localtower/localtower/spec/dummy' && bundle exec rake db:migrate RAILS_ENV=test
12057
+ [2017-03-08 18:26:23 +0100] -
12058
+ [2017-03-08 18:26:23 +0100] - DONE: cd '/Users/damln/Work/localtower/localtower/spec/dummy' && bundle exec rake db:migrate RAILS_ENV=test in 2.439379 sec
@@ -9592,3 +9592,244 @@ FOREIGN KEY ("post_id")
9592
9592
   (2.9ms) DROP TABLE if exists USERS cascade;
9593
9593
   (2.2ms) DROP TABLE if exists POSTS cascade;
9594
9594
   (4.4ms) DROP TABLE if exists USER_POSTS cascade;
9595
+  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
9596
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
9597
+ ActiveRecord::InternalMetadata Load (0.7ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
9598
+  (0.3ms) BEGIN
9599
+ SQL (0.5ms) UPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3 [["value", "test"], ["updated_at", 2017-03-08 17:23:04 UTC], ["key", "environment"]]
9600
+  (0.4ms) COMMIT
9601
+  (0.2ms) SELECT pg_advisory_unlock(268089350951355045)
9602
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
9603
+  (0.2ms) SELECT pg_try_advisory_lock(268089350951355045);
9604
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
9605
+ ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
9606
+  (0.2ms) BEGIN
9607
+ SQL (0.4ms) UPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3 [["value", "test"], ["updated_at", 2017-03-08 17:23:23 UTC], ["key", "environment"]]
9608
+  (0.5ms) COMMIT
9609
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
9610
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
9611
+  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
9612
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
9613
+ ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
9614
+  (0.2ms) BEGIN
9615
+ SQL (0.4ms) UPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3 [["value", "test"], ["updated_at", 2017-03-08 17:23:40 UTC], ["key", "environment"]]
9616
+  (0.5ms) COMMIT
9617
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
9618
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
9619
+  (8.3ms) DROP TABLE if exists ANIMALS cascade;
9620
+  (8.6ms) DROP TABLE if exists HOUSES cascade;
9621
+  (8.1ms) DROP TABLE if exists ANIMAL_HOUSES cascade;
9622
+  (7.7ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
9623
+  (1.7ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
9624
+  (4.6ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)
9625
+  (19.3ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
9626
+  (1.4ms) SELECT pg_try_advisory_lock(268089350951355045);
9627
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
9628
+ Migrating to ChangeTheModelPostAtTime1488993908 (20170308172511)
9629
+  (0.3ms) BEGIN
9630
+  (8.9ms) CREATE TABLE "posts" ("id" serial primary key)
9631
+ SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170308172511"]]
9632
+  (6.5ms) COMMIT
9633
+ ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
9634
+  (0.2ms) BEGIN
9635
+ SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2017-03-08 17:25:13 UTC], ["updated_at", 2017-03-08 17:25:13 UTC]]
9636
+  (0.5ms) COMMIT
9637
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
9638
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
9639
+  (0.5ms) SELECT pg_try_advisory_lock(268089350951355045);
9640
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
9641
+ Migrating to ChangeTheModelPostAtTime1488993913 (20170308172516)
9642
+  (0.3ms) BEGIN
9643
+  (15.1ms) ALTER TABLE "posts" ADD "tags" text[] DEFAULT '{}'
9644
+  (1.1ms) CREATE INDEX "index_posts_on_tags" ON "posts" USING gin ("tags")
9645
+  (3.8ms) ALTER TABLE "posts" ADD "views" integer DEFAULT 0 NOT NULL
9646
+  (0.3ms) ALTER TABLE "posts" ADD "content" text
9647
+  (0.3ms) ALTER TABLE "posts" ADD "title" character varying
9648
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170308172516"]]
9649
+  (1.6ms) COMMIT
9650
+ ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
9651
+  (0.2ms) BEGIN
9652
+  (0.2ms) COMMIT
9653
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
9654
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
9655
+  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
9656
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
9657
+ Migrating to ChangeTheModelPostAtTime1488993919 (20170308172521)
9658
+  (0.2ms) BEGIN
9659
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170308172521"]]
9660
+  (0.5ms) COMMIT
9661
+ ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
9662
+  (0.2ms) BEGIN
9663
+  (0.2ms) COMMIT
9664
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
9665
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
9666
+  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
9667
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
9668
+ Migrating to ChangeTheModelPostAtTime1488993924 (20170308172527)
9669
+  (0.2ms) BEGIN
9670
+  (0.3ms) ALTER TABLE "posts" RENAME COLUMN "content" TO "content_new"
9671
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170308172527"]]
9672
+  (0.4ms) COMMIT
9673
+ ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
9674
+  (0.2ms) BEGIN
9675
+  (0.1ms) COMMIT
9676
+  (0.2ms) SELECT pg_advisory_unlock(268089350951355045)
9677
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
9678
+  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045);
9679
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
9680
+ Migrating to ChangeTheModelPostAtTime1488993929 (20170308172532)
9681
+  (0.2ms) BEGIN
9682
+  (0.7ms) ALTER TABLE "posts" RENAME COLUMN "views" TO "views_by_users"
9683
+  (0.6ms) ALTER TABLE "posts" DROP "title"
9684
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170308172532"]]
9685
+  (8.7ms) COMMIT
9686
+ ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
9687
+  (0.2ms) BEGIN
9688
+  (0.2ms) COMMIT
9689
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
9690
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
9691
+  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
9692
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
9693
+ Migrating to ChangeTheModelPostAtTime1488993934 (20170308172537)
9694
+  (0.5ms) BEGIN
9695
+  (9.5ms) CREATE INDEX "index_posts_on_views_by_users" ON "posts" ("views_by_users")
9696
+  (1.0ms) ALTER TABLE "posts" ALTER COLUMN "content_new" TYPE character varying
9697
+ SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170308172537"]]
9698
+  (0.6ms) COMMIT
9699
+ ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
9700
+  (0.3ms) BEGIN
9701
+  (0.2ms) COMMIT
9702
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
9703
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
9704
+  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
9705
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
9706
+ Migrating to ChangeTheModelPostAtTime1488993940 (20170308172542)
9707
+  (0.3ms) BEGIN
9708
+  (9.6ms) CREATE INDEX "index_posts_on_content_new" ON "posts" ("content_new")
9709
+ SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170308172542"]]
9710
+  (0.7ms) COMMIT
9711
+ ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
9712
+  (0.2ms) BEGIN
9713
+  (0.2ms) COMMIT
9714
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
9715
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
9716
+  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045);
9717
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
9718
+ Migrating to ChangeTheModelPostAtTime1488993945 (20170308172547)
9719
+  (0.2ms) BEGIN
9720
+  (0.7ms) DROP INDEX "index_posts_on_views_by_users"
9721
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170308172547"]]
9722
+  (9.6ms) COMMIT
9723
+ ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
9724
+  (0.3ms) BEGIN
9725
+  (0.3ms) COMMIT
9726
+  (0.7ms) SELECT pg_advisory_unlock(268089350951355045)
9727
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
9728
+  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
9729
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
9730
+ Migrating to ChangeTheModelPostAtTime1488993950 (20170308172552)
9731
+  (0.2ms) BEGIN
9732
+  (1.7ms) DROP TABLE "posts" CASCADE
9733
+ SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170308172552"]]
9734
+  (10.0ms) COMMIT
9735
+ ActiveRecord::InternalMetadata Load (0.7ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
9736
+  (0.3ms) BEGIN
9737
+  (0.2ms) COMMIT
9738
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
9739
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
9740
+  (6.7ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
9741
+  (7.6ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
9742
+  (4.8ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)
9743
+  (3.5ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
9744
+  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045);
9745
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
9746
+ Migrating to CreatePosts (20170308172558)
9747
+  (0.3ms) BEGIN
9748
+  (4.0ms) CREATE TABLE "posts" ("id" serial primary key, "title" character varying, "content" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
9749
+  (1.1ms) CREATE INDEX "index_posts_on_title" ON "posts" ("title")
9750
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170308172558"]]
9751
+  (0.6ms) COMMIT
9752
+ ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
9753
+  (0.2ms) BEGIN
9754
+ SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2017-03-08 17:26:00 UTC], ["updated_at", 2017-03-08 17:26:00 UTC]]
9755
+  (0.4ms) COMMIT
9756
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
9757
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
9758
+  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045);
9759
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
9760
+ ActiveRecord::InternalMetadata Load (0.6ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
9761
+  (0.2ms) BEGIN
9762
+  (0.2ms) COMMIT
9763
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
9764
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
9765
+  (0.5ms) SELECT pg_try_advisory_lock(268089350951355045);
9766
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
9767
+ Migrating to CreateUsers (20170308172605)
9768
+  (0.3ms) BEGIN
9769
+  (13.6ms) CREATE TABLE "users" ("id" serial primary key, "name" character varying, "metadata" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
9770
+  (1.3ms) CREATE INDEX "index_users_on_name" ON "users" ("name")
9771
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170308172605"]]
9772
+  (0.6ms) COMMIT
9773
+ ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
9774
+  (0.3ms) BEGIN
9775
+  (0.3ms) COMMIT
9776
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
9777
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
9778
+  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045);
9779
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
9780
+ ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
9781
+  (0.2ms) BEGIN
9782
+  (0.2ms) COMMIT
9783
+  (0.2ms) SELECT pg_advisory_unlock(268089350951355045)
9784
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
9785
+  (8.7ms) DROP TABLE if exists USERS cascade;
9786
+  (7.4ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
9787
+  (7.3ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
9788
+  (2.0ms) DROP TABLE if exists POSTS cascade;
9789
+  (4.4ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)
9790
+  (3.2ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
9791
+  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045);
9792
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
9793
+ Migrating to CreatePosts (20170308172613)
9794
+  (0.2ms) BEGIN
9795
+  (5.0ms) CREATE TABLE "posts" ("id" serial primary key, "title" character varying, "content" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
9796
+  (1.1ms) CREATE INDEX "index_posts_on_title" ON "posts" ("title")
9797
+ SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170308172613"]]
9798
+  (0.8ms) COMMIT
9799
+ Migrating to CreateUsers (20170308172616)
9800
+  (0.4ms) BEGIN
9801
+  (4.1ms) CREATE TABLE "users" ("id" serial primary key, "name" character varying, "metadata" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
9802
+  (0.9ms) CREATE INDEX "index_users_on_name" ON "users" ("name")
9803
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170308172616"]]
9804
+  (0.7ms) COMMIT
9805
+ Migrating to CreateUserPosts (20170308172618)
9806
+  (0.3ms) BEGIN
9807
+  (3.9ms) CREATE TABLE "user_posts" ("id" serial primary key, "user_id" integer, "post_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, CONSTRAINT "fk_rails_6c6a346128"
9808
+ FOREIGN KEY ("user_id")
9809
+ REFERENCES "users" ("id")
9810
+ , CONSTRAINT "fk_rails_38a7c4b06f"
9811
+ FOREIGN KEY ("post_id")
9812
+ REFERENCES "posts" ("id")
9813
+ )
9814
+  (1.3ms) CREATE INDEX "index_user_posts_on_user_id" ON "user_posts" ("user_id")
9815
+  (1.0ms) CREATE INDEX "index_user_posts_on_post_id" ON "user_posts" ("post_id")
9816
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20170308172618"]]
9817
+  (0.7ms) COMMIT
9818
+ ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
9819
+  (0.2ms) BEGIN
9820
+ SQL (0.6ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2017-03-08 17:26:21 UTC], ["updated_at", 2017-03-08 17:26:21 UTC]]
9821
+  (0.5ms) COMMIT
9822
+  (0.4ms) SELECT pg_advisory_unlock(268089350951355045)
9823
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
9824
+  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045);
9825
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
9826
+ ActiveRecord::InternalMetadata Load (0.6ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
9827
+  (0.2ms) BEGIN
9828
+  (0.3ms) COMMIT
9829
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
9830
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
9831
+  (7.1ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
9832
+  (7.8ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
9833
+  (9.2ms) DROP TABLE if exists USERS cascade;
9834
+  (2.6ms) DROP TABLE if exists POSTS cascade;
9835
+  (2.4ms) DROP TABLE if exists USER_POSTS cascade;
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: localtower
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Damian Le Nouaille