localtower 0.4.0 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (102) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +21 -7
  3. data/app/controllers/localtower/pages_controller.rb +24 -17
  4. data/app/helpers/localtower/application_helper.rb +7 -1
  5. data/app/views/layouts/localtower/application.html.erb +0 -10
  6. data/app/views/localtower/pages/logs.html.erb +2 -2
  7. data/app/views/localtower/pages/migrations.html.erb +40 -4
  8. data/app/views/localtower/pages/models.html.erb +1 -5
  9. data/app/views/localtower/pages/relations.html.erb +7 -5
  10. data/app/views/localtower/pages/tasks.html.erb +48 -0
  11. data/config/routes.rb +3 -1
  12. data/lib/localtower/plugins/capture.rb +8 -5
  13. data/lib/localtower/status.rb +6 -12
  14. data/lib/localtower/tools.rb +9 -21
  15. data/lib/localtower/version.rb +1 -1
  16. data/lib/localtower.rb +1 -3
  17. data/public/css/app.css +4 -0
  18. data/spec/dummy/Gemfile +2 -1
  19. data/spec/dummy/Gemfile.lock +101 -73
  20. data/spec/dummy/app/models/application_record.rb +3 -0
  21. data/spec/dummy/config/application.rb +1 -1
  22. data/spec/dummy/config/environments/development.rb +3 -3
  23. data/spec/dummy/config/environments/production.rb +2 -2
  24. data/spec/dummy/config/initializers/assets.rb +1 -1
  25. data/spec/dummy/log/development.log +10567 -2
  26. data/spec/dummy/log/localtower.log +380 -1640
  27. data/spec/dummy/log/localtower_capture_d8979d360722798f7b6eb1a2694a3791.json +1 -0
  28. data/spec/dummy/log/test.log +209 -1452
  29. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/-Y/-YOiiBKqc2UODHFjctm8xc7xFoZaL7zOjWQj6qQ2wyE.cache +1 -0
  30. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/-d/-dwueM4vmPt8L51S3jeSyg_AjGDcj0GUN6pDpCA1gCg.cache +3 -0
  31. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/0g/0gaJnJQdtd2ACbihXxn8OnjLWlDjnQ_WxfgOpbiLzhg.cache +1 -0
  32. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/0r/0rFCsCV9kZnEYtZZ6sfig8329OU31bqjecDFqSVank8.cache +1 -0
  33. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/1J/1J2k_CpnQE3d-PZAQwOVGQALGkta4qVvhdsKjgG0e4Q.cache +0 -0
  34. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/2p/2pYVH2Z_syqh6ok8QYxJNKxXpx1Iwppf6JGElZI0gpw.cache +0 -0
  35. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/3W/3WBmqd-2V6q5N-jvbyp-tlcfn3aHYMwBppbOUm7x4qg.cache +1 -0
  36. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/4K/4KFPlHkhdDW0riGUmlbaR-kmDz6JUnQvY6fwW8qsdaE.cache +3 -0
  37. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/6x/6xMeRWmLpNK_flx6-JA3KazvUxSCxyPxHv9Zm3eC26Q.cache +1 -0
  38. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/7d/7dNqI_dCDJLJmI1oM4xwFp9nRRNOem-4P4OD7PMyz2E.cache +0 -0
  39. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/8X/8XquhxVcp5A8QquLtxO8NgKTMJch0eqQmzFmRGIZP6I.cache +1 -0
  40. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/Ah/AhdfXXtU63kXS4TnsH2Vi1yWgVkIEeV8Z8XA68hrNQc.cache +0 -0
  41. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/Bt/BtAePnwLSGw82xUGI7wuhWDfuwarOQVS91YqCsweMcs.cache +0 -0
  42. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/Bx/BxzoG0KxeNLac4xTNeJv3qfeytbNBw58xj2zD-xdbrE.cache +2 -0
  43. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/CC/CCD0ROPX0yxHwNpVZmuP8ZNtgQpaVCMXpdzC0Wb5n24.cache +1 -0
  44. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/DS/DS43oxBg6K5PMWLn2mTy_4EnxI03ehHkxpjV7NCi8yM.cache +1 -0
  45. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/Do/Do83AoOat5W-c1g7piDGy2GMmffsY6JY0Qfuh5PY3GM.cache +2 -0
  46. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/EI/EI0Nxk-VRATWstMuVCVc0_GdYlQ-a0dx6n2g0l3vIik.cache +0 -0
  47. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/EN/ENhJnzJAU2IK-7aHqubj9N8Jo_UTmjG_VEQqyIkolQ8.cache +1 -0
  48. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/Fc/FcS6VUHN3Bd4pHGqd5NHA8jA4OLwWrU94s3b4GGxX9c.cache +1 -0
  49. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/G0/G0kukI-r0q0Vbrg6e_jnYJoYcOX8K__h-mwKbCf4twE.cache +0 -0
  50. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/I1/I1Jw08-mz8xzgrgi6giCzpf1UmzGTSbl4eJEw4DAoJM.cache +1 -0
  51. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/IV/IVOO1dXBmgjieDk__g57p6aYt0Z3CmfTa32jhegoyko.cache +3 -0
  52. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/JY/JYPmv5WP4wxdI9EKEEPkK_fVtqeSLfmint_5E8fQLQ8.cache +1 -0
  53. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/MX/MXI3KxaQPZGImSvCNZ_TbQVruWCJ3E0xiVxza1ZCAjM.cache +1 -0
  54. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/OU/OUoioCqXALK909jXPV3VSyCJIdNC7bsogUfdnRTpc5o.cache +1 -0
  55. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/PH/PHjtqNLUPAUDiSlu5AbPjlIo20mOGNm0uNjMLhX2NvM.cache +0 -0
  56. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/RC/RC9vfALY5K634pTeau0BAhTHl7d5_5yA3tM-QTLiKtI.cache +0 -0
  57. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/RG/RG1PrmlixwaUlG8BV0kcm_3F7OQekxsrLYjBdf403-k.cache +2 -0
  58. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/Ut/UtoMO6n6FHTpRCGk9VfxlfTI2Ao2GYJ_6kMzx3B9VH8.cache +1 -0
  59. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/VE/VExnbpDk3LxYdPk3htUrZQXPI8NK_zlKtSFfVXJlxU4.cache +1 -0
  60. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/Wm/WmKTjykiU-Tx_Faf5zduEeEQ-DozAs5omKToM2l1cZM.cache +0 -0
  61. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/X-/X-KjhDPd0nI155N_FaxFSgaOiYo0_ytqlmkBlLM7ayw.cache +1 -0
  62. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/XX/XXVhj-O91tJ5c8pz7DQlTABOv8TIRVg5haw9VOq9HuI.cache +1 -0
  63. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/YC/YCiifo5NCMwDChFqYFiV4EaYEx8hy3Efle1PsGbIdak.cache +1 -0
  64. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/Ya/YayMISAqD-Y3vBFywwKrXbUovGf5o77HUF5s8mnQgO0.cache +0 -0
  65. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/Zl/Zl-NEb0aDLmZ9gN4gdY1OYlbUXD4JhkFY_y23m55zmo.cache +0 -0
  66. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/_h/_hnjPptBeD3GP5B0iJR6pvyVkiMiq-o2TxaYmGf9KJo.cache +3 -0
  67. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/_p/_poEF6QbTPYJiQCFGoXxIXjmvcn6T0I87ElzJGHguk0.cache +1 -0
  68. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/aa/aaSj2zt8ddc87nZqTpOI9gRCKVnoalXKFBww7t4t3Kg.cache +0 -0
  69. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/bZ/bZHWUkrOLp0WM_Ogo36Qjt4cxDt-rOFgtcj4LNB-BVE.cache +1 -0
  70. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/cP/cPSNG_663TNT944Rke919luRS6FtpMwVc_7aDph645w.cache +1 -0
  71. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/ce/ceq8fcZGIoqWrCl9vrCRrywEdx42iy9PrGG9CwFSIF4.cache +0 -0
  72. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/cl/cljhP0Jc018nLnG1rpdg-FUf6mlIqrQYvXTNXTNG9Bw.cache +0 -0
  73. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/dm/dmod3fTZdoKso2FGM5RTQtb4kTB6vywsiXLWDygYFN4.cache +1 -0
  74. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/dy/dySDGcUTqlKx2MTvOmIEP-WzhyhCfU5xhN9qgxbz3rI.cache +0 -0
  75. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/gQ/gQYdmEzbLjTcFCnsfzXzEmeminOchF263snAk3IvXM0.cache +1 -0
  76. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/gh/ghvuMAqccBGljlmEaI3Gt5tH5rEg6hseKYMYfRMkHdY.cache +1 -0
  77. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/gt/gt8QC7k92A4hXA3HlCpQulW73tqd6x63I3uT-YrGMj0.cache +1 -0
  78. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/hf/hfVg-y7dPSQKbb7V3I7M5w7IpOhDiIB2H31d2tmbZMU.cache +0 -0
  79. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/iF/iFLwyhZIu1Jxm77NUT2qWeTDMmyELW4U85t9rGE_KVg.cache +0 -0
  80. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/kF/kFlIcBBnSyKE00OjpM90pqSn93mLMUv9esz86nrO-Cs.cache +1 -0
  81. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/ma/MazNt_5OaYexRuZnccZZ_7AONlxn1a4W3KdWyHyBdws.cache +0 -0
  82. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/ma/ma3w08gnDTeqwY2-C9BlToxA6-AS8bvXlu-nBiz0UYs.cache +1 -0
  83. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/n_/n_xYqQYhwEMQknb3jFQnjlxxBE9TzMNHCdJ-bEyZFIw.cache +2 -0
  84. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/nx/nxTv3sKVUQZADJyM3dPaVmUA78MIsMLD_K279yN_GsI.cache +2 -0
  85. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/pv/pv6tV3CDkIAmLXdU8EPLlNEkXAKJPufVD4VP30o4fWo.cache +0 -0
  86. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/qP/qPmv5snMrDw830S6hSICDcnIy7kVEWoFKXhGKT38lG4.cache +2 -0
  87. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/sY/sYvTb1uPWWmnHJNXKuW_xSco-aUb-rN2f0J35zSIzuc.cache +1 -0
  88. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/su/suQ_jjDxRiIn4VEqFJYKaBWJILaeGKBvoTv49XNX0vo.cache +1 -0
  89. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/u8/u8IrW5IIQ7espwk2Vpk23zheL9YZA0tnbKq9X7E-WA0.cache +1 -0
  90. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/wh/whzETExjcZCkn4msasD2aylgfhfpKPZrNxTkY-SOIDg.cache +2 -0
  91. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/x7/x7PYh8DJvPykcEqpVab2vcY9-GFz-3cqtoMlRAu94Uc.cache +2 -0
  92. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/y6/y6oxsJD3pAY9ph1_5M-77uiEjTVw8BheLZNygCKPm1g.cache +1 -0
  93. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/yH/yHZ-a1J23ZCf2n5mEHINMz23Iec2cLGTKauW7k4yGTE.cache +0 -0
  94. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/z7/z7KfUWYoSaGq8tQ5mbHwyfXyT3Pa4FWKJswHcIdJuds.cache +1 -0
  95. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/zu/zuExWc5WHxeOUPZUKHl9a9ZRmN50g7jMOD28macn6M0.cache +0 -0
  96. data/spec/dummy/tmp/pids/server.pid +1 -0
  97. data/spec/dummy/tmp/restart.txt +0 -0
  98. metadata +147 -25
  99. data/app/views/localtower/pages/status.html.erb +0 -29
  100. data/spec/dummy/custom_plan.rb +0 -11
  101. data/spec/dummy/db/schema.rb +0 -4
  102. data/spec/dummy/zeus.json +0 -22
