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