localtower 0.4.1 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (122) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +31 -34
  3. data/app/controllers/localtower/pages_controller.rb +20 -42
  4. data/app/helpers/localtower/application_helper.rb +2 -14
  5. data/app/views/layouts/localtower/application.html.erb +6 -58
  6. data/app/views/localtower/pages/_migrations.html.erb +57 -0
  7. data/app/views/localtower/pages/migrations.html.erb +3 -6
  8. data/app/views/localtower/pages/models.html.erb +6 -8
  9. data/app/views/localtower/pages/{dashboard.html.erb → schema.html.erb} +0 -0
  10. data/config/routes.rb +7 -14
  11. data/lib/localtower/generators/migration.rb +8 -67
  12. data/lib/localtower/generators/model.rb +5 -8
  13. data/lib/localtower/status.rb +14 -15
  14. data/lib/localtower/tools.rb +25 -29
  15. data/lib/localtower/version.rb +1 -1
  16. data/lib/localtower.rb +0 -1
  17. data/public/css/app.css +4 -0
  18. data/public/js/app.js +14 -29
  19. data/public/light-bootstrap-dashboard-master/assets/css/light-bootstrap-dashboard.css +9 -35
  20. data/public/vendor/font-awesome.min.css +4 -0
  21. data/public/vendor/highlight-js-default.min.css +9 -0
  22. data/public/vendor/highlight.min.js +1198 -0
  23. data/public/{js → vendor}/masonry.pkgd.min.js +0 -0
  24. data/spec/dummy/Gemfile +1 -1
  25. data/spec/dummy/Gemfile.lock +109 -87
  26. data/spec/dummy/app/controllers/pages_controller.rb +0 -2
  27. data/spec/dummy/app/models/application_record.rb +3 -0
  28. data/spec/dummy/app/models/user.rb +2 -0
  29. data/spec/dummy/app/views/pages/home.html.erb +0 -1
  30. data/spec/dummy/config/application.rb +1 -1
  31. data/spec/dummy/config/database.yml +1 -1
  32. data/spec/dummy/config/environments/development.rb +5 -4
  33. data/spec/dummy/config/environments/production.rb +2 -2
  34. data/spec/dummy/config/initializers/assets.rb +1 -1
  35. data/spec/dummy/db/migrate/20221115190039_create_users.rb +13 -0
  36. data/spec/dummy/db/migrate/20221115193020_change_users.rb +8 -0
  37. data/spec/dummy/db/migrate/20221115193532_change_users_at1668540931.rb +5 -0
  38. data/spec/dummy/db/migrate/20221115193605_change_users_at1668540964.rb +5 -0
  39. data/spec/dummy/db/migrate/20221115193637_change_users_at1668540996.rb +5 -0
  40. data/spec/dummy/db/migrate/20221115193642_change_users_at1668541001.rb +5 -0
  41. data/spec/dummy/db/schema.rb +27 -2
  42. data/spec/dummy/log/development.log +4623 -2
  43. data/spec/dummy/log/localtower.log +142 -2500
  44. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/-Y/-YOiiBKqc2UODHFjctm8xc7xFoZaL7zOjWQj6qQ2wyE.cache +1 -0
  45. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/-d/-dwueM4vmPt8L51S3jeSyg_AjGDcj0GUN6pDpCA1gCg.cache +3 -0
  46. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/0g/0gaJnJQdtd2ACbihXxn8OnjLWlDjnQ_WxfgOpbiLzhg.cache +1 -0
  47. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/0r/0rFCsCV9kZnEYtZZ6sfig8329OU31bqjecDFqSVank8.cache +1 -0
  48. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/1J/1J2k_CpnQE3d-PZAQwOVGQALGkta4qVvhdsKjgG0e4Q.cache +0 -0
  49. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/2p/2pYVH2Z_syqh6ok8QYxJNKxXpx1Iwppf6JGElZI0gpw.cache +0 -0
  50. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/3W/3WBmqd-2V6q5N-jvbyp-tlcfn3aHYMwBppbOUm7x4qg.cache +1 -0
  51. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/4K/4KFPlHkhdDW0riGUmlbaR-kmDz6JUnQvY6fwW8qsdaE.cache +3 -0
  52. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/6x/6xMeRWmLpNK_flx6-JA3KazvUxSCxyPxHv9Zm3eC26Q.cache +1 -0
  53. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/7d/7dNqI_dCDJLJmI1oM4xwFp9nRRNOem-4P4OD7PMyz2E.cache +0 -0
  54. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/8X/8XquhxVcp5A8QquLtxO8NgKTMJch0eqQmzFmRGIZP6I.cache +1 -0
  55. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/Ah/AhdfXXtU63kXS4TnsH2Vi1yWgVkIEeV8Z8XA68hrNQc.cache +0 -0
  56. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/Bt/BtAePnwLSGw82xUGI7wuhWDfuwarOQVS91YqCsweMcs.cache +0 -0
  57. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/Bx/BxzoG0KxeNLac4xTNeJv3qfeytbNBw58xj2zD-xdbrE.cache +2 -0
  58. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/CC/CCD0ROPX0yxHwNpVZmuP8ZNtgQpaVCMXpdzC0Wb5n24.cache +1 -0
  59. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/DS/DS43oxBg6K5PMWLn2mTy_4EnxI03ehHkxpjV7NCi8yM.cache +1 -0
  60. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/Do/Do83AoOat5W-c1g7piDGy2GMmffsY6JY0Qfuh5PY3GM.cache +2 -0
  61. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/EI/EI0Nxk-VRATWstMuVCVc0_GdYlQ-a0dx6n2g0l3vIik.cache +0 -0
  62. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/EN/ENhJnzJAU2IK-7aHqubj9N8Jo_UTmjG_VEQqyIkolQ8.cache +1 -0
  63. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/Fc/FcS6VUHN3Bd4pHGqd5NHA8jA4OLwWrU94s3b4GGxX9c.cache +1 -0
  64. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/G0/G0kukI-r0q0Vbrg6e_jnYJoYcOX8K__h-mwKbCf4twE.cache +0 -0
  65. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/I1/I1Jw08-mz8xzgrgi6giCzpf1UmzGTSbl4eJEw4DAoJM.cache +1 -0
  66. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/IV/IVOO1dXBmgjieDk__g57p6aYt0Z3CmfTa32jhegoyko.cache +3 -0
  67. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/JY/JYPmv5WP4wxdI9EKEEPkK_fVtqeSLfmint_5E8fQLQ8.cache +1 -0
  68. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/MX/MXI3KxaQPZGImSvCNZ_TbQVruWCJ3E0xiVxza1ZCAjM.cache +1 -0
  69. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/OU/OUoioCqXALK909jXPV3VSyCJIdNC7bsogUfdnRTpc5o.cache +1 -0
  70. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/PH/PHjtqNLUPAUDiSlu5AbPjlIo20mOGNm0uNjMLhX2NvM.cache +0 -0
  71. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/RC/RC9vfALY5K634pTeau0BAhTHl7d5_5yA3tM-QTLiKtI.cache +0 -0
  72. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/RG/RG1PrmlixwaUlG8BV0kcm_3F7OQekxsrLYjBdf403-k.cache +2 -0
  73. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/Ut/UtoMO6n6FHTpRCGk9VfxlfTI2Ao2GYJ_6kMzx3B9VH8.cache +1 -0
  74. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/VE/VExnbpDk3LxYdPk3htUrZQXPI8NK_zlKtSFfVXJlxU4.cache +1 -0
  75. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/Wm/WmKTjykiU-Tx_Faf5zduEeEQ-DozAs5omKToM2l1cZM.cache +0 -0
  76. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/X-/X-KjhDPd0nI155N_FaxFSgaOiYo0_ytqlmkBlLM7ayw.cache +1 -0
  77. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/XX/XXVhj-O91tJ5c8pz7DQlTABOv8TIRVg5haw9VOq9HuI.cache +1 -0
  78. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/YC/YCiifo5NCMwDChFqYFiV4EaYEx8hy3Efle1PsGbIdak.cache +1 -0
  79. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/Ya/YayMISAqD-Y3vBFywwKrXbUovGf5o77HUF5s8mnQgO0.cache +0 -0
  80. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/Zl/Zl-NEb0aDLmZ9gN4gdY1OYlbUXD4JhkFY_y23m55zmo.cache +0 -0
  81. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/_h/_hnjPptBeD3GP5B0iJR6pvyVkiMiq-o2TxaYmGf9KJo.cache +3 -0
  82. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/_p/_poEF6QbTPYJiQCFGoXxIXjmvcn6T0I87ElzJGHguk0.cache +1 -0
  83. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/aa/aaSj2zt8ddc87nZqTpOI9gRCKVnoalXKFBww7t4t3Kg.cache +0 -0
  84. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/bZ/bZHWUkrOLp0WM_Ogo36Qjt4cxDt-rOFgtcj4LNB-BVE.cache +1 -0
  85. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/cP/cPSNG_663TNT944Rke919luRS6FtpMwVc_7aDph645w.cache +1 -0
  86. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/ce/ceq8fcZGIoqWrCl9vrCRrywEdx42iy9PrGG9CwFSIF4.cache +0 -0
  87. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/cl/cljhP0Jc018nLnG1rpdg-FUf6mlIqrQYvXTNXTNG9Bw.cache +0 -0
  88. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/dm/dmod3fTZdoKso2FGM5RTQtb4kTB6vywsiXLWDygYFN4.cache +1 -0
  89. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/dy/dySDGcUTqlKx2MTvOmIEP-WzhyhCfU5xhN9qgxbz3rI.cache +0 -0
  90. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/gQ/gQYdmEzbLjTcFCnsfzXzEmeminOchF263snAk3IvXM0.cache +1 -0
  91. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/gh/ghvuMAqccBGljlmEaI3Gt5tH5rEg6hseKYMYfRMkHdY.cache +1 -0
  92. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/gt/gt8QC7k92A4hXA3HlCpQulW73tqd6x63I3uT-YrGMj0.cache +1 -0
  93. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/hf/hfVg-y7dPSQKbb7V3I7M5w7IpOhDiIB2H31d2tmbZMU.cache +0 -0
  94. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/iF/iFLwyhZIu1Jxm77NUT2qWeTDMmyELW4U85t9rGE_KVg.cache +0 -0
  95. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/kF/kFlIcBBnSyKE00OjpM90pqSn93mLMUv9esz86nrO-Cs.cache +1 -0
  96. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/ma/MazNt_5OaYexRuZnccZZ_7AONlxn1a4W3KdWyHyBdws.cache +0 -0
  97. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/ma/ma3w08gnDTeqwY2-C9BlToxA6-AS8bvXlu-nBiz0UYs.cache +1 -0
  98. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/n_/n_xYqQYhwEMQknb3jFQnjlxxBE9TzMNHCdJ-bEyZFIw.cache +2 -0
  99. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/nx/nxTv3sKVUQZADJyM3dPaVmUA78MIsMLD_K279yN_GsI.cache +2 -0
  100. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/pv/pv6tV3CDkIAmLXdU8EPLlNEkXAKJPufVD4VP30o4fWo.cache +0 -0
  101. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/qP/qPmv5snMrDw830S6hSICDcnIy7kVEWoFKXhGKT38lG4.cache +2 -0
  102. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/sY/sYvTb1uPWWmnHJNXKuW_xSco-aUb-rN2f0J35zSIzuc.cache +1 -0
  103. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/su/suQ_jjDxRiIn4VEqFJYKaBWJILaeGKBvoTv49XNX0vo.cache +1 -0
  104. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/u8/u8IrW5IIQ7espwk2Vpk23zheL9YZA0tnbKq9X7E-WA0.cache +1 -0
  105. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/wh/whzETExjcZCkn4msasD2aylgfhfpKPZrNxTkY-SOIDg.cache +2 -0
  106. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/x7/x7PYh8DJvPykcEqpVab2vcY9-GFz-3cqtoMlRAu94Uc.cache +2 -0
  107. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/y6/y6oxsJD3pAY9ph1_5M-77uiEjTVw8BheLZNygCKPm1g.cache +1 -0
  108. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/yH/yHZ-a1J23ZCf2n5mEHINMz23Iec2cLGTKauW7k4yGTE.cache +0 -0
  109. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/z7/z7KfUWYoSaGq8tQ5mbHwyfXyT3Pa4FWKJswHcIdJuds.cache +1 -0
  110. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/zu/zuExWc5WHxeOUPZUKHl9a9ZRmN50g7jMOD28macn6M0.cache +0 -0
  111. data/spec/dummy/{lib/playground.rb → tmp/restart.txt} +0 -0
  112. data/spec/spec_helper.rb +17 -2
  113. metadata +161 -33
  114. data/app/views/localtower/pages/logs.html.erb +0 -84
  115. data/app/views/localtower/pages/relations.html.erb +0 -64
  116. data/app/views/localtower/pages/status.html.erb +0 -29
  117. data/lib/localtower/generators/relation.rb +0 -59
  118. data/lib/localtower/plugins/capture.rb +0 -194
  119. data/lib/tasks/localtower_tasks.rake +0 -4
  120. data/spec/dummy/custom_plan.rb +0 -11
  121. data/spec/dummy/log/test.log +0 -2229
  122. data/spec/dummy/zeus.json +0 -22
@@ -1,2229 +0,0 @@
1
-  (21.3ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
2
-  (5.9ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
3
-  (0.5ms) SELECT pg_try_advisory_lock(268089350951355045)
4
-  (1.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
5
- Migrating to ChangeTheModelPostAtTime1644245691 (20220207145452)
6
-  (0.1ms) BEGIN
7
-  (12.0ms) CREATE TABLE "posts" ("id" bigserial primary key)
8
- ActiveRecord::SchemaMigration Create (1.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207145452"]]
9
-  (0.5ms) COMMIT
10
- 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]]
11
-  (0.2ms) BEGIN
12
- ActiveRecord::InternalMetadata Create (1.8ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2022-02-07 14:54:54.160625"], ["updated_at", "2022-02-07 14:54:54.160625"]]
13
-  (0.3ms) COMMIT
14
-  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
15
-  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
16
-  (0.5ms) SELECT pg_try_advisory_lock(268089350951355045)
17
-  (1.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
18
- Migrating to ChangeTheModelUserAtTime1644245694 (20220207145455)
19
-  (0.2ms) BEGIN
20
-  (8.8ms) CREATE TABLE "users" ("id" bigserial primary key)
21
- ActiveRecord::SchemaMigration Create (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207145455"]]
22
-  (0.5ms) COMMIT
23
- 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]]
24
-  (0.2ms) BEGIN
25
-  (0.3ms) COMMIT
26
-  (0.5ms) SELECT pg_advisory_unlock(268089350951355045)
27
-  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
28
-  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045)
29
-  (1.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
30
- Migrating to ChangeTheModelPostAtTime1644245696 (20220207145457)
31
-  (0.2ms) BEGIN
32
-  (5.3ms) ALTER TABLE "posts" ADD "tags" text[] DEFAULT '{}'
33
-  (2.1ms) CREATE INDEX "index_posts_on_tags" ON "posts" USING gin ("tags")
34
-  (0.5ms) ALTER TABLE "posts" ADD "views" integer DEFAULT 0 NOT NULL
35
-  (0.4ms) ALTER TABLE "posts" ADD "content" text
36
-  (0.4ms) ALTER TABLE "posts" ADD "title" character varying
37
- ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207145457"]]
38
-  (0.5ms) COMMIT
39
- 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]]
40
-  (0.2ms) BEGIN
41
-  (0.3ms) COMMIT
42
-  (0.2ms) SELECT pg_advisory_unlock(268089350951355045)
43
-  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
44
-  (0.5ms) SELECT pg_try_advisory_lock(268089350951355045)
45
-  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
46
- Migrating to ChangeTheModelPostAtTime1644245699 (20220207145500)
47
-  (0.1ms) BEGIN
48
- ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207145500"]]
49
-  (0.5ms) COMMIT
50
- 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]]
51
-  (0.5ms) BEGIN
52
-  (0.2ms) COMMIT
53
-  (0.4ms) SELECT pg_advisory_unlock(268089350951355045)
54
-  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
55
-  (0.5ms) SELECT pg_try_advisory_lock(268089350951355045)
56
-  (2.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
57
- Migrating to ChangeTheModelPostAtTime1644245701 (20220207145502)
58
-  (0.1ms) BEGIN
59
-  (6.7ms) ALTER TABLE "posts" RENAME COLUMN "content" TO "content_new"
60
- ActiveRecord::SchemaMigration Create (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207145502"]]
61
-  (0.6ms) COMMIT
62
- ActiveRecord::InternalMetadata Load (0.9ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
63
-  (0.2ms) BEGIN
64
-  (0.1ms) COMMIT
65
-  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
66
-  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
67
-  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045)
68
-  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
69
- Migrating to ChangeTheModelPostAtTime1644245704 (20220207145505)
70
-  (0.1ms) BEGIN
71
-  (0.5ms) ALTER TABLE "posts" RENAME COLUMN "views" TO "views_by_users"
72
-  (3.2ms) ALTER TABLE "posts" DROP COLUMN "title"
73
- ActiveRecord::SchemaMigration Create (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207145505"]]
74
-  (0.7ms) COMMIT
75
- 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]]
76
-  (0.4ms) BEGIN
77
-  (0.3ms) COMMIT
78
-  (0.4ms) SELECT pg_advisory_unlock(268089350951355045)
79
-  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
80
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045)
81
-  (1.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
82
- Migrating to ChangeTheModelPostAtTime1644245706 (20220207145507)
83
-  (0.2ms) BEGIN
84
-  (1.9ms) CREATE INDEX "index_posts_on_views_by_users" ON "posts" ("views_by_users")
85
-  (0.9ms) ALTER TABLE "posts" ALTER COLUMN "content_new" TYPE character varying
86
- ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207145507"]]
87
-  (0.3ms) COMMIT
88
- 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]]
89
-  (0.2ms) BEGIN
90
-  (0.1ms) COMMIT
91
-  (0.2ms) SELECT pg_advisory_unlock(268089350951355045)
92
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
93
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045)
94
-  (1.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
95
- Migrating to ChangeTheModelPostAtTime1644245709 (20220207145510)
96
-  (0.4ms) BEGIN
97
-  (1.4ms) CREATE INDEX "index_posts_on_content_new" ON "posts" ("content_new")
98
- ActiveRecord::SchemaMigration Create (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207145510"]]
99
-  (0.7ms) COMMIT
100
- 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]]
101
-  (0.3ms) BEGIN
102
-  (0.2ms) COMMIT
103
-  (0.2ms) SELECT pg_advisory_unlock(268089350951355045)
104
-  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
105
-  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045)
106
-  (1.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
107
- Migrating to ChangeTheModelPostAtTime1644245711 (20220207145513)
108
-  (0.3ms) BEGIN
109
-  (2.2ms) DROP INDEX "index_posts_on_views_by_users"
110
- ActiveRecord::SchemaMigration Create (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207145513"]]
111
-  (1.0ms) COMMIT
112
- 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]]
113
-  (0.2ms) BEGIN
114
-  (0.3ms) COMMIT
115
-  (0.4ms) SELECT pg_advisory_unlock(268089350951355045)
116
-  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
117
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045)
118
-  (1.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
119
- Migrating to ChangeTheModelPostAtTime1644245714 (20220207145515)
120
-  (0.2ms) BEGIN
121
-  (3.5ms) DROP TABLE "posts" CASCADE
122
- ActiveRecord::SchemaMigration Create (0.8ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207145515"]]
123
-  (3.0ms) COMMIT
124
- ActiveRecord::InternalMetadata Load (1.0ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
125
-  (0.2ms) BEGIN
126
-  (0.2ms) COMMIT
127
-  (0.4ms) SELECT pg_advisory_unlock(268089350951355045)
128
-  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
129
-  (5.7ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
130
-  (2.6ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
131
-  (1.3ms) DROP TABLE if exists USERS cascade;
132
-  (5.0ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
133
-  (2.2ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
134
-  (0.2ms) SELECT pg_try_advisory_lock(268089350951355045)
135
-  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
136
- Migrating to CreatePosts (20220207145518)
137
-  (0.3ms) BEGIN
138
-  (3.0ms) CREATE TABLE "posts" ("id" bigserial primary key, "title" character varying, "content" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
139
-  (0.7ms) CREATE INDEX "index_posts_on_title" ON "posts" ("title")
140
- ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207145518"]]
141
-  (0.7ms) COMMIT
142
- 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]]
143
-  (0.2ms) BEGIN
144
- ActiveRecord::InternalMetadata Create (0.8ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2022-02-07 14:55:19.231945"], ["updated_at", "2022-02-07 14:55:19.231945"]]
145
-  (0.4ms) COMMIT
146
-  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
147
-  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
148
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045)
149
-  (1.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
150
- Migrating to CreateUsers (20220207145520)
151
-  (0.2ms) BEGIN
152
-  (8.9ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying, "metadata" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
153
-  (0.8ms) CREATE INDEX "index_users_on_name" ON "users" ("name")
154
- ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207145520"]]
155
-  (1.1ms) COMMIT
156
- 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]]
157
-  (0.2ms) BEGIN
158
-  (0.2ms) COMMIT
159
-  (0.2ms) SELECT pg_advisory_unlock(268089350951355045)
160
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
161
-  (4.8ms) DROP TABLE if exists USERS cascade;
162
-  (3.2ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
163
-  (3.5ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
164
-  (2.0ms) DROP TABLE if exists POSTS cascade;
165
-  (11.1ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
166
-  (2.2ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
167
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045)
168
-  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
169
- Migrating to CreatePosts (20220207145523)
170
-  (0.3ms) BEGIN
171
-  (2.8ms) CREATE TABLE "posts" ("id" bigserial primary key, "title" character varying, "content" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
172
-  (0.5ms) CREATE INDEX "index_posts_on_title" ON "posts" ("title")
173
- ActiveRecord::SchemaMigration Create (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207145523"]]
174
-  (0.3ms) COMMIT
175
- 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]]
176
-  (0.2ms) BEGIN
177
- ActiveRecord::InternalMetadata Create (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", "2022-02-07 14:55:24.183423"], ["updated_at", "2022-02-07 14:55:24.183423"]]
178
-  (0.3ms) COMMIT
179
-  (0.2ms) SELECT pg_advisory_unlock(268089350951355045)
180
-  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
181
-  (0.5ms) SELECT pg_try_advisory_lock(268089350951355045)
182
-  (1.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
183
- Migrating to CreateUsers (20220207145525)
184
-  (0.2ms) BEGIN
185
-  (5.2ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying, "metadata" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
186
-  (1.0ms) CREATE INDEX "index_users_on_name" ON "users" ("name")
187
- ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207145525"]]
188
-  (0.7ms) COMMIT
189
- 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]]
190
-  (0.2ms) BEGIN
191
-  (0.2ms) COMMIT
192
-  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
193
-  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
194
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045)
195
-  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
196
- Migrating to ChangeTheModelPostAtTime1644245726 (20220207145527)
197
-  (0.3ms) BEGIN
198
-  (0.7ms) ALTER TABLE "posts" ADD "user_id" bigint
199
-  (1.7ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id")
200
-  (10.3ms) ALTER TABLE "posts" ADD CONSTRAINT "fk_rails_5b5ddfd518"
201
- FOREIGN KEY ("user_id")
202
- REFERENCES "users" ("id")
203
- 
204
- ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207145527"]]
205
-  (0.5ms) COMMIT
206
- 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]]
207
-  (0.2ms) BEGIN
208
-  (0.3ms) COMMIT
209
-  (0.5ms) SELECT pg_advisory_unlock(268089350951355045)
210
-  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
211
-  (1.6ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
212
-  (1.4ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
213
-  (2.7ms) DROP TABLE if exists USERS cascade;
214
-  (2.6ms) DROP TABLE if exists POSTS cascade;
215
-  (12.7ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
216
-  (2.8ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
217
-  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045)
218
-  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
219
- Migrating to CreatePosts (20220207145530)
220
-  (0.2ms) BEGIN
221
-  (3.4ms) CREATE TABLE "posts" ("id" bigserial primary key, "title" character varying, "content" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
222
-  (0.7ms) CREATE INDEX "index_posts_on_title" ON "posts" ("title")
223
- ActiveRecord::SchemaMigration Create (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207145530"]]
224
-  (0.3ms) COMMIT
225
- Migrating to CreateUsers (20220207145531)
226
-  (0.7ms) BEGIN
227
-  (6.6ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying, "metadata" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
228
-  (1.4ms) CREATE INDEX "index_users_on_name" ON "users" ("name")
229
- ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207145531"]]
230
-  (0.7ms) COMMIT
231
- Migrating to CreateUserPosts (20220207145532)
232
-  (0.2ms) BEGIN
233
-  (3.8ms) CREATE TABLE "user_posts" ("id" bigserial primary key, "user_id" bigint, "post_id" bigint, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, CONSTRAINT "fk_rails_6c6a346128"
234
- FOREIGN KEY ("user_id")
235
- REFERENCES "users" ("id")
236
- , CONSTRAINT "fk_rails_38a7c4b06f"
237
- FOREIGN KEY ("post_id")
238
- REFERENCES "posts" ("id")
239
- )
240
-  (0.7ms) CREATE INDEX "index_user_posts_on_user_id" ON "user_posts" ("user_id")
241
-  (0.8ms) CREATE INDEX "index_user_posts_on_post_id" ON "user_posts" ("post_id")
242
- ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207145532"]]
243
-  (0.6ms) COMMIT
244
- 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]]
245
-  (0.4ms) BEGIN
246
- ActiveRecord::InternalMetadata Create (0.9ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2022-02-07 14:55:34.161381"], ["updated_at", "2022-02-07 14:55:34.161381"]]
247
-  (0.3ms) COMMIT
248
-  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
249
-  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
250
-  (1.3ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
251
-  (1.3ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
252
-  (2.5ms) DROP TABLE if exists USERS cascade;
253
-  (1.9ms) DROP TABLE if exists USER_POSTS cascade;
254
-  (1.7ms) DROP TABLE if exists POSTS cascade;
255
-  (9.8ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
256
-  (4.3ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
257
-  (0.2ms) SELECT pg_try_advisory_lock(268089350951355045)
258
-  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
259
- Migrating to ChangeTheModelPostAtTime1644247860 (20220207153101)
260
-  (0.2ms) BEGIN
261
-  (5.4ms) CREATE TABLE "posts" ("id" bigserial primary key)
262
- ActiveRecord::SchemaMigration Create (1.0ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207153101"]]
263
-  (0.5ms) COMMIT
264
- 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]]
265
-  (0.1ms) BEGIN
266
- ActiveRecord::InternalMetadata Create (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", "2022-02-07 15:31:02.635067"], ["updated_at", "2022-02-07 15:31:02.635067"]]
267
-  (0.7ms) COMMIT
268
-  (0.2ms) SELECT pg_advisory_unlock(268089350951355045)
269
-  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
270
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045)
271
-  (1.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
272
- Migrating to ChangeTheModelUserAtTime1644247862 (20220207153103)
273
-  (0.4ms) BEGIN
274
-  (4.6ms) CREATE TABLE "users" ("id" bigserial primary key)
275
- ActiveRecord::SchemaMigration Create (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207153103"]]
276
-  (0.6ms) COMMIT
277
- 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]]
278
-  (0.2ms) BEGIN
279
-  (0.2ms) COMMIT
280
-  (0.4ms) SELECT pg_advisory_unlock(268089350951355045)
281
-  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
282
-  (0.6ms) SELECT pg_try_advisory_lock(268089350951355045)
283
-  (1.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
284
- Migrating to ChangeTheModelPostAtTime1644247865 (20220207153106)
285
-  (0.1ms) BEGIN
286
-  (2.7ms) ALTER TABLE "posts" ADD "tags" text[] DEFAULT '{}'
287
-  (1.0ms) CREATE INDEX "index_posts_on_tags" ON "posts" USING gin ("tags")
288
-  (0.6ms) ALTER TABLE "posts" ADD "views" integer DEFAULT 0 NOT NULL
289
-  (0.4ms) ALTER TABLE "posts" ADD "content" text
290
-  (0.4ms) ALTER TABLE "posts" ADD "title" character varying
291
- ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207153106"]]
292
-  (0.7ms) COMMIT
293
- 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]]
294
-  (0.2ms) BEGIN
295
-  (0.2ms) COMMIT
296
-  (0.4ms) SELECT pg_advisory_unlock(268089350951355045)
297
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
298
-  (0.5ms) SELECT pg_try_advisory_lock(268089350951355045)
299
-  (1.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
300
- Migrating to ChangeTheModelPostAtTime1644247867 (20220207153108)
301
-  (0.2ms) BEGIN
302
- ActiveRecord::SchemaMigration Create (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207153108"]]
303
-  (0.8ms) COMMIT
304
- ActiveRecord::InternalMetadata Load (0.9ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
305
-  (0.2ms) BEGIN
306
-  (0.3ms) COMMIT
307
-  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
308
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
309
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045)
310
-  (2.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
311
- Migrating to ChangeTheModelPostAtTime1644247870 (20220207153111)
312
-  (0.2ms) BEGIN
313
-  (0.4ms) ALTER TABLE "posts" RENAME COLUMN "content" TO "content_new"
314
- ActiveRecord::SchemaMigration Create (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207153111"]]
315
-  (1.3ms) COMMIT
316
- 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]]
317
-  (0.1ms) BEGIN
318
-  (0.3ms) COMMIT
319
-  (0.4ms) SELECT pg_advisory_unlock(268089350951355045)
320
-  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
321
-  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045)
322
-  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
323
- Migrating to ChangeTheModelPostAtTime1644247872 (20220207153113)
324
-  (0.2ms) BEGIN
325
-  (0.6ms) ALTER TABLE "posts" RENAME COLUMN "views" TO "views_by_users"
326
-  (0.7ms) ALTER TABLE "posts" DROP COLUMN "title"
327
- ActiveRecord::SchemaMigration Create (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207153113"]]
328
-  (0.8ms) COMMIT
329
- 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]]
330
-  (0.1ms) BEGIN
331
-  (0.3ms) COMMIT
332
-  (0.5ms) SELECT pg_advisory_unlock(268089350951355045)
333
-  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
334
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045)
335
-  (1.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
336
- Migrating to ChangeTheModelPostAtTime1644247875 (20220207153116)
337
-  (0.2ms) BEGIN
338
-  (2.6ms) CREATE INDEX "index_posts_on_views_by_users" ON "posts" ("views_by_users")
339
-  (0.8ms) ALTER TABLE "posts" ALTER COLUMN "content_new" TYPE character varying
340
- ActiveRecord::SchemaMigration Create (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207153116"]]
341
-  (0.5ms) COMMIT
342
- 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]]
343
-  (0.2ms) BEGIN
344
-  (0.1ms) COMMIT
345
-  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
346
-  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
347
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045)
348
-  (1.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
349
- Migrating to ChangeTheModelPostAtTime1644247877 (20220207153118)
350
-  (0.1ms) BEGIN
351
-  (1.5ms) CREATE INDEX "index_posts_on_content_new" ON "posts" ("content_new")
352
- ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207153118"]]
353
-  (0.8ms) COMMIT
354
- 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]]
355
-  (0.3ms) BEGIN
356
-  (0.2ms) COMMIT
357
-  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
358
-  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
359
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045)
360
-  (1.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
361
- Migrating to ChangeTheModelPostAtTime1644247880 (20220207153121)
362
-  (0.1ms) BEGIN
363
-  (1.2ms) DROP INDEX "index_posts_on_views_by_users"
364
- ActiveRecord::SchemaMigration Create (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207153121"]]
365
-  (1.6ms) COMMIT
366
- 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]]
367
-  (0.1ms) BEGIN
368
-  (0.2ms) COMMIT
369
-  (0.6ms) SELECT pg_advisory_unlock(268089350951355045)
370
-  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
371
-  (0.5ms) SELECT pg_try_advisory_lock(268089350951355045)
372
-  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
373
- Migrating to ChangeTheModelPostAtTime1644247882 (20220207153123)
374
-  (0.2ms) BEGIN
375
-  (2.4ms) DROP TABLE "posts" CASCADE
376
- ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207153123"]]
377
-  (1.7ms) COMMIT
378
- 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]]
379
-  (0.3ms) BEGIN
380
-  (0.3ms) COMMIT
381
-  (0.6ms) SELECT pg_advisory_unlock(268089350951355045)
382
-  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
383
-  (3.3ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
384
-  (1.4ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
385
-  (1.3ms) DROP TABLE if exists USERS cascade;
386
-  (7.2ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
387
-  (2.1ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
388
-  (0.2ms) SELECT pg_try_advisory_lock(268089350951355045)
389
-  (1.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
390
- Migrating to CreatePosts (20220207153126)
391
-  (0.1ms) BEGIN
392
-  (4.3ms) CREATE TABLE "posts" ("id" bigserial primary key, "title" character varying, "content" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
393
-  (0.9ms) CREATE INDEX "index_posts_on_title" ON "posts" ("title")
394
- ActiveRecord::SchemaMigration Create (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207153126"]]
395
-  (0.7ms) COMMIT
396
- 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]]
397
-  (0.2ms) BEGIN
398
- ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2022-02-07 15:31:27.550440"], ["updated_at", "2022-02-07 15:31:27.550440"]]
399
-  (0.5ms) COMMIT
400
-  (0.2ms) SELECT pg_advisory_unlock(268089350951355045)
401
-  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
402
-  (0.5ms) SELECT pg_try_advisory_lock(268089350951355045)
403
-  (1.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
404
- Migrating to CreateUsers (20220207153128)
405
-  (0.4ms) BEGIN
406
-  (4.7ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying, "metadata" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
407
-  (0.8ms) CREATE INDEX "index_users_on_name" ON "users" ("name")
408
- ActiveRecord::SchemaMigration Create (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207153128"]]
409
-  (1.0ms) COMMIT
410
- 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]]
411
-  (0.2ms) BEGIN
412
-  (0.3ms) COMMIT
413
-  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
414
-  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
415
-  (1.3ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
416
-  (1.5ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
417
-  (1.9ms) DROP TABLE if exists POSTS cascade;
418
-  (1.6ms) DROP TABLE if exists USERS cascade;
419
-  (11.4ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
420
-  (5.3ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
421
-  (0.2ms) SELECT pg_try_advisory_lock(268089350951355045)
422
-  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
423
- Migrating to CreatePosts (20220207153131)
424
-  (0.4ms) BEGIN
425
-  (3.0ms) CREATE TABLE "posts" ("id" bigserial primary key, "title" character varying, "content" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
426
-  (0.9ms) CREATE INDEX "index_posts_on_title" ON "posts" ("title")
427
- ActiveRecord::SchemaMigration Create (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207153131"]]
428
-  (0.3ms) COMMIT
429
- ActiveRecord::InternalMetadata Load (1.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
430
-  (0.1ms) BEGIN
431
- ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2022-02-07 15:31:32.585331"], ["updated_at", "2022-02-07 15:31:32.585331"]]
432
-  (0.3ms) COMMIT
433
-  (0.2ms) SELECT pg_advisory_unlock(268089350951355045)
434
-  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
435
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045)
436
-  (1.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
437
- Migrating to CreateUsers (20220207153133)
438
-  (0.3ms) BEGIN
439
-  (4.3ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying, "metadata" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
440
-  (0.7ms) CREATE INDEX "index_users_on_name" ON "users" ("name")
441
- ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207153133"]]
442
-  (13.1ms) COMMIT
443
- 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]]
444
-  (0.2ms) BEGIN
445
-  (0.1ms) COMMIT
446
-  (0.4ms) SELECT pg_advisory_unlock(268089350951355045)
447
-  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
448
-  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045)
449
-  (1.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
450
- Migrating to ChangeTheModelPostAtTime1644247895 (20220207153136)
451
-  (0.2ms) BEGIN
452
-  (1.1ms) ALTER TABLE "posts" ADD "user_id" bigint
453
-  (3.0ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id")
454
-  (4.7ms) ALTER TABLE "posts" ADD CONSTRAINT "fk_rails_5b5ddfd518"
455
- FOREIGN KEY ("user_id")
456
- REFERENCES "users" ("id")
457
- 
458
- ActiveRecord::SchemaMigration Create (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207153136"]]
459
-  (0.9ms) COMMIT
460
- 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]]
461
-  (0.2ms) BEGIN
462
-  (0.3ms) COMMIT
463
-  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
464
-  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
465
-  (1.6ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
466
-  (1.4ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
467
-  (2.8ms) DROP TABLE if exists POSTS cascade;
468
-  (1.8ms) DROP TABLE if exists USERS cascade;
469
-  (10.2ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
470
-  (2.0ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
471
-  (0.2ms) SELECT pg_try_advisory_lock(268089350951355045)
472
-  (1.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
473
- Migrating to CreatePosts (20220207153139)
474
-  (0.7ms) BEGIN
475
-  (11.9ms) CREATE TABLE "posts" ("id" bigserial primary key, "title" character varying, "content" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
476
-  (1.3ms) CREATE INDEX "index_posts_on_title" ON "posts" ("title")
477
- ActiveRecord::SchemaMigration Create (1.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207153139"]]
478
-  (0.3ms) COMMIT
479
- Migrating to CreateUsers (20220207153140)
480
-  (0.3ms) BEGIN
481
-  (3.6ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying, "metadata" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
482
-  (0.7ms) CREATE INDEX "index_users_on_name" ON "users" ("name")
483
- ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207153140"]]
484
-  (21.8ms) COMMIT
485
- Migrating to CreateUserPosts (20220207153141)
486
-  (0.4ms) BEGIN
487
-  (12.6ms) CREATE TABLE "user_posts" ("id" bigserial primary key, "user_id" bigint, "post_id" bigint, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, CONSTRAINT "fk_rails_6c6a346128"
488
- FOREIGN KEY ("user_id")
489
- REFERENCES "users" ("id")
490
- , CONSTRAINT "fk_rails_38a7c4b06f"
491
- FOREIGN KEY ("post_id")
492
- REFERENCES "posts" ("id")
493
- )
494
-  (0.9ms) CREATE INDEX "index_user_posts_on_user_id" ON "user_posts" ("user_id")
495
-  (0.7ms) CREATE INDEX "index_user_posts_on_post_id" ON "user_posts" ("post_id")
496
- ActiveRecord::SchemaMigration Create (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207153141"]]
497
-  (0.6ms) COMMIT
498
- 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]]
499
-  (0.2ms) BEGIN
500
- ActiveRecord::InternalMetadata Create (0.7ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2022-02-07 15:31:42.846605"], ["updated_at", "2022-02-07 15:31:42.846605"]]
501
-  (0.4ms) COMMIT
502
-  (0.2ms) SELECT pg_advisory_unlock(268089350951355045)
503
-  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
504
-  (1.5ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
505
-  (1.4ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
506
-  (2.7ms) DROP TABLE if exists USERS cascade;
507
-  (1.9ms) DROP TABLE if exists USER_POSTS cascade;
508
-  (1.6ms) DROP TABLE if exists POSTS cascade;
509
-  (9.8ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
510
-  (4.0ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
511
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045)
512
-  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
513
- Migrating to ChangeTheModelPostAtTime1644247947 (20220207153229)
514
-  (0.2ms) BEGIN
515
-  (7.9ms) CREATE TABLE "posts" ("id" bigserial primary key)
516
- ActiveRecord::SchemaMigration Create (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207153229"]]
517
-  (0.7ms) COMMIT
518
- 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]]
519
-  (0.1ms) BEGIN
520
- ActiveRecord::InternalMetadata Create (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", "2022-02-07 15:32:30.308782"], ["updated_at", "2022-02-07 15:32:30.308782"]]
521
-  (0.5ms) COMMIT
522
-  (0.2ms) SELECT pg_advisory_unlock(268089350951355045)
523
-  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
524
-  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045)
525
-  (1.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
526
- Migrating to ChangeTheModelUserAtTime1644247950 (20220207153231)
527
-  (0.4ms) BEGIN
528
-  (9.9ms) CREATE TABLE "users" ("id" bigserial primary key)
529
- ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207153231"]]
530
-  (0.7ms) COMMIT
531
- 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]]
532
-  (0.2ms) BEGIN
533
-  (0.3ms) COMMIT
534
-  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
535
-  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
536
-  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045)
537
-  (2.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
538
- Migrating to ChangeTheModelPostAtTime1644247952 (20220207153234)
539
-  (0.3ms) BEGIN
540
-  (2.1ms) ALTER TABLE "posts" ADD "tags" text[] DEFAULT '{}'
541
-  (1.3ms) CREATE INDEX "index_posts_on_tags" ON "posts" USING gin ("tags")
542
-  (0.4ms) ALTER TABLE "posts" ADD "views" integer DEFAULT 0 NOT NULL
543
-  (0.5ms) ALTER TABLE "posts" ADD "content" text
544
-  (0.6ms) ALTER TABLE "posts" ADD "title" character varying
545
- ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207153234"]]
546
-  (0.8ms) COMMIT
547
- 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]]
548
-  (0.2ms) BEGIN
549
-  (0.3ms) COMMIT
550
-  (0.6ms) SELECT pg_advisory_unlock(268089350951355045)
551
-  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
552
-  (0.6ms) SELECT pg_try_advisory_lock(268089350951355045)
553
-  (1.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
554
- Migrating to ChangeTheModelPostAtTime1644247955 (20220207153236)
555
-  (0.1ms) BEGIN
556
- ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207153236"]]
557
-  (0.5ms) COMMIT
558
- ActiveRecord::InternalMetadata Load (0.9ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
559
-  (0.3ms) BEGIN
560
-  (0.2ms) COMMIT
561
-  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
562
-  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
563
-  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045)
564
-  (1.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
565
- Migrating to ChangeTheModelPostAtTime1644247957 (20220207153239)
566
-  (0.3ms) BEGIN
567
-  (0.8ms) ALTER TABLE "posts" RENAME COLUMN "content" TO "content_new"
568
- ActiveRecord::SchemaMigration Create (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207153239"]]
569
-  (0.9ms) COMMIT
570
- 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]]
571
-  (0.3ms) BEGIN
572
-  (0.3ms) COMMIT
573
-  (0.4ms) SELECT pg_advisory_unlock(268089350951355045)
574
-  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
575
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045)
576
-  (2.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
577
- Migrating to ChangeTheModelPostAtTime1644247960 (20220207153241)
578
-  (0.2ms) BEGIN
579
-  (0.8ms) ALTER TABLE "posts" RENAME COLUMN "views" TO "views_by_users"
580
-  (1.6ms) ALTER TABLE "posts" DROP COLUMN "title"
581
- ActiveRecord::SchemaMigration Create (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207153241"]]
582
-  (0.8ms) COMMIT
583
- 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]]
584
-  (0.1ms) BEGIN
585
-  (0.2ms) COMMIT
586
-  (0.5ms) SELECT pg_advisory_unlock(268089350951355045)
587
-  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
588
-  (0.2ms) SELECT pg_try_advisory_lock(268089350951355045)
589
-  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
590
- Migrating to ChangeTheModelPostAtTime1644247963 (20220207153244)
591
-  (0.3ms) BEGIN
592
-  (3.9ms) CREATE INDEX "index_posts_on_views_by_users" ON "posts" ("views_by_users")
593
-  (0.7ms) ALTER TABLE "posts" ALTER COLUMN "content_new" TYPE character varying
594
- ActiveRecord::SchemaMigration Create (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207153244"]]
595
-  (0.4ms) COMMIT
596
- 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]]
597
-  (0.1ms) BEGIN
598
-  (0.1ms) COMMIT
599
-  (0.2ms) SELECT pg_advisory_unlock(268089350951355045)
600
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
601
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045)
602
-  (1.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
603
- Migrating to ChangeTheModelPostAtTime1644247966 (20220207153247)
604
-  (0.4ms) BEGIN
605
-  (6.4ms) CREATE INDEX "index_posts_on_content_new" ON "posts" ("content_new")
606
- ActiveRecord::SchemaMigration Create (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207153247"]]
607
-  (0.4ms) COMMIT
608
- ActiveRecord::InternalMetadata Load (1.0ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
609
-  (0.2ms) BEGIN
610
-  (0.2ms) COMMIT
611
-  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
612
-  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
613
-  (0.5ms) SELECT pg_try_advisory_lock(268089350951355045)
614
-  (1.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
615
- Migrating to ChangeTheModelPostAtTime1644247968 (20220207153249)
616
-  (0.2ms) BEGIN
617
-  (1.1ms) DROP INDEX "index_posts_on_views_by_users"
618
- ActiveRecord::SchemaMigration Create (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207153249"]]
619
-  (1.1ms) COMMIT
620
- 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]]
621
-  (0.2ms) BEGIN
622
-  (0.3ms) COMMIT
623
-  (0.2ms) SELECT pg_advisory_unlock(268089350951355045)
624
-  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
625
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045)
626
-  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
627
- Migrating to ChangeTheModelPostAtTime1644247971 (20220207153252)
628
-  (0.2ms) BEGIN
629
-  (2.2ms) DROP TABLE "posts" CASCADE
630
- ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207153252"]]
631
-  (3.0ms) COMMIT
632
- 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]]
633
-  (0.2ms) BEGIN
634
-  (0.2ms) COMMIT
635
-  (0.6ms) SELECT pg_advisory_unlock(268089350951355045)
636
-  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
637
-  (2.4ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
638
-  (1.3ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
639
-  (1.4ms) DROP TABLE if exists USERS cascade;
640
-  (7.2ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
641
-  (2.3ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
642
-  (0.2ms) SELECT pg_try_advisory_lock(268089350951355045)
643
-  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
644
- Migrating to CreatePosts (20220207153254)
645
-  (0.1ms) BEGIN
646
-  (3.7ms) CREATE TABLE "posts" ("id" bigserial primary key, "title" character varying, "content" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
647
-  (1.2ms) CREATE INDEX "index_posts_on_title" ON "posts" ("title")
648
- ActiveRecord::SchemaMigration Create (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207153254"]]
649
-  (0.5ms) COMMIT
650
- 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]]
651
-  (0.3ms) BEGIN
652
- ActiveRecord::InternalMetadata Create (0.9ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2022-02-07 15:32:56.141553"], ["updated_at", "2022-02-07 15:32:56.141553"]]
653
-  (0.6ms) COMMIT
654
-  (0.6ms) SELECT pg_advisory_unlock(268089350951355045)
655
-  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
656
-  (0.5ms) SELECT pg_try_advisory_lock(268089350951355045)
657
-  (1.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
658
- Migrating to CreateUsers (20220207153257)
659
-  (0.1ms) BEGIN
660
-  (4.9ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying, "metadata" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
661
-  (0.8ms) CREATE INDEX "index_users_on_name" ON "users" ("name")
662
- ActiveRecord::SchemaMigration Create (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207153257"]]
663
-  (0.6ms) COMMIT
664
- 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]]
665
-  (0.4ms) BEGIN
666
-  (0.2ms) COMMIT
667
-  (0.5ms) SELECT pg_advisory_unlock(268089350951355045)
668
-  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
669
-  (1.9ms) DROP TABLE if exists USERS cascade;
670
-  (1.2ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
671
-  (1.2ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
672
-  (1.8ms) DROP TABLE if exists POSTS cascade;
673
-  (10.7ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
674
-  (3.0ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
675
-  (0.2ms) SELECT pg_try_advisory_lock(268089350951355045)
676
-  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
677
- Migrating to CreatePosts (20220207153259)
678
-  (0.3ms) BEGIN
679
-  (3.7ms) CREATE TABLE "posts" ("id" bigserial primary key, "title" character varying, "content" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
680
-  (0.7ms) CREATE INDEX "index_posts_on_title" ON "posts" ("title")
681
- ActiveRecord::SchemaMigration Create (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207153259"]]
682
-  (0.8ms) COMMIT
683
- 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]]
684
-  (0.1ms) BEGIN
685
- ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2022-02-07 15:33:01.139438"], ["updated_at", "2022-02-07 15:33:01.139438"]]
686
-  (0.8ms) COMMIT
687
-  (0.2ms) SELECT pg_advisory_unlock(268089350951355045)
688
-  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
689
-  (0.5ms) SELECT pg_try_advisory_lock(268089350951355045)
690
-  (1.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
691
- Migrating to CreateUsers (20220207153302)
692
-  (0.2ms) BEGIN
693
-  (15.8ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying, "metadata" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
694
-  (1.5ms) CREATE INDEX "index_users_on_name" ON "users" ("name")
695
- ActiveRecord::SchemaMigration Create (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207153302"]]
696
-  (0.6ms) COMMIT
697
- 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]]
698
-  (0.3ms) BEGIN
699
-  (0.3ms) COMMIT
700
-  (0.4ms) SELECT pg_advisory_unlock(268089350951355045)
701
-  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
702
-  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045)
703
-  (1.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
704
- Migrating to ChangeTheModelPostAtTime1644247983 (20220207153304)
705
-  (0.2ms) BEGIN
706
-  (1.3ms) ALTER TABLE "posts" ADD "user_id" bigint
707
-  (1.9ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id")
708
-  (2.1ms) ALTER TABLE "posts" ADD CONSTRAINT "fk_rails_5b5ddfd518"
709
- FOREIGN KEY ("user_id")
710
- REFERENCES "users" ("id")
711
- 
712
- ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207153304"]]
713
-  (0.8ms) COMMIT
714
- 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]]
715
-  (0.1ms) BEGIN
716
-  (0.3ms) COMMIT
717
-  (0.4ms) SELECT pg_advisory_unlock(268089350951355045)
718
-  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
719
-  (1.5ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
720
-  (1.4ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
721
-  (2.5ms) DROP TABLE if exists USERS cascade;
722
-  (2.0ms) DROP TABLE if exists POSTS cascade;
723
-  (12.3ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
724
-  (3.3ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
725
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045)
726
-  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
727
- Migrating to CreatePosts (20220207153307)
728
-  (0.3ms) BEGIN
729
-  (3.4ms) CREATE TABLE "posts" ("id" bigserial primary key, "title" character varying, "content" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
730
-  (0.6ms) CREATE INDEX "index_posts_on_title" ON "posts" ("title")
731
- ActiveRecord::SchemaMigration Create (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207153307"]]
732
-  (0.3ms) COMMIT
733
- Migrating to CreateUsers (20220207153308)
734
-  (0.2ms) BEGIN
735
-  (3.0ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying, "metadata" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
736
-  (0.7ms) CREATE INDEX "index_users_on_name" ON "users" ("name")
737
- ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207153308"]]
738
-  (0.5ms) COMMIT
739
- Migrating to CreateUserPosts (20220207153309)
740
-  (0.2ms) BEGIN
741
-  (4.3ms) CREATE TABLE "user_posts" ("id" bigserial primary key, "user_id" bigint, "post_id" bigint, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, CONSTRAINT "fk_rails_6c6a346128"
742
- FOREIGN KEY ("user_id")
743
- REFERENCES "users" ("id")
744
- , CONSTRAINT "fk_rails_38a7c4b06f"
745
- FOREIGN KEY ("post_id")
746
- REFERENCES "posts" ("id")
747
- )
748
-  (0.7ms) CREATE INDEX "index_user_posts_on_user_id" ON "user_posts" ("user_id")
749
-  (3.0ms) CREATE INDEX "index_user_posts_on_post_id" ON "user_posts" ("post_id")
750
- ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207153309"]]
751
-  (0.6ms) COMMIT
752
- 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]]
753
-  (0.2ms) BEGIN
754
- ActiveRecord::InternalMetadata Create (0.7ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2022-02-07 15:33:11.204146"], ["updated_at", "2022-02-07 15:33:11.204146"]]
755
-  (0.5ms) COMMIT
756
-  (0.4ms) SELECT pg_advisory_unlock(268089350951355045)
757
-  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
758
-  (1.4ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
759
-  (1.3ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
760
-  (2.7ms) DROP TABLE if exists USERS cascade;
761
-  (2.1ms) DROP TABLE if exists USER_POSTS cascade;
762
-  (1.8ms) DROP TABLE if exists POSTS cascade;
763
-  (11.3ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
764
-  (5.5ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
765
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045)
766
-  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
767
- Migrating to ChangeTheModelPostAtTime1644248899 (20220207154820)
768
-  (0.2ms) BEGIN
769
-  (5.7ms) CREATE TABLE "posts" ("id" bigserial primary key)
770
- ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207154820"]]
771
-  (0.4ms) COMMIT
772
- 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]]
773
-  (0.3ms) BEGIN
774
- ActiveRecord::InternalMetadata Create (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", "2022-02-07 15:48:22.115418"], ["updated_at", "2022-02-07 15:48:22.115418"]]
775
-  (0.3ms) COMMIT
776
-  (0.5ms) SELECT pg_advisory_unlock(268089350951355045)
777
-  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
778
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045)
779
-  (2.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
780
- Migrating to ChangeTheModelUserAtTime1644248902 (20220207154823)
781
-  (0.2ms) BEGIN
782
-  (10.7ms) CREATE TABLE "users" ("id" bigserial primary key)
783
- ActiveRecord::SchemaMigration Create (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207154823"]]
784
-  (1.0ms) COMMIT
785
- ActiveRecord::InternalMetadata Load (1.0ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
786
-  (0.1ms) BEGIN
787
-  (0.1ms) COMMIT
788
-  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
789
-  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
790
-  (0.5ms) SELECT pg_try_advisory_lock(268089350951355045)
791
-  (1.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
792
- Migrating to ChangeTheModelPostAtTime1644248904 (20220207154826)
793
-  (0.2ms) BEGIN
794
-  (3.0ms) ALTER TABLE "posts" ADD "tags" text[] DEFAULT '{}'
795
-  (1.7ms) CREATE INDEX "index_posts_on_tags" ON "posts" USING gin ("tags")
796
-  (0.4ms) ALTER TABLE "posts" ADD "views" integer DEFAULT 0 NOT NULL
797
-  (0.3ms) ALTER TABLE "posts" ADD "content" text
798
-  (0.4ms) ALTER TABLE "posts" ADD "title" character varying
799
- ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207154826"]]
800
-  (0.7ms) COMMIT
801
- 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]]
802
-  (0.3ms) BEGIN
803
-  (0.2ms) COMMIT
804
-  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
805
-  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
806
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045)
807
-  (1.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
808
- Migrating to ChangeTheModelPostAtTime1644248907 (20220207154828)
809
-  (0.2ms) BEGIN
810
- ActiveRecord::SchemaMigration Create (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207154828"]]
811
-  (1.2ms) COMMIT
812
- 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]]
813
-  (0.2ms) BEGIN
814
-  (0.2ms) COMMIT
815
-  (0.2ms) SELECT pg_advisory_unlock(268089350951355045)
816
-  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
817
-  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045)
818
-  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
819
- Migrating to ChangeTheModelPostAtTime1644248910 (20220207154831)
820
-  (0.3ms) BEGIN
821
-  (0.4ms) ALTER TABLE "posts" RENAME COLUMN "content" TO "content_new"
822
- ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207154831"]]
823
-  (0.8ms) COMMIT
824
- 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]]
825
-  (0.3ms) BEGIN
826
-  (0.3ms) COMMIT
827
-  (0.5ms) SELECT pg_advisory_unlock(268089350951355045)
828
-  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
829
-  (0.2ms) SELECT pg_try_advisory_lock(268089350951355045)
830
-  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
831
- Migrating to ChangeTheModelPostAtTime1644248912 (20220207154833)
832
-  (0.2ms) BEGIN
833
-  (0.4ms) ALTER TABLE "posts" RENAME COLUMN "views" TO "views_by_users"
834
-  (1.6ms) ALTER TABLE "posts" DROP COLUMN "title"
835
- ActiveRecord::SchemaMigration Create (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207154833"]]
836
-  (0.6ms) COMMIT
837
- 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]]
838
-  (0.3ms) BEGIN
839
-  (0.1ms) COMMIT
840
-  (0.2ms) SELECT pg_advisory_unlock(268089350951355045)
841
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
842
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045)
843
-  (1.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
844
- Migrating to ChangeTheModelPostAtTime1644248915 (20220207154836)
845
-  (0.2ms) BEGIN
846
-  (3.4ms) CREATE INDEX "index_posts_on_views_by_users" ON "posts" ("views_by_users")
847
-  (0.7ms) ALTER TABLE "posts" ALTER COLUMN "content_new" TYPE character varying
848
- ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207154836"]]
849
-  (0.7ms) COMMIT
850
- 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]]
851
-  (0.1ms) BEGIN
852
-  (0.2ms) COMMIT
853
-  (0.2ms) SELECT pg_advisory_unlock(268089350951355045)
854
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
855
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045)
856
-  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
857
- Migrating to ChangeTheModelPostAtTime1644248917 (20220207154838)
858
-  (0.2ms) BEGIN
859
-  (2.0ms) CREATE INDEX "index_posts_on_content_new" ON "posts" ("content_new")
860
- ActiveRecord::SchemaMigration Create (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207154838"]]
861
-  (0.7ms) COMMIT
862
- 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]]
863
-  (0.1ms) BEGIN
864
-  (0.2ms) COMMIT
865
-  (0.2ms) SELECT pg_advisory_unlock(268089350951355045)
866
-  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
867
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045)
868
-  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
869
- Migrating to ChangeTheModelPostAtTime1644248920 (20220207154841)
870
-  (0.1ms) BEGIN
871
-  (1.1ms) DROP INDEX "index_posts_on_views_by_users"
872
- ActiveRecord::SchemaMigration Create (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207154841"]]
873
-  (1.3ms) COMMIT
874
- 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]]
875
-  (0.1ms) BEGIN
876
-  (0.3ms) COMMIT
877
-  (0.4ms) SELECT pg_advisory_unlock(268089350951355045)
878
-  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
879
-  (0.6ms) SELECT pg_try_advisory_lock(268089350951355045)
880
-  (2.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
881
- Migrating to ChangeTheModelPostAtTime1644248922 (20220207154843)
882
-  (0.2ms) BEGIN
883
-  (6.4ms) DROP TABLE "posts" CASCADE
884
- ActiveRecord::SchemaMigration Create (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207154843"]]
885
-  (4.2ms) COMMIT
886
- 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]]
887
-  (0.1ms) BEGIN
888
-  (0.1ms) COMMIT
889
-  (0.2ms) SELECT pg_advisory_unlock(268089350951355045)
890
-  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
891
-  (2.2ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
892
-  (1.2ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
893
-  (1.2ms) DROP TABLE if exists USERS cascade;
894
-  (11.4ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
895
-  (2.6ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
896
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045)
897
-  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
898
- Migrating to CreatePosts (20220207154846)
899
-  (0.2ms) BEGIN
900
-  (3.2ms) CREATE TABLE "posts" ("id" bigserial primary key, "title" character varying, "content" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
901
-  (2.4ms) CREATE INDEX "index_posts_on_title" ON "posts" ("title")
902
- ActiveRecord::SchemaMigration Create (0.9ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207154846"]]
903
-  (0.8ms) COMMIT
904
- 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]]
905
-  (0.2ms) BEGIN
906
- ActiveRecord::InternalMetadata Create (1.0ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2022-02-07 15:48:47.690346"], ["updated_at", "2022-02-07 15:48:47.690346"]]
907
-  (0.4ms) COMMIT
908
-  (0.4ms) SELECT pg_advisory_unlock(268089350951355045)
909
-  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
910
-  (0.6ms) SELECT pg_try_advisory_lock(268089350951355045)
911
-  (3.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
912
- Migrating to CreateUsers (20220207154849)
913
-  (0.3ms) BEGIN
914
-  (7.2ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying, "metadata" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
915
-  (1.1ms) CREATE INDEX "index_users_on_name" ON "users" ("name")
916
- ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207154849"]]
917
-  (0.5ms) COMMIT
918
- 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]]
919
-  (0.2ms) BEGIN
920
-  (0.1ms) COMMIT
921
-  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
922
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
923
-  (4.6ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
924
-  (2.3ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
925
-  (1.8ms) DROP TABLE if exists POSTS cascade;
926
-  (1.9ms) DROP TABLE if exists USERS cascade;
927
-  (11.6ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
928
-  (5.7ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
929
-  (0.5ms) SELECT pg_try_advisory_lock(268089350951355045)
930
-  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
931
- Migrating to CreatePosts (20220207154851)
932
-  (0.4ms) BEGIN
933
-  (8.0ms) CREATE TABLE "posts" ("id" bigserial primary key, "title" character varying, "content" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
934
-  (1.1ms) CREATE INDEX "index_posts_on_title" ON "posts" ("title")
935
- ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207154851"]]
936
-  (0.4ms) COMMIT
937
- 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]]
938
-  (0.1ms) BEGIN
939
- ActiveRecord::InternalMetadata Create (0.7ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2022-02-07 15:48:52.774929"], ["updated_at", "2022-02-07 15:48:52.774929"]]
940
-  (0.4ms) COMMIT
941
-  (0.6ms) SELECT pg_advisory_unlock(268089350951355045)
942
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
943
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045)
944
-  (2.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
945
- Migrating to CreateUsers (20220207154854)
946
-  (0.3ms) BEGIN
947
-  (13.6ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying, "metadata" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
948
-  (1.0ms) CREATE INDEX "index_users_on_name" ON "users" ("name")
949
- ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207154854"]]
950
-  (0.6ms) COMMIT
951
- ActiveRecord::InternalMetadata Load (1.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
952
-  (0.2ms) BEGIN
953
-  (0.2ms) COMMIT
954
-  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
955
-  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
956
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045)
957
-  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
958
- Migrating to ChangeTheModelPostAtTime1644248935 (20220207154856)
959
-  (0.1ms) BEGIN
960
-  (0.6ms) ALTER TABLE "posts" ADD "user_id" bigint
961
-  (2.2ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id")
962
-  (5.4ms) ALTER TABLE "posts" ADD CONSTRAINT "fk_rails_5b5ddfd518"
963
- FOREIGN KEY ("user_id")
964
- REFERENCES "users" ("id")
965
- 
966
- ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207154856"]]
967
-  (0.4ms) COMMIT
968
- 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]]
969
-  (0.2ms) BEGIN
970
-  (0.1ms) COMMIT
971
-  (0.2ms) SELECT pg_advisory_unlock(268089350951355045)
972
-  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
973
-  (1.3ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
974
-  (24.2ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
975
-  (6.0ms) DROP TABLE if exists POSTS cascade;
976
-  (1.8ms) DROP TABLE if exists USERS cascade;
977
-  (13.4ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
978
-  (6.7ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
979
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045)
980
-  (1.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
981
- Migrating to CreatePosts (20220207154859)
982
-  (0.2ms) BEGIN
983
-  (14.9ms) CREATE TABLE "posts" ("id" bigserial primary key, "title" character varying, "content" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
984
-  (1.5ms) CREATE INDEX "index_posts_on_title" ON "posts" ("title")
985
- ActiveRecord::SchemaMigration Create (0.9ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207154859"]]
986
-  (1.0ms) COMMIT
987
- Migrating to CreateUsers (20220207154900)
988
-  (0.7ms) BEGIN
989
-  (7.3ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying, "metadata" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
990
-  (1.0ms) CREATE INDEX "index_users_on_name" ON "users" ("name")
991
- ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207154900"]]
992
-  (0.3ms) COMMIT
993
- Migrating to CreateUserPosts (20220207154901)
994
-  (0.2ms) BEGIN
995
-  (3.7ms) CREATE TABLE "user_posts" ("id" bigserial primary key, "user_id" bigint, "post_id" bigint, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, CONSTRAINT "fk_rails_6c6a346128"
996
- FOREIGN KEY ("user_id")
997
- REFERENCES "users" ("id")
998
- , CONSTRAINT "fk_rails_38a7c4b06f"
999
- FOREIGN KEY ("post_id")
1000
- REFERENCES "posts" ("id")
1001
- )
1002
-  (1.0ms) CREATE INDEX "index_user_posts_on_user_id" ON "user_posts" ("user_id")
1003
-  (0.7ms) CREATE INDEX "index_user_posts_on_post_id" ON "user_posts" ("post_id")
1004
- ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207154901"]]
1005
-  (0.6ms) COMMIT
1006
- 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]]
1007
-  (0.1ms) BEGIN
1008
- ActiveRecord::InternalMetadata Create (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", "2022-02-07 15:49:03.089302"], ["updated_at", "2022-02-07 15:49:03.089302"]]
1009
-  (0.3ms) COMMIT
1010
-  (0.2ms) SELECT pg_advisory_unlock(268089350951355045)
1011
-  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1012
-  (1.8ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
1013
-  (1.6ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
1014
-  (5.9ms) DROP TABLE if exists USERS cascade;
1015
-  (1.9ms) DROP TABLE if exists USER_POSTS cascade;
1016
-  (2.4ms) DROP TABLE if exists POSTS cascade;
1017
-  (8.1ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
1018
-  (2.1ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
1019
-  (0.1ms) SELECT pg_try_advisory_lock(268089350951355045)
1020
-  (1.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1021
- Migrating to ChangeTheModelPostAtTime1644248952 (20220207154914)
1022
-  (0.1ms) BEGIN
1023
-  (5.2ms) CREATE TABLE "posts" ("id" bigserial primary key)
1024
- ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207154914"]]
1025
-  (0.3ms) COMMIT
1026
- 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]]
1027
-  (0.1ms) BEGIN
1028
- ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2022-02-07 15:49:15.254874"], ["updated_at", "2022-02-07 15:49:15.254874"]]
1029
-  (0.2ms) COMMIT
1030
-  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
1031
-  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1032
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045)
1033
-  (1.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1034
- Migrating to ChangeTheModelUserAtTime1644248955 (20220207154916)
1035
-  (0.2ms) BEGIN
1036
-  (3.0ms) CREATE TABLE "users" ("id" bigserial primary key)
1037
- ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207154916"]]
1038
-  (0.7ms) COMMIT
1039
- 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]]
1040
-  (0.3ms) BEGIN
1041
-  (0.1ms) COMMIT
1042
-  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
1043
-  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1044
-  (0.2ms) SELECT pg_try_advisory_lock(268089350951355045)
1045
-  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1046
- Migrating to ChangeTheModelPostAtTime1644248957 (20220207154919)
1047
-  (0.5ms) BEGIN
1048
-  (2.5ms) ALTER TABLE "posts" ADD "tags" text[] DEFAULT '{}'
1049
-  (1.1ms) CREATE INDEX "index_posts_on_tags" ON "posts" USING gin ("tags")
1050
-  (0.4ms) ALTER TABLE "posts" ADD "views" integer DEFAULT 0 NOT NULL
1051
-  (0.4ms) ALTER TABLE "posts" ADD "content" text
1052
-  (0.4ms) ALTER TABLE "posts" ADD "title" character varying
1053
- ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207154919"]]
1054
-  (0.8ms) COMMIT
1055
- 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]]
1056
-  (0.3ms) BEGIN
1057
-  (0.2ms) COMMIT
1058
-  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
1059
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1060
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045)
1061
-  (2.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1062
- Migrating to ChangeTheModelPostAtTime1644248960 (20220207154921)
1063
-  (0.2ms) BEGIN
1064
- ActiveRecord::SchemaMigration Create (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207154921"]]
1065
-  (0.9ms) COMMIT
1066
- 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]]
1067
-  (0.1ms) BEGIN
1068
-  (0.3ms) COMMIT
1069
-  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
1070
-  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1071
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045)
1072
-  (2.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1073
- Migrating to ChangeTheModelPostAtTime1644248962 (20220207154924)
1074
-  (0.2ms) BEGIN
1075
-  (0.9ms) ALTER TABLE "posts" RENAME COLUMN "content" TO "content_new"
1076
- ActiveRecord::SchemaMigration Create (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207154924"]]
1077
-  (0.3ms) COMMIT
1078
- 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]]
1079
-  (0.2ms) BEGIN
1080
-  (0.3ms) COMMIT
1081
-  (0.4ms) SELECT pg_advisory_unlock(268089350951355045)
1082
-  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1083
-  (0.2ms) SELECT pg_try_advisory_lock(268089350951355045)
1084
-  (1.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1085
- Migrating to ChangeTheModelPostAtTime1644248965 (20220207154926)
1086
-  (0.2ms) BEGIN
1087
-  (0.5ms) ALTER TABLE "posts" RENAME COLUMN "views" TO "views_by_users"
1088
-  (0.5ms) ALTER TABLE "posts" DROP COLUMN "title"
1089
- ActiveRecord::SchemaMigration Create (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207154926"]]
1090
-  (1.4ms) COMMIT
1091
- 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]]
1092
-  (0.1ms) BEGIN
1093
-  (0.2ms) COMMIT
1094
-  (0.2ms) SELECT pg_advisory_unlock(268089350951355045)
1095
-  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1096
-  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045)
1097
-  (1.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1098
- Migrating to ChangeTheModelPostAtTime1644248967 (20220207154929)
1099
-  (0.2ms) BEGIN
1100
-  (1.9ms) CREATE INDEX "index_posts_on_views_by_users" ON "posts" ("views_by_users")
1101
-  (0.7ms) ALTER TABLE "posts" ALTER COLUMN "content_new" TYPE character varying
1102
- ActiveRecord::SchemaMigration Create (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207154929"]]
1103
-  (1.1ms) COMMIT
1104
- 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]]
1105
-  (0.1ms) BEGIN
1106
-  (0.2ms) COMMIT
1107
-  (0.2ms) SELECT pg_advisory_unlock(268089350951355045)
1108
-  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1109
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045)
1110
-  (1.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1111
- Migrating to ChangeTheModelPostAtTime1644248970 (20220207154931)
1112
-  (0.2ms) BEGIN
1113
-  (1.4ms) CREATE INDEX "index_posts_on_content_new" ON "posts" ("content_new")
1114
- ActiveRecord::SchemaMigration Create (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207154931"]]
1115
-  (0.5ms) COMMIT
1116
- 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]]
1117
-  (0.2ms) BEGIN
1118
-  (0.1ms) COMMIT
1119
-  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
1120
-  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1121
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045)
1122
-  (2.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1123
- Migrating to ChangeTheModelPostAtTime1644248972 (20220207154934)
1124
-  (0.1ms) BEGIN
1125
-  (1.0ms) DROP INDEX "index_posts_on_views_by_users"
1126
- ActiveRecord::SchemaMigration Create (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207154934"]]
1127
-  (1.5ms) COMMIT
1128
- 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]]
1129
-  (0.2ms) BEGIN
1130
-  (0.2ms) COMMIT
1131
-  (0.2ms) SELECT pg_advisory_unlock(268089350951355045)
1132
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1133
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045)
1134
-  (1.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1135
- Migrating to ChangeTheModelPostAtTime1644248975 (20220207154936)
1136
-  (0.2ms) BEGIN
1137
-  (2.5ms) DROP TABLE "posts" CASCADE
1138
- ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207154936"]]
1139
-  (1.8ms) COMMIT
1140
- 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]]
1141
-  (0.4ms) BEGIN
1142
-  (0.3ms) COMMIT
1143
-  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
1144
-  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1145
-  (2.8ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
1146
-  (1.3ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
1147
-  (1.5ms) DROP TABLE if exists USERS cascade;
1148
-  (10.9ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
1149
-  (2.4ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
1150
-  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045)
1151
-  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1152
- Migrating to CreatePosts (20220207154939)
1153
-  (0.2ms) BEGIN
1154
-  (3.3ms) CREATE TABLE "posts" ("id" bigserial primary key, "title" character varying, "content" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
1155
-  (0.7ms) CREATE INDEX "index_posts_on_title" ON "posts" ("title")
1156
- ActiveRecord::SchemaMigration Create (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207154939"]]
1157
-  (0.6ms) COMMIT
1158
- 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]]
1159
-  (0.2ms) BEGIN
1160
- ActiveRecord::InternalMetadata Create (0.9ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2022-02-07 15:49:40.388540"], ["updated_at", "2022-02-07 15:49:40.388540"]]
1161
-  (0.4ms) COMMIT
1162
-  (0.4ms) SELECT pg_advisory_unlock(268089350951355045)
1163
-  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1164
-  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045)
1165
-  (1.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1166
- Migrating to CreateUsers (20220207154941)
1167
-  (0.2ms) BEGIN
1168
-  (12.0ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying, "metadata" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
1169
-  (0.8ms) CREATE INDEX "index_users_on_name" ON "users" ("name")
1170
- ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207154941"]]
1171
-  (0.6ms) COMMIT
1172
- 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]]
1173
-  (0.1ms) BEGIN
1174
-  (0.1ms) COMMIT
1175
-  (0.2ms) SELECT pg_advisory_unlock(268089350951355045)
1176
-  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1177
-  (2.1ms) DROP TABLE if exists USERS cascade;
1178
-  (1.3ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
1179
-  (1.5ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
1180
-  (1.9ms) DROP TABLE if exists POSTS cascade;
1181
-  (11.3ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
1182
-  (2.8ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
1183
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045)
1184
-  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1185
- Migrating to CreatePosts (20220207154944)
1186
-  (0.2ms) BEGIN
1187
-  (7.7ms) CREATE TABLE "posts" ("id" bigserial primary key, "title" character varying, "content" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
1188
-  (1.2ms) CREATE INDEX "index_posts_on_title" ON "posts" ("title")
1189
- ActiveRecord::SchemaMigration Create (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207154944"]]
1190
-  (0.3ms) COMMIT
1191
- 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]]
1192
-  (0.2ms) BEGIN
1193
- ActiveRecord::InternalMetadata Create (0.8ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2022-02-07 15:49:45.327872"], ["updated_at", "2022-02-07 15:49:45.327872"]]
1194
-  (0.5ms) COMMIT
1195
-  (0.6ms) SELECT pg_advisory_unlock(268089350951355045)
1196
-  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1197
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045)
1198
-  (1.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1199
- Migrating to CreateUsers (20220207154946)
1200
-  (0.1ms) BEGIN
1201
-  (10.3ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying, "metadata" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
1202
-  (0.6ms) CREATE INDEX "index_users_on_name" ON "users" ("name")
1203
- ActiveRecord::SchemaMigration Create (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207154946"]]
1204
-  (0.4ms) COMMIT
1205
- 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]]
1206
-  (0.2ms) BEGIN
1207
-  (0.1ms) COMMIT
1208
-  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
1209
-  (5.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1210
-  (0.5ms) SELECT pg_try_advisory_lock(268089350951355045)
1211
-  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1212
- Migrating to ChangeTheModelPostAtTime1644248987 (20220207154949)
1213
-  (0.4ms) BEGIN
1214
-  (0.6ms) ALTER TABLE "posts" ADD "user_id" bigint
1215
-  (3.6ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id")
1216
-  (1.8ms) ALTER TABLE "posts" ADD CONSTRAINT "fk_rails_5b5ddfd518"
1217
- FOREIGN KEY ("user_id")
1218
- REFERENCES "users" ("id")
1219
- 
1220
- ActiveRecord::SchemaMigration Create (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207154949"]]
1221
-  (0.6ms) COMMIT
1222
- 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]]
1223
-  (0.1ms) BEGIN
1224
-  (0.3ms) COMMIT
1225
-  (0.2ms) SELECT pg_advisory_unlock(268089350951355045)
1226
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1227
-  (1.5ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
1228
-  (1.1ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
1229
-  (2.3ms) DROP TABLE if exists USERS cascade;
1230
-  (1.7ms) DROP TABLE if exists POSTS cascade;
1231
-  (10.7ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
1232
-  (2.4ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
1233
-  (0.2ms) SELECT pg_try_advisory_lock(268089350951355045)
1234
-  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1235
- Migrating to CreatePosts (20220207154951)
1236
-  (0.5ms) BEGIN
1237
-  (9.2ms) CREATE TABLE "posts" ("id" bigserial primary key, "title" character varying, "content" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
1238
-  (0.6ms) CREATE INDEX "index_posts_on_title" ON "posts" ("title")
1239
- ActiveRecord::SchemaMigration Create (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207154951"]]
1240
-  (0.5ms) COMMIT
1241
- Migrating to CreateUsers (20220207154953)
1242
-  (0.4ms) BEGIN
1243
-  (3.3ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying, "metadata" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
1244
-  (0.6ms) CREATE INDEX "index_users_on_name" ON "users" ("name")
1245
- ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207154953"]]
1246
-  (0.4ms) COMMIT
1247
- Migrating to CreateUserPosts (20220207154954)
1248
-  (0.2ms) BEGIN
1249
-  (3.3ms) CREATE TABLE "user_posts" ("id" bigserial primary key, "user_id" bigint, "post_id" bigint, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, CONSTRAINT "fk_rails_6c6a346128"
1250
- FOREIGN KEY ("user_id")
1251
- REFERENCES "users" ("id")
1252
- , CONSTRAINT "fk_rails_38a7c4b06f"
1253
- FOREIGN KEY ("post_id")
1254
- REFERENCES "posts" ("id")
1255
- )
1256
-  (1.2ms) CREATE INDEX "index_user_posts_on_user_id" ON "user_posts" ("user_id")
1257
-  (0.6ms) CREATE INDEX "index_user_posts_on_post_id" ON "user_posts" ("post_id")
1258
- ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207154954"]]
1259
-  (0.2ms) COMMIT
1260
- 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]]
1261
-  (0.3ms) BEGIN
1262
- ActiveRecord::InternalMetadata Create (0.9ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2022-02-07 15:49:55.581835"], ["updated_at", "2022-02-07 15:49:55.581835"]]
1263
-  (0.8ms) COMMIT
1264
-  (0.6ms) SELECT pg_advisory_unlock(268089350951355045)
1265
-  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1266
-  (1.2ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
1267
-  (1.1ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
1268
-  (2.1ms) DROP TABLE if exists USERS cascade;
1269
-  (1.8ms) DROP TABLE if exists USER_POSTS cascade;
1270
-  (1.5ms) DROP TABLE if exists POSTS cascade;
1271
-  (7.6ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
1272
-  (4.7ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
1273
-  (0.2ms) SELECT pg_try_advisory_lock(268089350951355045)
1274
-  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1275
- Migrating to ChangeTheModelPostAtTime1644249009 (20220207155010)
1276
-  (0.1ms) BEGIN
1277
-  (1.9ms) CREATE TABLE "posts" ("id" bigserial primary key)
1278
- ActiveRecord::SchemaMigration Create (1.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207155010"]]
1279
-  (0.6ms) COMMIT
1280
- 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]]
1281
-  (0.1ms) BEGIN
1282
- ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2022-02-07 15:50:11.745097"], ["updated_at", "2022-02-07 15:50:11.745097"]]
1283
-  (0.3ms) COMMIT
1284
-  (0.2ms) SELECT pg_advisory_unlock(268089350951355045)
1285
-  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1286
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045)
1287
-  (1.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1288
- Migrating to ChangeTheModelUserAtTime1644249011 (20220207155013)
1289
-  (0.2ms) BEGIN
1290
-  (3.5ms) CREATE TABLE "users" ("id" bigserial primary key)
1291
- ActiveRecord::SchemaMigration Create (0.8ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207155013"]]
1292
-  (0.8ms) COMMIT
1293
- 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]]
1294
-  (0.1ms) BEGIN
1295
-  (0.1ms) COMMIT
1296
-  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
1297
-  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1298
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045)
1299
-  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1300
- Migrating to ChangeTheModelPostAtTime1644249014 (20220207155015)
1301
-  (0.2ms) BEGIN
1302
-  (2.4ms) ALTER TABLE "posts" ADD "tags" text[] DEFAULT '{}'
1303
-  (1.0ms) CREATE INDEX "index_posts_on_tags" ON "posts" USING gin ("tags")
1304
-  (0.3ms) ALTER TABLE "posts" ADD "views" integer DEFAULT 0 NOT NULL
1305
-  (0.2ms) ALTER TABLE "posts" ADD "content" text
1306
-  (0.3ms) ALTER TABLE "posts" ADD "title" character varying
1307
- ActiveRecord::SchemaMigration Create (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207155015"]]
1308
-  (0.7ms) COMMIT
1309
- 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]]
1310
-  (0.3ms) BEGIN
1311
-  (0.1ms) COMMIT
1312
-  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
1313
-  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1314
-  (0.2ms) SELECT pg_try_advisory_lock(268089350951355045)
1315
-  (1.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1316
- Migrating to ChangeTheModelPostAtTime1644249017 (20220207155018)
1317
-  (0.2ms) BEGIN
1318
- ActiveRecord::SchemaMigration Create (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207155018"]]
1319
-  (0.4ms) COMMIT
1320
- 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]]
1321
-  (0.2ms) BEGIN
1322
-  (0.1ms) COMMIT
1323
-  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
1324
-  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1325
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045)
1326
-  (2.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1327
- Migrating to ChangeTheModelPostAtTime1644249019 (20220207155020)
1328
-  (0.2ms) BEGIN
1329
-  (0.7ms) ALTER TABLE "posts" RENAME COLUMN "content" TO "content_new"
1330
- ActiveRecord::SchemaMigration Create (0.9ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207155020"]]
1331
-  (0.6ms) COMMIT
1332
- 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]]
1333
-  (0.3ms) BEGIN
1334
-  (0.3ms) COMMIT
1335
-  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
1336
-  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1337
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045)
1338
-  (1.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1339
- Migrating to ChangeTheModelPostAtTime1644249022 (20220207155023)
1340
-  (0.2ms) BEGIN
1341
-  (0.8ms) ALTER TABLE "posts" RENAME COLUMN "views" TO "views_by_users"
1342
-  (0.6ms) ALTER TABLE "posts" DROP COLUMN "title"
1343
- ActiveRecord::SchemaMigration Create (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207155023"]]
1344
-  (0.8ms) COMMIT
1345
- 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]]
1346
-  (0.2ms) BEGIN
1347
-  (0.1ms) COMMIT
1348
-  (0.6ms) SELECT pg_advisory_unlock(268089350951355045)
1349
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1350
-  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045)
1351
-  (2.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1352
- Migrating to ChangeTheModelPostAtTime1644249024 (20220207155026)
1353
-  (0.2ms) BEGIN
1354
-  (4.1ms) CREATE INDEX "index_posts_on_views_by_users" ON "posts" ("views_by_users")
1355
-  (0.9ms) ALTER TABLE "posts" ALTER COLUMN "content_new" TYPE character varying
1356
- ActiveRecord::SchemaMigration Create (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207155026"]]
1357
-  (1.3ms) COMMIT
1358
- 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]]
1359
-  (0.1ms) BEGIN
1360
-  (0.1ms) COMMIT
1361
-  (0.5ms) SELECT pg_advisory_unlock(268089350951355045)
1362
-  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1363
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045)
1364
-  (1.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1365
- Migrating to ChangeTheModelPostAtTime1644249027 (20220207155028)
1366
-  (0.4ms) BEGIN
1367
-  (3.1ms) CREATE INDEX "index_posts_on_content_new" ON "posts" ("content_new")
1368
- ActiveRecord::SchemaMigration Create (1.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207155028"]]
1369
-  (1.4ms) COMMIT
1370
- 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]]
1371
-  (0.2ms) BEGIN
1372
-  (0.2ms) COMMIT
1373
-  (0.4ms) SELECT pg_advisory_unlock(268089350951355045)
1374
-  (1.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1375
-  (0.5ms) SELECT pg_try_advisory_lock(268089350951355045)
1376
-  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1377
- Migrating to ChangeTheModelPostAtTime1644249029 (20220207155031)
1378
-  (0.2ms) BEGIN
1379
-  (0.8ms) DROP INDEX "index_posts_on_views_by_users"
1380
- ActiveRecord::SchemaMigration Create (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207155031"]]
1381
-  (1.8ms) COMMIT
1382
- 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]]
1383
-  (0.3ms) BEGIN
1384
-  (0.3ms) COMMIT
1385
-  (0.2ms) SELECT pg_advisory_unlock(268089350951355045)
1386
-  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1387
-  (0.5ms) SELECT pg_try_advisory_lock(268089350951355045)
1388
-  (1.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1389
- Migrating to ChangeTheModelPostAtTime1644249032 (20220207155033)
1390
-  (0.2ms) BEGIN
1391
-  (2.2ms) DROP TABLE "posts" CASCADE
1392
- ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207155033"]]
1393
-  (2.4ms) COMMIT
1394
- 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]]
1395
-  (0.3ms) BEGIN
1396
-  (0.1ms) COMMIT
1397
-  (0.4ms) SELECT pg_advisory_unlock(268089350951355045)
1398
-  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1399
-  (6.2ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
1400
-  (1.8ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
1401
-  (1.5ms) DROP TABLE if exists USERS cascade;
1402
-  (10.6ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
1403
-  (9.6ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
1404
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045)
1405
-  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1406
- Migrating to CreatePosts (20220207155036)
1407
-  (0.2ms) BEGIN
1408
-  (7.9ms) CREATE TABLE "posts" ("id" bigserial primary key, "title" character varying, "content" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
1409
-  (0.6ms) CREATE INDEX "index_posts_on_title" ON "posts" ("title")
1410
- ActiveRecord::SchemaMigration Create (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207155036"]]
1411
-  (0.5ms) COMMIT
1412
- 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]]
1413
-  (0.1ms) BEGIN
1414
- ActiveRecord::InternalMetadata Create (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", "2022-02-07 15:50:37.479400"], ["updated_at", "2022-02-07 15:50:37.479400"]]
1415
-  (0.3ms) COMMIT
1416
-  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
1417
-  (1.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1418
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045)
1419
-  (1.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1420
- Migrating to CreateUsers (20220207155038)
1421
-  (0.2ms) BEGIN
1422
-  (11.3ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying, "metadata" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
1423
-  (0.9ms) CREATE INDEX "index_users_on_name" ON "users" ("name")
1424
- ActiveRecord::SchemaMigration Create (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207155038"]]
1425
-  (0.7ms) COMMIT
1426
- 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]]
1427
-  (0.2ms) BEGIN
1428
-  (0.1ms) COMMIT
1429
-  (0.6ms) SELECT pg_advisory_unlock(268089350951355045)
1430
-  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1431
-  (1.5ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
1432
-  (1.1ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
1433
-  (1.8ms) DROP TABLE if exists POSTS cascade;
1434
-  (1.5ms) DROP TABLE if exists USERS cascade;
1435
-  (5.8ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
1436
-  (1.8ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
1437
-  (0.2ms) SELECT pg_try_advisory_lock(268089350951355045)
1438
-  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1439
- Migrating to CreatePosts (20220207155041)
1440
-  (0.3ms) BEGIN
1441
-  (3.1ms) CREATE TABLE "posts" ("id" bigserial primary key, "title" character varying, "content" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
1442
-  (0.8ms) CREATE INDEX "index_posts_on_title" ON "posts" ("title")
1443
- ActiveRecord::SchemaMigration Create (1.0ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207155041"]]
1444
-  (1.0ms) COMMIT
1445
- 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]]
1446
-  (0.1ms) BEGIN
1447
- ActiveRecord::InternalMetadata Create (0.7ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2022-02-07 15:50:42.563158"], ["updated_at", "2022-02-07 15:50:42.563158"]]
1448
-  (0.2ms) COMMIT
1449
-  (0.4ms) SELECT pg_advisory_unlock(268089350951355045)
1450
-  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1451
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045)
1452
-  (1.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1453
- Migrating to CreateUsers (20220207155043)
1454
-  (0.4ms) BEGIN
1455
-  (4.4ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying, "metadata" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
1456
-  (0.8ms) CREATE INDEX "index_users_on_name" ON "users" ("name")
1457
- ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207155043"]]
1458
-  (0.6ms) COMMIT
1459
- 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]]
1460
-  (0.2ms) BEGIN
1461
-  (0.3ms) COMMIT
1462
-  (0.5ms) SELECT pg_advisory_unlock(268089350951355045)
1463
-  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1464
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045)
1465
-  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1466
- Migrating to ChangeTheModelPostAtTime1644249045 (20220207155046)
1467
-  (0.2ms) BEGIN
1468
-  (0.8ms) ALTER TABLE "posts" ADD "user_id" bigint
1469
-  (2.1ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id")
1470
-  (1.7ms) ALTER TABLE "posts" ADD CONSTRAINT "fk_rails_5b5ddfd518"
1471
- FOREIGN KEY ("user_id")
1472
- REFERENCES "users" ("id")
1473
- 
1474
- ActiveRecord::SchemaMigration Create (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207155046"]]
1475
-  (0.7ms) COMMIT
1476
- 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]]
1477
-  (0.3ms) BEGIN
1478
-  (0.2ms) COMMIT
1479
-  (0.4ms) SELECT pg_advisory_unlock(268089350951355045)
1480
-  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1481
-  (1.3ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
1482
-  (1.2ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
1483
-  (2.1ms) DROP TABLE if exists POSTS cascade;
1484
-  (1.7ms) DROP TABLE if exists USERS cascade;
1485
-  (11.4ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
1486
-  (5.3ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
1487
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045)
1488
-  (1.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1489
- Migrating to CreatePosts (20220207155048)
1490
-  (0.4ms) BEGIN
1491
-  (3.8ms) CREATE TABLE "posts" ("id" bigserial primary key, "title" character varying, "content" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
1492
-  (0.5ms) CREATE INDEX "index_posts_on_title" ON "posts" ("title")
1493
- ActiveRecord::SchemaMigration Create (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207155048"]]
1494
-  (0.6ms) COMMIT
1495
- Migrating to CreateUsers (20220207155050)
1496
-  (0.2ms) BEGIN
1497
-  (2.8ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying, "metadata" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
1498
-  (0.6ms) CREATE INDEX "index_users_on_name" ON "users" ("name")
1499
- ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207155050"]]
1500
-  (0.4ms) COMMIT
1501
- Migrating to CreateUserPosts (20220207155051)
1502
-  (0.2ms) BEGIN
1503
-  (3.2ms) CREATE TABLE "user_posts" ("id" bigserial primary key, "user_id" bigint, "post_id" bigint, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, CONSTRAINT "fk_rails_6c6a346128"
1504
- FOREIGN KEY ("user_id")
1505
- REFERENCES "users" ("id")
1506
- , CONSTRAINT "fk_rails_38a7c4b06f"
1507
- FOREIGN KEY ("post_id")
1508
- REFERENCES "posts" ("id")
1509
- )
1510
-  (0.6ms) CREATE INDEX "index_user_posts_on_user_id" ON "user_posts" ("user_id")
1511
-  (0.6ms) CREATE INDEX "index_user_posts_on_post_id" ON "user_posts" ("post_id")
1512
- ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207155051"]]
1513
-  (0.3ms) COMMIT
1514
- 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]]
1515
-  (0.2ms) BEGIN
1516
- ActiveRecord::InternalMetadata Create (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", "2022-02-07 15:50:52.774237"], ["updated_at", "2022-02-07 15:50:52.774237"]]
1517
-  (0.4ms) COMMIT
1518
-  (0.2ms) SELECT pg_advisory_unlock(268089350951355045)
1519
-  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1520
-  (1.2ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
1521
-  (1.4ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
1522
-  (2.4ms) DROP TABLE if exists USERS cascade;
1523
-  (1.7ms) DROP TABLE if exists USER_POSTS cascade;
1524
-  (3.0ms) DROP TABLE if exists POSTS cascade;
1525
-  (14.4ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
1526
-  (5.5ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
1527
-  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045)
1528
-  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1529
- Migrating to ChangeTheModelPostAtTime1644249629 (20220207160030)
1530
-  (0.2ms) BEGIN
1531
-  (10.0ms) CREATE TABLE "posts" ("id" bigserial primary key)
1532
- ActiveRecord::SchemaMigration Create (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207160030"]]
1533
-  (0.6ms) COMMIT
1534
- 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]]
1535
-  (0.3ms) BEGIN
1536
- ActiveRecord::InternalMetadata Create (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", "2022-02-07 16:00:32.213951"], ["updated_at", "2022-02-07 16:00:32.213951"]]
1537
-  (0.3ms) COMMIT
1538
-  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
1539
-  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1540
-  (0.5ms) SELECT pg_try_advisory_lock(268089350951355045)
1541
-  (2.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1542
- Migrating to ChangeTheModelUserAtTime1644249632 (20220207160033)
1543
-  (0.2ms) BEGIN
1544
-  (9.3ms) CREATE TABLE "users" ("id" bigserial primary key)
1545
- ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207160033"]]
1546
-  (0.6ms) COMMIT
1547
- 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]]
1548
-  (0.3ms) BEGIN
1549
-  (0.3ms) COMMIT
1550
-  (0.4ms) SELECT pg_advisory_unlock(268089350951355045)
1551
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1552
-  (0.5ms) SELECT pg_try_advisory_lock(268089350951355045)
1553
-  (1.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1554
- Migrating to ChangeTheModelPostAtTime1644249634 (20220207160036)
1555
-  (0.2ms) BEGIN
1556
-  (7.6ms) ALTER TABLE "posts" ADD "tags" text[] DEFAULT '{}'
1557
-  (2.3ms) CREATE INDEX "index_posts_on_tags" ON "posts" USING gin ("tags")
1558
-  (0.7ms) ALTER TABLE "posts" ADD "views" integer DEFAULT 0 NOT NULL
1559
-  (0.3ms) ALTER TABLE "posts" ADD "content" text
1560
-  (0.2ms) ALTER TABLE "posts" ADD "title" character varying
1561
- ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207160036"]]
1562
-  (0.6ms) COMMIT
1563
- 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]]
1564
-  (0.1ms) BEGIN
1565
-  (0.1ms) COMMIT
1566
-  (0.2ms) SELECT pg_advisory_unlock(268089350951355045)
1567
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1568
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045)
1569
-  (1.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1570
- Migrating to ChangeTheModelPostAtTime1644249637 (20220207160038)
1571
-  (0.2ms) BEGIN
1572
- ActiveRecord::SchemaMigration Create (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207160038"]]
1573
-  (0.9ms) COMMIT
1574
- 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]]
1575
-  (0.3ms) BEGIN
1576
-  (0.3ms) COMMIT
1577
-  (0.5ms) SELECT pg_advisory_unlock(268089350951355045)
1578
-  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1579
-  (0.5ms) SELECT pg_try_advisory_lock(268089350951355045)
1580
-  (1.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1581
- Migrating to ChangeTheModelPostAtTime1644249639 (20220207160041)
1582
-  (0.2ms) BEGIN
1583
-  (0.8ms) ALTER TABLE "posts" RENAME COLUMN "content" TO "content_new"
1584
- ActiveRecord::SchemaMigration Create (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207160041"]]
1585
-  (0.6ms) COMMIT
1586
- 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]]
1587
-  (0.2ms) BEGIN
1588
-  (0.1ms) COMMIT
1589
-  (0.2ms) SELECT pg_advisory_unlock(268089350951355045)
1590
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1591
-  (0.5ms) SELECT pg_try_advisory_lock(268089350951355045)
1592
-  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1593
- Migrating to ChangeTheModelPostAtTime1644249642 (20220207160043)
1594
-  (0.2ms) BEGIN
1595
-  (0.4ms) ALTER TABLE "posts" RENAME COLUMN "views" TO "views_by_users"
1596
-  (1.6ms) ALTER TABLE "posts" DROP COLUMN "title"
1597
- ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207160043"]]
1598
-  (0.7ms) COMMIT
1599
- 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]]
1600
-  (0.2ms) BEGIN
1601
-  (0.3ms) COMMIT
1602
-  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
1603
-  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1604
-  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045)
1605
-  (1.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1606
- Migrating to ChangeTheModelPostAtTime1644249644 (20220207160046)
1607
-  (0.2ms) BEGIN
1608
-  (4.3ms) CREATE INDEX "index_posts_on_views_by_users" ON "posts" ("views_by_users")
1609
-  (0.9ms) ALTER TABLE "posts" ALTER COLUMN "content_new" TYPE character varying
1610
- ActiveRecord::SchemaMigration Create (0.8ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207160046"]]
1611
-  (0.7ms) COMMIT
1612
- ActiveRecord::InternalMetadata Load (3.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
1613
-  (0.2ms) BEGIN
1614
-  (0.2ms) COMMIT
1615
-  (0.4ms) SELECT pg_advisory_unlock(268089350951355045)
1616
-  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1617
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045)
1618
-  (1.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1619
- Migrating to ChangeTheModelPostAtTime1644249647 (20220207160048)
1620
-  (0.1ms) BEGIN
1621
-  (1.8ms) CREATE INDEX "index_posts_on_content_new" ON "posts" ("content_new")
1622
- ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207160048"]]
1623
-  (0.4ms) COMMIT
1624
- 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]]
1625
-  (0.3ms) BEGIN
1626
-  (0.2ms) COMMIT
1627
-  (0.5ms) SELECT pg_advisory_unlock(268089350951355045)
1628
-  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1629
-  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045)
1630
-  (1.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1631
- Migrating to ChangeTheModelPostAtTime1644249649 (20220207160051)
1632
-  (0.2ms) BEGIN
1633
-  (0.7ms) DROP INDEX "index_posts_on_views_by_users"
1634
- ActiveRecord::SchemaMigration Create (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207160051"]]
1635
-  (1.2ms) COMMIT
1636
- 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]]
1637
-  (0.5ms) BEGIN
1638
-  (0.2ms) COMMIT
1639
-  (0.5ms) SELECT pg_advisory_unlock(268089350951355045)
1640
-  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1641
-  (0.2ms) SELECT pg_try_advisory_lock(268089350951355045)
1642
-  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1643
- Migrating to ChangeTheModelPostAtTime1644249652 (20220207160053)
1644
-  (0.1ms) BEGIN
1645
-  (2.1ms) DROP TABLE "posts" CASCADE
1646
- ActiveRecord::SchemaMigration Create (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207160053"]]
1647
-  (1.1ms) COMMIT
1648
- 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]]
1649
-  (0.3ms) BEGIN
1650
-  (0.2ms) COMMIT
1651
-  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
1652
-  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1653
-  (2.3ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
1654
-  (1.1ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
1655
-  (1.3ms) DROP TABLE if exists USERS cascade;
1656
-  (6.9ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
1657
-  (2.6ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
1658
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045)
1659
-  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1660
- Migrating to CreatePosts (20220207160056)
1661
-  (0.2ms) BEGIN
1662
-  (3.2ms) CREATE TABLE "posts" ("id" bigserial primary key, "title" character varying, "content" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
1663
-  (0.6ms) CREATE INDEX "index_posts_on_title" ON "posts" ("title")
1664
- ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207160056"]]
1665
-  (0.4ms) COMMIT
1666
- 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]]
1667
-  (0.2ms) BEGIN
1668
- ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2022-02-07 16:00:57.433519"], ["updated_at", "2022-02-07 16:00:57.433519"]]
1669
-  (0.3ms) COMMIT
1670
-  (0.2ms) SELECT pg_advisory_unlock(268089350951355045)
1671
-  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1672
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045)
1673
-  (2.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1674
- Migrating to CreateUsers (20220207160058)
1675
-  (0.3ms) BEGIN
1676
-  (16.0ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying, "metadata" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
1677
-  (0.8ms) CREATE INDEX "index_users_on_name" ON "users" ("name")
1678
- ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207160058"]]
1679
-  (0.6ms) COMMIT
1680
- 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]]
1681
-  (0.1ms) BEGIN
1682
-  (0.1ms) COMMIT
1683
-  (0.2ms) SELECT pg_advisory_unlock(268089350951355045)
1684
-  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1685
-  (4.7ms) DROP TABLE if exists USERS cascade;
1686
-  (2.9ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
1687
-  (2.6ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
1688
-  (1.7ms) DROP TABLE if exists POSTS cascade;
1689
-  (10.8ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
1690
-  (2.4ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
1691
-  (0.2ms) SELECT pg_try_advisory_lock(268089350951355045)
1692
-  (1.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1693
- Migrating to CreatePosts (20220207160101)
1694
-  (0.2ms) BEGIN
1695
-  (3.3ms) CREATE TABLE "posts" ("id" bigserial primary key, "title" character varying, "content" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
1696
-  (1.0ms) CREATE INDEX "index_posts_on_title" ON "posts" ("title")
1697
- ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207160101"]]
1698
-  (0.5ms) COMMIT
1699
- 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]]
1700
-  (0.3ms) BEGIN
1701
- ActiveRecord::InternalMetadata Create (0.7ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2022-02-07 16:01:02.585431"], ["updated_at", "2022-02-07 16:01:02.585431"]]
1702
-  (0.7ms) COMMIT
1703
-  (0.6ms) SELECT pg_advisory_unlock(268089350951355045)
1704
-  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1705
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045)
1706
-  (1.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1707
- Migrating to CreateUsers (20220207160103)
1708
-  (0.2ms) BEGIN
1709
-  (4.9ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying, "metadata" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
1710
-  (0.6ms) CREATE INDEX "index_users_on_name" ON "users" ("name")
1711
- ActiveRecord::SchemaMigration Create (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207160103"]]
1712
-  (0.6ms) COMMIT
1713
- 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]]
1714
-  (0.1ms) BEGIN
1715
-  (0.1ms) COMMIT
1716
-  (0.5ms) SELECT pg_advisory_unlock(268089350951355045)
1717
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1718
-  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045)
1719
-  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1720
- Migrating to ChangeTheModelPostAtTime1644249665 (20220207160106)
1721
-  (0.3ms) BEGIN
1722
-  (0.6ms) ALTER TABLE "posts" ADD "user_id" bigint
1723
-  (1.6ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id")
1724
-  (2.0ms) ALTER TABLE "posts" ADD CONSTRAINT "fk_rails_5b5ddfd518"
1725
- FOREIGN KEY ("user_id")
1726
- REFERENCES "users" ("id")
1727
- 
1728
- ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207160106"]]
1729
-  (0.5ms) COMMIT
1730
- 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]]
1731
-  (0.3ms) BEGIN
1732
-  (0.3ms) COMMIT
1733
-  (0.2ms) SELECT pg_advisory_unlock(268089350951355045)
1734
-  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1735
-  (1.5ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
1736
-  (1.4ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
1737
-  (2.2ms) DROP TABLE if exists USERS cascade;
1738
-  (1.9ms) DROP TABLE if exists POSTS cascade;
1739
-  (11.0ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
1740
-  (2.6ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
1741
-  (0.2ms) SELECT pg_try_advisory_lock(268089350951355045)
1742
-  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1743
- Migrating to CreatePosts (20220207160108)
1744
-  (0.2ms) BEGIN
1745
-  (3.4ms) CREATE TABLE "posts" ("id" bigserial primary key, "title" character varying, "content" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
1746
-  (0.8ms) CREATE INDEX "index_posts_on_title" ON "posts" ("title")
1747
- ActiveRecord::SchemaMigration Create (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207160108"]]
1748
-  (0.6ms) COMMIT
1749
- Migrating to CreateUsers (20220207160110)
1750
-  (0.4ms) BEGIN
1751
-  (3.2ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying, "metadata" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
1752
-  (0.8ms) CREATE INDEX "index_users_on_name" ON "users" ("name")
1753
- ActiveRecord::SchemaMigration Create (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207160110"]]
1754
-  (0.5ms) COMMIT
1755
- Migrating to CreateUserPosts (20220207160111)
1756
-  (0.3ms) BEGIN
1757
-  (3.7ms) CREATE TABLE "user_posts" ("id" bigserial primary key, "user_id" bigint, "post_id" bigint, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, CONSTRAINT "fk_rails_6c6a346128"
1758
- FOREIGN KEY ("user_id")
1759
- REFERENCES "users" ("id")
1760
- , CONSTRAINT "fk_rails_38a7c4b06f"
1761
- FOREIGN KEY ("post_id")
1762
- REFERENCES "posts" ("id")
1763
- )
1764
-  (0.6ms) CREATE INDEX "index_user_posts_on_user_id" ON "user_posts" ("user_id")
1765
-  (0.7ms) CREATE INDEX "index_user_posts_on_post_id" ON "user_posts" ("post_id")
1766
- ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207160111"]]
1767
-  (0.4ms) COMMIT
1768
- 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]]
1769
-  (0.3ms) BEGIN
1770
- ActiveRecord::InternalMetadata Create (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", "2022-02-07 16:01:12.588627"], ["updated_at", "2022-02-07 16:01:12.588627"]]
1771
-  (0.3ms) COMMIT
1772
-  (0.4ms) SELECT pg_advisory_unlock(268089350951355045)
1773
-  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1774
-  (1.4ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
1775
-  (1.5ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
1776
-  (3.0ms) DROP TABLE if exists USERS cascade;
1777
-  (1.8ms) DROP TABLE if exists USER_POSTS cascade;
1778
-  (1.6ms) DROP TABLE if exists POSTS cascade;
1779
-  (11.1ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
1780
-  (5.3ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
1781
-  (0.2ms) SELECT pg_try_advisory_lock(268089350951355045)
1782
-  (1.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1783
- Migrating to ChangeTheModelPostAtTime1644249846 (20220207160407)
1784
-  (0.1ms) BEGIN
1785
-  (7.6ms) CREATE TABLE "posts" ("id" bigserial primary key)
1786
- ActiveRecord::SchemaMigration Create (2.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207160407"]]
1787
-  (1.2ms) COMMIT
1788
- ActiveRecord::InternalMetadata Load (1.0ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
1789
-  (0.4ms) BEGIN
1790
- ActiveRecord::InternalMetadata Create (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", "2022-02-07 16:04:09.217176"], ["updated_at", "2022-02-07 16:04:09.217176"]]
1791
-  (0.3ms) COMMIT
1792
-  (0.4ms) SELECT pg_advisory_unlock(268089350951355045)
1793
-  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1794
-  (0.5ms) SELECT pg_try_advisory_lock(268089350951355045)
1795
-  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1796
- Migrating to ChangeTheModelUserAtTime1644249849 (20220207160410)
1797
-  (0.5ms) BEGIN
1798
-  (3.5ms) CREATE TABLE "users" ("id" bigserial primary key)
1799
- ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207160410"]]
1800
-  (0.3ms) COMMIT
1801
- 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]]
1802
-  (0.2ms) BEGIN
1803
-  (0.1ms) COMMIT
1804
-  (0.2ms) SELECT pg_advisory_unlock(268089350951355045)
1805
-  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1806
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045)
1807
-  (2.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1808
- Migrating to ChangeTheModelPostAtTime1644249851 (20220207160413)
1809
-  (0.2ms) BEGIN
1810
-  (6.1ms) ALTER TABLE "posts" ADD "tags" text[] DEFAULT '{}'
1811
-  (3.1ms) CREATE INDEX "index_posts_on_tags" ON "posts" USING gin ("tags")
1812
-  (0.7ms) ALTER TABLE "posts" ADD "views" integer DEFAULT 0 NOT NULL
1813
-  (0.4ms) ALTER TABLE "posts" ADD "content" text
1814
-  (0.8ms) ALTER TABLE "posts" ADD "title" character varying
1815
- ActiveRecord::SchemaMigration Create (1.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207160413"]]
1816
-  (0.5ms) COMMIT
1817
- ActiveRecord::InternalMetadata Load (1.0ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
1818
-  (0.2ms) BEGIN
1819
-  (0.3ms) COMMIT
1820
-  (0.4ms) SELECT pg_advisory_unlock(268089350951355045)
1821
-  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1822
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045)
1823
-  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1824
- Migrating to ChangeTheModelPostAtTime1644249854 (20220207160415)
1825
-  (0.2ms) BEGIN
1826
- ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207160415"]]
1827
-  (2.3ms) COMMIT
1828
- 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]]
1829
-  (0.2ms) BEGIN
1830
-  (0.1ms) COMMIT
1831
-  (0.4ms) SELECT pg_advisory_unlock(268089350951355045)
1832
-  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1833
-  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045)
1834
-  (1.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1835
- Migrating to ChangeTheModelPostAtTime1644249856 (20220207160417)
1836
-  (0.2ms) BEGIN
1837
-  (0.7ms) ALTER TABLE "posts" RENAME COLUMN "content" TO "content_new"
1838
- ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207160417"]]
1839
-  (0.6ms) COMMIT
1840
- 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]]
1841
-  (0.2ms) BEGIN
1842
-  (0.1ms) COMMIT
1843
-  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
1844
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1845
-  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045)
1846
-  (1.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1847
- Migrating to ChangeTheModelPostAtTime1644249859 (20220207160420)
1848
-  (0.2ms) BEGIN
1849
-  (0.4ms) ALTER TABLE "posts" RENAME COLUMN "views" TO "views_by_users"
1850
-  (0.8ms) ALTER TABLE "posts" DROP COLUMN "title"
1851
- ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207160420"]]
1852
-  (0.7ms) COMMIT
1853
- 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]]
1854
-  (0.2ms) BEGIN
1855
-  (0.3ms) COMMIT
1856
-  (0.2ms) SELECT pg_advisory_unlock(268089350951355045)
1857
-  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1858
-  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045)
1859
-  (1.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1860
- Migrating to ChangeTheModelPostAtTime1644249861 (20220207160422)
1861
-  (0.3ms) BEGIN
1862
-  (3.3ms) CREATE INDEX "index_posts_on_views_by_users" ON "posts" ("views_by_users")
1863
-  (0.6ms) ALTER TABLE "posts" ALTER COLUMN "content_new" TYPE character varying
1864
- ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207160422"]]
1865
-  (0.6ms) COMMIT
1866
- 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]]
1867
-  (0.2ms) BEGIN
1868
-  (0.2ms) COMMIT
1869
-  (0.2ms) SELECT pg_advisory_unlock(268089350951355045)
1870
-  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1871
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045)
1872
-  (1.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1873
- Migrating to ChangeTheModelPostAtTime1644249864 (20220207160425)
1874
-  (0.2ms) BEGIN
1875
-  (3.1ms) CREATE INDEX "index_posts_on_content_new" ON "posts" ("content_new")
1876
- ActiveRecord::SchemaMigration Create (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207160425"]]
1877
-  (0.9ms) COMMIT
1878
- 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]]
1879
-  (0.2ms) BEGIN
1880
-  (0.2ms) COMMIT
1881
-  (0.2ms) SELECT pg_advisory_unlock(268089350951355045)
1882
-  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1883
-  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045)
1884
-  (1.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1885
- Migrating to ChangeTheModelPostAtTime1644249866 (20220207160427)
1886
-  (0.2ms) BEGIN
1887
-  (1.1ms) DROP INDEX "index_posts_on_views_by_users"
1888
- ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207160427"]]
1889
-  (1.0ms) COMMIT
1890
- 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]]
1891
-  (0.1ms) BEGIN
1892
-  (0.3ms) COMMIT
1893
-  (0.4ms) SELECT pg_advisory_unlock(268089350951355045)
1894
-  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1895
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045)
1896
-  (1.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1897
- Migrating to ChangeTheModelPostAtTime1644249869 (20220207160430)
1898
-  (0.2ms) BEGIN
1899
-  (5.4ms) DROP TABLE "posts" CASCADE
1900
- ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207160430"]]
1901
-  (2.2ms) COMMIT
1902
- 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]]
1903
-  (0.1ms) BEGIN
1904
-  (0.3ms) COMMIT
1905
-  (0.2ms) SELECT pg_advisory_unlock(268089350951355045)
1906
-  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1907
-  (2.6ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
1908
-  (1.6ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
1909
-  (1.4ms) DROP TABLE if exists USERS cascade;
1910
-  (10.6ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
1911
-  (5.7ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
1912
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045)
1913
-  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1914
- Migrating to CreatePosts (20220207160432)
1915
-  (0.2ms) BEGIN
1916
-  (3.3ms) CREATE TABLE "posts" ("id" bigserial primary key, "title" character varying, "content" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
1917
-  (0.9ms) CREATE INDEX "index_posts_on_title" ON "posts" ("title")
1918
- ActiveRecord::SchemaMigration Create (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207160432"]]
1919
-  (0.5ms) COMMIT
1920
- 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]]
1921
-  (0.1ms) BEGIN
1922
- ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2022-02-07 16:04:34.054798"], ["updated_at", "2022-02-07 16:04:34.054798"]]
1923
-  (0.3ms) COMMIT
1924
-  (0.2ms) SELECT pg_advisory_unlock(268089350951355045)
1925
-  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1926
-  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045)
1927
-  (1.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1928
- Migrating to CreateUsers (20220207160435)
1929
-  (0.4ms) BEGIN
1930
-  (4.0ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying, "metadata" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
1931
-  (0.7ms) CREATE INDEX "index_users_on_name" ON "users" ("name")
1932
- ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207160435"]]
1933
-  (0.5ms) COMMIT
1934
- 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]]
1935
-  (0.3ms) BEGIN
1936
-  (0.3ms) COMMIT
1937
-  (0.6ms) SELECT pg_advisory_unlock(268089350951355045)
1938
-  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1939
-  (1.3ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
1940
-  (4.7ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
1941
-  (1.7ms) DROP TABLE if exists POSTS cascade;
1942
-  (1.4ms) DROP TABLE if exists USERS cascade;
1943
-  (10.1ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
1944
-  (2.2ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
1945
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045)
1946
-  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1947
- Migrating to CreatePosts (20220207160437)
1948
-  (0.2ms) BEGIN
1949
-  (7.2ms) CREATE TABLE "posts" ("id" bigserial primary key, "title" character varying, "content" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
1950
-  (0.8ms) CREATE INDEX "index_posts_on_title" ON "posts" ("title")
1951
- ActiveRecord::SchemaMigration Create (36.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207160437"]]
1952
-  (6.6ms) COMMIT
1953
- 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]]
1954
-  (0.3ms) BEGIN
1955
- ActiveRecord::InternalMetadata Create (0.9ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2022-02-07 16:04:39.088616"], ["updated_at", "2022-02-07 16:04:39.088616"]]
1956
-  (0.5ms) COMMIT
1957
-  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
1958
-  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1959
-  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045)
1960
-  (3.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1961
- Migrating to CreateUsers (20220207160440)
1962
-  (0.4ms) BEGIN
1963
-  (14.0ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying, "metadata" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
1964
-  (1.7ms) CREATE INDEX "index_users_on_name" ON "users" ("name")
1965
- ActiveRecord::SchemaMigration Create (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207160440"]]
1966
-  (0.6ms) COMMIT
1967
- 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]]
1968
-  (0.3ms) BEGIN
1969
-  (0.1ms) COMMIT
1970
-  (0.5ms) SELECT pg_advisory_unlock(268089350951355045)
1971
-  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1972
-  (4.1ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
1973
-  (3.4ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
1974
-  (5.0ms) DROP TABLE if exists POSTS cascade;
1975
-  (4.5ms) DROP TABLE if exists USERS cascade;
1976
-  (7.1ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
1977
-  (2.1ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
1978
-  (0.2ms) SELECT pg_try_advisory_lock(268089350951355045)
1979
-  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1980
- Migrating to ChangeTheModelPostAtTime1644249926 (20220207160527)
1981
-  (0.1ms) BEGIN
1982
-  (8.1ms) CREATE TABLE "posts" ("id" bigserial primary key)
1983
- ActiveRecord::SchemaMigration Create (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207160527"]]
1984
-  (0.5ms) COMMIT
1985
- 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]]
1986
-  (0.2ms) BEGIN
1987
- ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2022-02-07 16:05:28.886957"], ["updated_at", "2022-02-07 16:05:28.886957"]]
1988
-  (0.2ms) COMMIT
1989
-  (0.1ms) SELECT pg_advisory_unlock(268089350951355045)
1990
-  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1991
-  (0.2ms) SELECT pg_try_advisory_lock(268089350951355045)
1992
-  (2.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1993
- Migrating to ChangeTheModelUserAtTime1644249928 (20220207160530)
1994
-  (0.4ms) BEGIN
1995
-  (8.7ms) CREATE TABLE "users" ("id" bigserial primary key)
1996
- ActiveRecord::SchemaMigration Create (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207160530"]]
1997
-  (0.6ms) COMMIT
1998
- 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]]
1999
-  (0.2ms) BEGIN
2000
-  (0.2ms) COMMIT
2001
-  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
2002
-  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2003
-  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045)
2004
-  (1.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2005
- Migrating to ChangeTheModelPostAtTime1644249931 (20220207160532)
2006
-  (0.2ms) BEGIN
2007
-  (5.6ms) ALTER TABLE "posts" ADD "tags" text[] DEFAULT '{}'
2008
-  (1.4ms) CREATE INDEX "index_posts_on_tags" ON "posts" USING gin ("tags")
2009
-  (0.3ms) ALTER TABLE "posts" ADD "views" integer DEFAULT 0 NOT NULL
2010
-  (0.2ms) ALTER TABLE "posts" ADD "content" text
2011
-  (0.2ms) ALTER TABLE "posts" ADD "title" character varying
2012
- ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207160532"]]
2013
-  (0.8ms) COMMIT
2014
- 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]]
2015
-  (0.1ms) BEGIN
2016
-  (0.2ms) COMMIT
2017
-  (0.4ms) SELECT pg_advisory_unlock(268089350951355045)
2018
-  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2019
-  (0.6ms) SELECT pg_try_advisory_lock(268089350951355045)
2020
-  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2021
- Migrating to ChangeTheModelPostAtTime1644249933 (20220207160535)
2022
-  (0.1ms) BEGIN
2023
- ActiveRecord::SchemaMigration Create (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207160535"]]
2024
-  (0.3ms) COMMIT
2025
- 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]]
2026
-  (0.4ms) BEGIN
2027
-  (0.1ms) COMMIT
2028
-  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
2029
-  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2030
-  (0.6ms) SELECT pg_try_advisory_lock(268089350951355045)
2031
-  (1.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2032
- Migrating to ChangeTheModelPostAtTime1644249936 (20220207160537)
2033
-  (0.2ms) BEGIN
2034
-  (0.8ms) ALTER TABLE "posts" RENAME COLUMN "content" TO "content_new"
2035
- ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207160537"]]
2036
-  (1.1ms) COMMIT
2037
- 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]]
2038
-  (0.3ms) BEGIN
2039
-  (0.4ms) COMMIT
2040
-  (0.4ms) SELECT pg_advisory_unlock(268089350951355045)
2041
-  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2042
-  (0.4ms) SELECT pg_try_advisory_lock(268089350951355045)
2043
-  (1.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2044
- Migrating to ChangeTheModelPostAtTime1644249938 (20220207160540)
2045
-  (0.2ms) BEGIN
2046
-  (0.8ms) ALTER TABLE "posts" RENAME COLUMN "views" TO "views_by_users"
2047
-  (0.8ms) ALTER TABLE "posts" DROP COLUMN "title"
2048
- ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207160540"]]
2049
-  (0.9ms) COMMIT
2050
- 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]]
2051
-  (0.2ms) BEGIN
2052
-  (0.3ms) COMMIT
2053
-  (0.6ms) SELECT pg_advisory_unlock(268089350951355045)
2054
-  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2055
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045)
2056
-  (1.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2057
- Migrating to ChangeTheModelPostAtTime1644249941 (20220207160542)
2058
-  (0.2ms) BEGIN
2059
-  (3.9ms) CREATE INDEX "index_posts_on_views_by_users" ON "posts" ("views_by_users")
2060
-  (0.6ms) ALTER TABLE "posts" ALTER COLUMN "content_new" TYPE character varying
2061
- ActiveRecord::SchemaMigration Create (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207160542"]]
2062
-  (0.6ms) COMMIT
2063
- ActiveRecord::InternalMetadata Load (0.9ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
2064
-  (0.2ms) BEGIN
2065
-  (0.3ms) COMMIT
2066
-  (0.4ms) SELECT pg_advisory_unlock(268089350951355045)
2067
-  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2068
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045)
2069
-  (1.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2070
- Migrating to ChangeTheModelPostAtTime1644249943 (20220207160544)
2071
-  (0.2ms) BEGIN
2072
-  (1.9ms) CREATE INDEX "index_posts_on_content_new" ON "posts" ("content_new")
2073
- ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207160544"]]
2074
-  (0.8ms) COMMIT
2075
- 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]]
2076
-  (0.2ms) BEGIN
2077
-  (0.2ms) COMMIT
2078
-  (0.6ms) SELECT pg_advisory_unlock(268089350951355045)
2079
-  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2080
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045)
2081
-  (1.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2082
- Migrating to ChangeTheModelPostAtTime1644249946 (20220207160547)
2083
-  (0.2ms) BEGIN
2084
-  (1.1ms) DROP INDEX "index_posts_on_views_by_users"
2085
- ActiveRecord::SchemaMigration Create (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207160547"]]
2086
-  (1.7ms) COMMIT
2087
- 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]]
2088
-  (0.1ms) BEGIN
2089
-  (0.3ms) COMMIT
2090
-  (0.6ms) SELECT pg_advisory_unlock(268089350951355045)
2091
-  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2092
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045)
2093
-  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2094
- Migrating to ChangeTheModelPostAtTime1644249948 (20220207160550)
2095
-  (0.1ms) BEGIN
2096
-  (6.6ms) DROP TABLE "posts" CASCADE
2097
- ActiveRecord::SchemaMigration Create (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207160550"]]
2098
-  (2.0ms) COMMIT
2099
- 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]]
2100
-  (0.1ms) BEGIN
2101
-  (0.1ms) COMMIT
2102
-  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
2103
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2104
-  (2.1ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
2105
-  (1.3ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
2106
-  (1.2ms) DROP TABLE if exists USERS cascade;
2107
-  (12.2ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
2108
-  (2.3ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
2109
-  (0.2ms) SELECT pg_try_advisory_lock(268089350951355045)
2110
-  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2111
- Migrating to CreatePosts (20220207160552)
2112
-  (0.3ms) BEGIN
2113
-  (3.2ms) CREATE TABLE "posts" ("id" bigserial primary key, "title" character varying, "content" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
2114
-  (0.7ms) CREATE INDEX "index_posts_on_title" ON "posts" ("title")
2115
- ActiveRecord::SchemaMigration Create (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207160552"]]
2116
-  (0.8ms) COMMIT
2117
- 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]]
2118
-  (0.1ms) BEGIN
2119
- ActiveRecord::InternalMetadata Create (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", "2022-02-07 16:05:53.865315"], ["updated_at", "2022-02-07 16:05:53.865315"]]
2120
-  (0.6ms) COMMIT
2121
-  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
2122
-  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2123
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045)
2124
-  (1.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2125
- Migrating to CreateUsers (20220207160555)
2126
-  (0.4ms) BEGIN
2127
-  (8.1ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying, "metadata" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
2128
-  (0.8ms) CREATE INDEX "index_users_on_name" ON "users" ("name")
2129
- ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207160555"]]
2130
-  (0.3ms) COMMIT
2131
- ActiveRecord::InternalMetadata Load (1.0ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
2132
-  (0.2ms) BEGIN
2133
-  (0.2ms) COMMIT
2134
-  (0.5ms) SELECT pg_advisory_unlock(268089350951355045)
2135
-  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2136
-  (4.4ms) DROP TABLE if exists USERS cascade;
2137
-  (1.4ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
2138
-  (1.4ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
2139
-  (1.9ms) DROP TABLE if exists POSTS cascade;
2140
-  (9.0ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
2141
-  (2.3ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
2142
-  (0.2ms) SELECT pg_try_advisory_lock(268089350951355045)
2143
-  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2144
- Migrating to CreatePosts (20220207160557)
2145
-  (0.2ms) BEGIN
2146
-  (2.8ms) CREATE TABLE "posts" ("id" bigserial primary key, "title" character varying, "content" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
2147
-  (0.7ms) CREATE INDEX "index_posts_on_title" ON "posts" ("title")
2148
- ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207160557"]]
2149
-  (0.4ms) COMMIT
2150
- 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]]
2151
-  (0.4ms) BEGIN
2152
- ActiveRecord::InternalMetadata Create (1.0ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2022-02-07 16:05:58.857048"], ["updated_at", "2022-02-07 16:05:58.857048"]]
2153
-  (0.4ms) COMMIT
2154
-  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
2155
-  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2156
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045)
2157
-  (2.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2158
- Migrating to CreateUsers (20220207160600)
2159
-  (0.2ms) BEGIN
2160
-  (12.2ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying, "metadata" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
2161
-  (0.8ms) CREATE INDEX "index_users_on_name" ON "users" ("name")
2162
- ActiveRecord::SchemaMigration Create (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207160600"]]
2163
-  (0.8ms) COMMIT
2164
- 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]]
2165
-  (0.2ms) BEGIN
2166
-  (0.3ms) COMMIT
2167
-  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
2168
-  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2169
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045)
2170
-  (1.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2171
- Migrating to ChangeTheModelPostAtTime1644249961 (20220207160602)
2172
-  (0.2ms) BEGIN
2173
-  (1.5ms) ALTER TABLE "posts" ADD "user_id" bigint
2174
-  (1.4ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id")
2175
-  (2.1ms) ALTER TABLE "posts" ADD CONSTRAINT "fk_rails_5b5ddfd518"
2176
- FOREIGN KEY ("user_id")
2177
- REFERENCES "users" ("id")
2178
- 
2179
- ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207160602"]]
2180
-  (0.6ms) COMMIT
2181
- 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]]
2182
-  (0.1ms) BEGIN
2183
-  (0.1ms) COMMIT
2184
-  (0.2ms) SELECT pg_advisory_unlock(268089350951355045)
2185
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2186
-  (1.4ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
2187
-  (1.2ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
2188
-  (2.1ms) DROP TABLE if exists USERS cascade;
2189
-  (1.7ms) DROP TABLE if exists POSTS cascade;
2190
-  (10.0ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
2191
-  (5.7ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
2192
-  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045)
2193
-  (1.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2194
- Migrating to CreatePosts (20220207160605)
2195
-  (0.2ms) BEGIN
2196
-  (7.9ms) CREATE TABLE "posts" ("id" bigserial primary key, "title" character varying, "content" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
2197
-  (1.3ms) CREATE INDEX "index_posts_on_title" ON "posts" ("title")
2198
- ActiveRecord::SchemaMigration Create (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207160605"]]
2199
-  (0.3ms) COMMIT
2200
- Migrating to CreateUsers (20220207160606)
2201
-  (0.4ms) BEGIN
2202
-  (6.5ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying, "metadata" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
2203
-  (1.5ms) CREATE INDEX "index_users_on_name" ON "users" ("name")
2204
- ActiveRecord::SchemaMigration Create (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207160606"]]
2205
-  (7.3ms) COMMIT
2206
- Migrating to CreateUserPosts (20220207160607)
2207
-  (0.3ms) BEGIN
2208
-  (4.2ms) CREATE TABLE "user_posts" ("id" bigserial primary key, "user_id" bigint, "post_id" bigint, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, CONSTRAINT "fk_rails_6c6a346128"
2209
- FOREIGN KEY ("user_id")
2210
- REFERENCES "users" ("id")
2211
- , CONSTRAINT "fk_rails_38a7c4b06f"
2212
- FOREIGN KEY ("post_id")
2213
- REFERENCES "posts" ("id")
2214
- )
2215
-  (0.8ms) CREATE INDEX "index_user_posts_on_user_id" ON "user_posts" ("user_id")
2216
-  (0.6ms) CREATE INDEX "index_user_posts_on_post_id" ON "user_posts" ("post_id")
2217
- ActiveRecord::SchemaMigration Create (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207160607"]]
2218
-  (0.5ms) COMMIT
2219
- 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]]
2220
-  (0.2ms) BEGIN
2221
- ActiveRecord::InternalMetadata Create (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", "2022-02-07 16:06:09.156028"], ["updated_at", "2022-02-07 16:06:09.156028"]]
2222
-  (0.3ms) COMMIT
2223
-  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
2224
-  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2225
-  (1.4ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
2226
-  (1.4ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
2227
-  (2.5ms) DROP TABLE if exists USERS cascade;
2228
-  (1.7ms) DROP TABLE if exists USER_POSTS cascade;
2229
-  (1.8ms) DROP TABLE if exists POSTS cascade;