@@ -1,1506 +1,242 @@
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
1
+  (7.8ms) DROP TABLE if exists DAMS cascade;
2
+  (2.3ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
3
+  (1.6ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
4
+  (1.6ms) DROP TABLE if exists TESTS cascade;
5
+  (2.5ms) DROP TABLE if exists POSTS cascade;
6
+  (2.1ms) DROP TABLE if exists DAMIANS cascade;
7
+  (15.0ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
8
+  (6.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)
842
9
   (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)
10
+  (1.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
11
+ Migrating to ChangeTheModelPostAtTime1644360105 (20220208224147)
1086
12
   (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]]
13
+  (5.7ms) CREATE TABLE "posts" ("id" bigserial primary key)
14
+ ActiveRecord::SchemaMigration Create (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220208224147"]]
15
+  (0.5ms) COMMIT
16
+ 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]]
1092
17
   (0.1ms) BEGIN
18
+ ActiveRecord::InternalMetadata Create (1.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-08 22:41:48.328889"], ["updated_at", "2022-02-08 22:41:48.328889"]]
1093
19
   (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)
20
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
21
+  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
22
+  (0.7ms) SELECT pg_try_advisory_lock(268089350951355045)
23
+  (2.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
24
+ Migrating to ChangeTheModelUserAtTime1644360108 (20220208224149)
1099
25
   (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
26
+  (10.8ms) CREATE TABLE "users" ("id" bigserial primary key)
27
+ ActiveRecord::SchemaMigration Create (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220208224149"]]
28
+  (1.0ms) COMMIT
29
+ 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]]
30
+  (0.3ms) BEGIN
1106
31
   (0.2ms) COMMIT
1107
-  (0.2ms) SELECT pg_advisory_unlock(268089350951355045)
32
+  (0.4ms) SELECT pg_advisory_unlock(268089350951355045)
1108
33
   (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)
34
+  (0.5ms) SELECT pg_try_advisory_lock(268089350951355045)
35
+  (2.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
36
+ Migrating to ChangeTheModelPostAtTime1644360110 (20220208224152)
1112
37
   (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"]]
38
+  (9.0ms) ALTER TABLE "posts" ADD "tags" text[] DEFAULT '{}'
39
+  (1.9ms) CREATE INDEX "index_posts_on_tags" ON "posts" USING gin ("tags")
40
+  (0.4ms) ALTER TABLE "posts" ADD "views" integer DEFAULT 0 NOT NULL
41
+  (0.2ms) ALTER TABLE "posts" ADD "content" text
42
+  (0.3ms) ALTER TABLE "posts" ADD "title" character varying
43
+ ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220208224152"]]
1115
44
   (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
45
+ 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]]
46
+  (0.1ms) BEGIN
1118
47
   (0.1ms) COMMIT
1119
48
   (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
1120
49
   (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1121
50
   (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)
51
+  (2.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
52
+ Migrating to ChangeTheModelPostAtTime1644360113 (20220208224154)
1167
53
   (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
54
+ ActiveRecord::SchemaMigration Create (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220208224154"]]
55
+  (0.9ms) COMMIT
1172
56
  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
57
+  (0.3ms) BEGIN
1174
58
   (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)
59
+  (0.5ms) SELECT pg_advisory_unlock(268089350951355045)
60
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1183
61
   (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]]
62
+  (1.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
63
+ Migrating to ChangeTheModelPostAtTime1644360115 (20220208224157)
1192
64
   (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"]]
65
+  (1.4ms) ALTER TABLE "posts" RENAME COLUMN "content" TO "content_new"
66
+ ActiveRecord::SchemaMigration Create (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220208224157"]]
1194
67
   (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]]
68
+ 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]]
1206
69
   (0.2ms) BEGIN
1207
-  (0.1ms) COMMIT
70
+  (0.2ms) COMMIT
1208
71
   (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
1209
-  (5.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
72
+  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1210
73
   (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)
74
+  (2.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
75
+ Migrating to ChangeTheModelPostAtTime1644360118 (20220208224159)
1248
76
   (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
77
+  (1.0ms) ALTER TABLE "posts" RENAME COLUMN "views" TO "views_by_users"
78
+  (3.0ms) ALTER TABLE "posts" DROP COLUMN "title"
79
+ ActiveRecord::SchemaMigration Create (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220208224159"]]
80
+  (0.7ms) COMMIT
1280
81
  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"]]
82
+  (0.3ms) BEGIN
1283
83
   (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
84
+  (0.5ms) SELECT pg_advisory_unlock(268089350951355045)
85
+  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1286
86
   (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]]
87
+  (1.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
88
+ Migrating to ChangeTheModelPostAtTime1644360120 (20220208224202)
1294
89
   (0.1ms) BEGIN
1295
-  (0.1ms) COMMIT
90
+  (3.4ms) CREATE INDEX "index_posts_on_views_by_users" ON "posts" ("views_by_users")
91
+  (1.3ms) ALTER TABLE "posts" ALTER COLUMN "content_new" TYPE character varying
92
+ ActiveRecord::SchemaMigration Create (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220208224202"]]
93
+  (0.8ms) COMMIT
94
+ 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]]
95
+  (0.2ms) BEGIN
96
+  (0.2ms) COMMIT
1296
97
   (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)
98
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
99
+  (0.5ms) SELECT pg_try_advisory_lock(268089350951355045)
100
+  (1.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
101
+ Migrating to ChangeTheModelPostAtTime1644360123 (20220208224204)
1301
102
   (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"]]
103
+  (3.9ms) CREATE INDEX "index_posts_on_content_new" ON "posts" ("content_new")
104
+ ActiveRecord::SchemaMigration Create (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220208224204"]]
1308
105
   (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
106
+ 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]]
107
+  (0.1ms) BEGIN
108
+  (0.2ms) COMMIT
1312
109
   (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
1313
110
   (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)
111
+  (0.5ms) SELECT pg_try_advisory_lock(268089350951355045)
112
+  (2.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
113
+ Migrating to ChangeTheModelPostAtTime1644360125 (20220208224207)
1317
114
   (0.2ms) BEGIN
1318
- ActiveRecord::SchemaMigration Create (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207155018"]]
1319
-  (0.4ms) COMMIT
115
+  (1.8ms) DROP INDEX "index_posts_on_views_by_users"
116
+ ActiveRecord::SchemaMigration Create (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220208224207"]]
117
+  (2.1ms) COMMIT
1320
118
  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
119
   (0.2ms) BEGIN
1322
120
   (0.1ms) COMMIT
1323
121
   (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)
122
+  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
123
+  (0.6ms) SELECT pg_try_advisory_lock(268089350951355045)
1338
124
   (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]]
125
+ Migrating to ChangeTheModelPostAtTime1644360128 (20220208224209)
1346
126
   (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)
127
+  (7.2ms) DROP TABLE "posts" CASCADE
128
+ ActiveRecord::SchemaMigration Create (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220208224209"]]
129
+  (3.7ms) COMMIT
130
+ 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]]
1353
131
   (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
132
+  (0.2ms) COMMIT
1361
133
   (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]]
134
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
135
+  (3.1ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
136
+  (3.6ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
137
+  (3.1ms) DROP TABLE if exists USERS cascade;
138
+  (12.8ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
139
+  (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)
140
+  (0.2ms) SELECT pg_try_advisory_lock(268089350951355045)
141
+  (1.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
142
+ Migrating to CreatePosts (20220208224212)
1371
143
   (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)
144
+  (8.5ms) CREATE TABLE "posts" ("id" bigserial primary key, "title" character varying, "content" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
145
+  (0.7ms) CREATE INDEX "index_posts_on_title" ON "posts" ("title")
146
+ ActiveRecord::SchemaMigration Create (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220208224212"]]
147
+  (0.6ms) COMMIT
148
+ 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]]
1378
149
   (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)
150
+ 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-08 22:42:13.396376"], ["updated_at", "2022-02-08 22:42:13.396376"]]
151
+  (0.4ms) COMMIT
152
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
1386
153
   (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1387
154
   (0.5ms) SELECT pg_try_advisory_lock(268089350951355045)
1388
155
   (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
156
+ Migrating to CreateUsers (20220208224214)
157
+  (0.4ms) BEGIN
158
+  (12.6ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying, "metadata" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
159
+  (1.7ms) CREATE INDEX "index_users_on_name" ON "users" ("name")
160
+ ActiveRecord::SchemaMigration Create (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220208224214"]]
161
+  (0.5ms) COMMIT
162
+ 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]]
163
+  (0.1ms) BEGIN
1396
164
   (0.1ms) COMMIT
1397
-  (0.4ms) SELECT pg_advisory_unlock(268089350951355045)
165
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
1398
166
   (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
167
+  (4.0ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
168
+  (3.2ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
169
+  (4.3ms) DROP TABLE if exists POSTS cascade;
170
+  (3.9ms) DROP TABLE if exists USERS cascade;
171
+  (14.5ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
172
+  (3.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)
173
+  (0.2ms) SELECT pg_try_advisory_lock(268089350951355045)
174
+  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
175
+ Migrating to CreatePosts (20220208224217)
176
+  (0.3ms) BEGIN
177
+  (3.6ms) CREATE TABLE "posts" ("id" bigserial primary key, "title" character varying, "content" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
178
+  (1.0ms) CREATE INDEX "index_posts_on_title" ON "posts" ("title")
179
+ ActiveRecord::SchemaMigration Create (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220208224217"]]
180
+  (0.4ms) COMMIT
1412
181
  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"]]
182
+  (0.2ms) BEGIN
183
+ 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-08 22:42:18.353630"], ["updated_at", "2022-02-08 22:42:18.353630"]]
1415
184
   (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)
185
+  (0.2ms) SELECT pg_advisory_unlock(268089350951355045)
186
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
187
+  (0.5ms) SELECT pg_try_advisory_lock(268089350951355045)
188
+  (2.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
189
+ Migrating to CreateUsers (20220208224219)
1421
190
   (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]]
191
+  (59.7ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying, "metadata" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
192
+  (2.9ms) CREATE INDEX "index_users_on_name" ON "users" ("name")
193
+ ActiveRecord::SchemaMigration Create (1.0ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220208224219"]]
194
+  (1.1ms) COMMIT
195
+ 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]]
1427
196
   (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
197
   (0.2ms) COMMIT
1449
-  (0.4ms) SELECT pg_advisory_unlock(268089350951355045)
198
+  (0.6ms) SELECT pg_advisory_unlock(268089350951355045)
1450
199
   (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)
200
+  (0.5ms) SELECT pg_try_advisory_lock(268089350951355045)
201
+  (2.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
202
+ Migrating to ChangeTheModelPostAtTime1644360141 (20220208224222)
1467
203
   (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"
204
+  (2.1ms) ALTER TABLE "posts" ADD "user_id" bigint
205
+  (3.6ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id")
206
+  (9.5ms) ALTER TABLE "posts" ADD CONSTRAINT "fk_rails_5b5ddfd518"
1471
207
  FOREIGN KEY ("user_id")
1472
208
  REFERENCES "users" ("id")
1473
209
  
1474
- ActiveRecord::SchemaMigration Create (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220207155046"]]
210
+ ActiveRecord::SchemaMigration Create (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220208224222"]]
1475
211
   (0.7ms) COMMIT
1476
212
  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
213
+  (0.1ms) BEGIN
1478
214
   (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)
215
+  (0.3ms) SELECT pg_advisory_unlock(268089350951355045)
216
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
217
+  (6.7ms) DROP TABLE if exists USERS cascade;
218
+  (3.3ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
219
+  (1.9ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
220
+  (2.9ms) DROP TABLE if exists POSTS cascade;
221
+  (14.5ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
222
+  (6.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)
1487
223
   (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)
224
+  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
225
+ Migrating to CreatePosts (20220208224224)
1496
226
   (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"]]
227
+  (9.0ms) CREATE TABLE "posts" ("id" bigserial primary key, "title" character varying, "content" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
228
+  (0.7ms) CREATE INDEX "index_posts_on_title" ON "posts" ("title")
229
+ ActiveRecord::SchemaMigration Create (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220208224224"]]
1500
230
   (0.4ms) COMMIT
1501
- Migrating to CreateUserPosts (20220207155051)
231
+ Migrating to CreateUsers (20220208224225)
232
+  (0.3ms) BEGIN
233
+  (3.2ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying, "metadata" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
234
+  (0.7ms) CREATE INDEX "index_users_on_name" ON "users" ("name")
235
+ ActiveRecord::SchemaMigration Create (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220208224225"]]
236
+  (0.5ms) COMMIT
237
+ Migrating to CreateUserPosts (20220208224227)
1502
238
   (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"
239
+  (3.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"
1504
240
  FOREIGN KEY ("user_id")
1505
241
  REFERENCES "users" ("id")
1506
242
  , CONSTRAINT "fk_rails_38a7c4b06f"
@@ -1508,17 +244,38 @@ FOREIGN KEY ("post_id")
1508
244
  REFERENCES "posts" ("id")
1509
245
  )
1510
246
   (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;
247
+  (0.8ms) CREATE INDEX "index_user_posts_on_post_id" ON "user_posts" ("post_id")
248
+ ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20220208224227"]]
249
+  (0.5ms) COMMIT
250
+ 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]]
251
+  (0.1ms) BEGIN
252
+ 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-08 22:42:28.406529"], ["updated_at", "2022-02-08 22:42:28.406529"]]
253
+  (0.6ms) COMMIT
254
+  (0.5ms) SELECT pg_advisory_unlock(268089350951355045)
255
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
256
+  (4.1ms) DROP TABLE if exists SCHEMA_MIGRATIONS cascade;
257
+  (2.9ms) DROP TABLE if exists AR_INTERNAL_METADATA cascade;
258
+  (6.3ms) DROP TABLE if exists POSTS cascade;
259
+  (5.1ms) DROP TABLE if exists USERS cascade;
260
+  (1.9ms) DROP TABLE if exists USER_POSTS cascade;
261
+  (0.3ms) SELECT pg_try_advisory_lock(268089350951355045)
262
+ ActiveRecord::SchemaMigration Pluck (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
263
+ 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]]
264
+ TRANSACTION (1.3ms) BEGIN
265
+ ActiveRecord::InternalMetadata Update (1.7ms) UPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3 [["value", "test"], ["updated_at", "2022-04-23 20:12:23.735485"], ["key", "environment"]]
266
+ TRANSACTION (1.0ms) COMMIT
267
+  (0.4ms) SELECT pg_advisory_unlock(268089350951355045)
268
+ ActiveRecord::SchemaMigration Pluck (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
269
+  (0.2ms) SELECT pg_try_advisory_lock(268089350951355045)
270
+ ActiveRecord::SchemaMigration Pluck (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
271
+ 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]]
272
+ TRANSACTION (0.1ms) BEGIN
273
+ ActiveRecord::InternalMetadata Update (0.4ms) UPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3 [["value", "test"], ["updated_at", "2022-07-03 18:37:21.534024"], ["key", "environment"]]
274
+ TRANSACTION (1.9ms) COMMIT
275
+  (0.4ms) SELECT pg_advisory_unlock(268089350951355045)
276
+ ActiveRecord::SchemaMigration Pluck (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
277
+  (0.2ms) SELECT pg_try_advisory_lock(268089350951355045)
278
+ ActiveRecord::SchemaMigration Pluck (1.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
279
+ 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]]
280
+  (0.7ms) SELECT pg_advisory_unlock(268089350951355045)
281
+ ActiveRecord::SchemaMigration Pluck (2.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC