localtower 0.4.0 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +21 -7
- data/app/controllers/localtower/pages_controller.rb +24 -17
- data/app/helpers/localtower/application_helper.rb +7 -1
- data/app/views/layouts/localtower/application.html.erb +0 -10
- data/app/views/localtower/pages/logs.html.erb +2 -2
- data/app/views/localtower/pages/migrations.html.erb +40 -4
- data/app/views/localtower/pages/models.html.erb +1 -5
- data/app/views/localtower/pages/relations.html.erb +7 -5
- data/app/views/localtower/pages/tasks.html.erb +48 -0
- data/config/routes.rb +3 -1
- data/lib/localtower/plugins/capture.rb +8 -5
- data/lib/localtower/status.rb +6 -12
- data/lib/localtower/tools.rb +9 -21
- data/lib/localtower/version.rb +1 -1
- data/lib/localtower.rb +1 -3
- data/public/css/app.css +4 -0
- data/spec/dummy/Gemfile +2 -1
- data/spec/dummy/Gemfile.lock +101 -73
- data/spec/dummy/app/models/application_record.rb +3 -0
- data/spec/dummy/config/application.rb +1 -1
- data/spec/dummy/config/environments/development.rb +3 -3
- data/spec/dummy/config/environments/production.rb +2 -2
- data/spec/dummy/config/initializers/assets.rb +1 -1
- data/spec/dummy/log/development.log +10567 -2
- data/spec/dummy/log/localtower.log +380 -1640
- data/spec/dummy/log/localtower_capture_d8979d360722798f7b6eb1a2694a3791.json +1 -0
- data/spec/dummy/log/test.log +209 -1452
- 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/tmp/pids/server.pid +1 -0
- data/spec/dummy/tmp/restart.txt +0 -0
- metadata +147 -25
- data/app/views/localtower/pages/status.html.erb +0 -29
- data/spec/dummy/custom_plan.rb +0 -11
- data/spec/dummy/db/schema.rb +0 -4
- data/spec/dummy/zeus.json +0 -22
data/spec/dummy/log/test.log
CHANGED
@@ -1,1506 +1,242 @@
|
|
1
|
-
[1m[35m (
|
2
|
-
[1m[35m (
|
3
|
-
[1m[35m (
|
4
|
-
[1m[35m (1.
|
5
|
-
|
6
|
-
[1m[35m (
|
7
|
-
[1m[35m (
|
8
|
-
[1m[
|
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
|
1
|
+
[1m[35m (7.8ms)[0m [1m[35mDROP TABLE if exists DAMS cascade;[0m
|
2
|
+
[1m[35m (2.3ms)[0m [1m[35mDROP TABLE if exists SCHEMA_MIGRATIONS cascade;[0m
|
3
|
+
[1m[35m (1.6ms)[0m [1m[35mDROP TABLE if exists AR_INTERNAL_METADATA cascade;[0m
|
4
|
+
[1m[35m (1.6ms)[0m [1m[35mDROP TABLE if exists TESTS cascade;[0m
|
5
|
+
[1m[35m (2.5ms)[0m [1m[35mDROP TABLE if exists POSTS cascade;[0m
|
6
|
+
[1m[35m (2.1ms)[0m [1m[35mDROP TABLE if exists DAMIANS cascade;[0m
|
7
|
+
[1m[35m (15.0ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
8
|
+
[1m[35m (6.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
|
842
9
|
[1m[35m (0.3ms)[0m [1m[34mSELECT pg_try_advisory_lock(268089350951355045)[0m
|
843
|
-
[1m[35m (1.
|
844
|
-
Migrating to
|
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)
|
10
|
+
[1m[35m (1.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
11
|
+
Migrating to ChangeTheModelPostAtTime1644360105 (20220208224147)
|
1086
12
|
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1087
|
-
[1m[35m (
|
1088
|
-
[1m[
|
1089
|
-
[1m[
|
1090
|
-
[1m[
|
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]]
|
13
|
+
[1m[35m (5.7ms)[0m [1m[35mCREATE TABLE "posts" ("id" bigserial primary key)[0m
|
14
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.7ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20220208224147"]]
|
15
|
+
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
|
16
|
+
[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]]
|
1092
17
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
18
|
+
[1m[36mActiveRecord::InternalMetadata Create (1.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-08 22:41:48.328889"], ["updated_at", "2022-02-08 22:41:48.328889"]]
|
1093
19
|
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
|
1094
|
-
[1m[35m (0.
|
1095
|
-
[1m[35m (0.
|
1096
|
-
[1m[35m (0.
|
1097
|
-
[1m[35m (
|
1098
|
-
Migrating to
|
20
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT pg_advisory_unlock(268089350951355045)[0m
|
21
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
22
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT pg_try_advisory_lock(268089350951355045)[0m
|
23
|
+
[1m[35m (2.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
24
|
+
Migrating to ChangeTheModelUserAtTime1644360108 (20220208224149)
|
1099
25
|
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1100
|
-
[1m[35m (
|
1101
|
-
[1m[
|
1102
|
-
[1m[
|
1103
|
-
[1m[
|
1104
|
-
[1m[
|
1105
|
-
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
26
|
+
[1m[35m (10.8ms)[0m [1m[35mCREATE TABLE "users" ("id" bigserial primary key)[0m
|
27
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20220208224149"]]
|
28
|
+
[1m[35m (1.0ms)[0m [1m[35mCOMMIT[0m
|
29
|
+
[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]]
|
30
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
1106
31
|
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
|
1107
|
-
[1m[35m (0.
|
32
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT pg_advisory_unlock(268089350951355045)[0m
|
1108
33
|
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1109
|
-
[1m[35m (0.
|
1110
|
-
[1m[35m (
|
1111
|
-
Migrating to
|
34
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT pg_try_advisory_lock(268089350951355045)[0m
|
35
|
+
[1m[35m (2.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
36
|
+
Migrating to ChangeTheModelPostAtTime1644360110 (20220208224152)
|
1112
37
|
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1113
|
-
[1m[35m (
|
1114
|
-
[1m[
|
38
|
+
[1m[35m (9.0ms)[0m [1m[35mALTER TABLE "posts" ADD "tags" text[] DEFAULT '{}'[0m
|
39
|
+
[1m[35m (1.9ms)[0m [1m[35mCREATE INDEX "index_posts_on_tags" ON "posts" USING gin ("tags")[0m
|
40
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "posts" ADD "views" integer DEFAULT 0 NOT NULL[0m
|
41
|
+
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "posts" ADD "content" text[0m
|
42
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "posts" ADD "title" character varying[0m
|
43
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20220208224152"]]
|
1115
44
|
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
|
1116
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.
|
1117
|
-
[1m[35m (0.
|
45
|
+
[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]]
|
46
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1118
47
|
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
|
1119
48
|
[1m[35m (0.3ms)[0m [1m[34mSELECT pg_advisory_unlock(268089350951355045)[0m
|
1120
49
|
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1121
50
|
[1m[35m (0.3ms)[0m [1m[34mSELECT pg_try_advisory_lock(268089350951355045)[0m
|
1122
|
-
[1m[35m (2.
|
1123
|
-
Migrating to
|
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)
|
51
|
+
[1m[35m (2.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
52
|
+
Migrating to ChangeTheModelPostAtTime1644360113 (20220208224154)
|
1167
53
|
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1168
|
-
[1m[
|
1169
|
-
[1m[35m (0.
|
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
|
54
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20220208224154"]]
|
55
|
+
[1m[35m (0.9ms)[0m [1m[35mCOMMIT[0m
|
1172
56
|
[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.
|
57
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
1174
58
|
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
|
1175
|
-
[1m[35m (0.
|
1176
|
-
[1m[35m (0.
|
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
|
59
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT pg_advisory_unlock(268089350951355045)[0m
|
60
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1183
61
|
[1m[35m (0.3ms)[0m [1m[34mSELECT pg_try_advisory_lock(268089350951355045)[0m
|
1184
|
-
[1m[35m (
|
1185
|
-
Migrating to
|
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]]
|
62
|
+
[1m[35m (1.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
63
|
+
Migrating to ChangeTheModelPostAtTime1644360115 (20220208224157)
|
1192
64
|
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1193
|
-
[1m[
|
65
|
+
[1m[35m (1.4ms)[0m [1m[35mALTER TABLE "posts" RENAME COLUMN "content" TO "content_new"[0m
|
66
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.7ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20220208224157"]]
|
1194
67
|
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
|
1195
|
-
[1m[
|
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]]
|
68
|
+
[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]]
|
1206
69
|
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1207
|
-
[1m[35m (0.
|
70
|
+
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
|
1208
71
|
[1m[35m (0.3ms)[0m [1m[34mSELECT pg_advisory_unlock(268089350951355045)[0m
|
1209
|
-
[1m[35m (
|
72
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1210
73
|
[1m[35m (0.5ms)[0m [1m[34mSELECT pg_try_advisory_lock(268089350951355045)[0m
|
1211
|
-
[1m[35m (
|
1212
|
-
Migrating to
|
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)
|
74
|
+
[1m[35m (2.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
75
|
+
Migrating to ChangeTheModelPostAtTime1644360118 (20220208224159)
|
1248
76
|
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1249
|
-
[1m[35m (
|
1250
|
-
|
1251
|
-
|
1252
|
-
|
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
|
77
|
+
[1m[35m (1.0ms)[0m [1m[35mALTER TABLE "posts" RENAME COLUMN "views" TO "views_by_users"[0m
|
78
|
+
[1m[35m (3.0ms)[0m [1m[35mALTER TABLE "posts" DROP COLUMN "title"[0m
|
79
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20220208224159"]]
|
80
|
+
[1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m
|
1280
81
|
[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.
|
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"]]
|
82
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
1283
83
|
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
1284
|
-
[1m[35m (0.
|
1285
|
-
[1m[35m (0.
|
84
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT pg_advisory_unlock(268089350951355045)[0m
|
85
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1286
86
|
[1m[35m (0.3ms)[0m [1m[34mSELECT pg_try_advisory_lock(268089350951355045)[0m
|
1287
|
-
[1m[35m (1.
|
1288
|
-
Migrating to
|
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]]
|
87
|
+
[1m[35m (1.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
88
|
+
Migrating to ChangeTheModelPostAtTime1644360120 (20220208224202)
|
1294
89
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1295
|
-
[1m[35m (
|
90
|
+
[1m[35m (3.4ms)[0m [1m[35mCREATE INDEX "index_posts_on_views_by_users" ON "posts" ("views_by_users")[0m
|
91
|
+
[1m[35m (1.3ms)[0m [1m[35mALTER TABLE "posts" ALTER COLUMN "content_new" TYPE character varying[0m
|
92
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20220208224202"]]
|
93
|
+
[1m[35m (0.8ms)[0m [1m[35mCOMMIT[0m
|
94
|
+
[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]]
|
95
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
96
|
+
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
|
1296
97
|
[1m[35m (0.3ms)[0m [1m[34mSELECT pg_advisory_unlock(268089350951355045)[0m
|
1297
|
-
[1m[35m (0.
|
1298
|
-
[1m[35m (0.
|
1299
|
-
[1m[35m (
|
1300
|
-
Migrating to
|
98
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
99
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT pg_try_advisory_lock(268089350951355045)[0m
|
100
|
+
[1m[35m (1.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
101
|
+
Migrating to ChangeTheModelPostAtTime1644360123 (20220208224204)
|
1301
102
|
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1302
|
-
[1m[35m (
|
1303
|
-
[1m[
|
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"]]
|
103
|
+
[1m[35m (3.9ms)[0m [1m[35mCREATE INDEX "index_posts_on_content_new" ON "posts" ("content_new")[0m
|
104
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20220208224204"]]
|
1308
105
|
[1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m
|
1309
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.
|
1310
|
-
[1m[35m (0.
|
1311
|
-
[1m[35m (0.
|
106
|
+
[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]]
|
107
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
108
|
+
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
|
1312
109
|
[1m[35m (0.3ms)[0m [1m[34mSELECT pg_advisory_unlock(268089350951355045)[0m
|
1313
110
|
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1314
|
-
[1m[35m (0.
|
1315
|
-
[1m[35m (
|
1316
|
-
Migrating to
|
111
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT pg_try_advisory_lock(268089350951355045)[0m
|
112
|
+
[1m[35m (2.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
113
|
+
Migrating to ChangeTheModelPostAtTime1644360125 (20220208224207)
|
1317
114
|
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1318
|
-
[1m[
|
1319
|
-
[1m[
|
115
|
+
[1m[35m (1.8ms)[0m [1m[35mDROP INDEX "index_posts_on_views_by_users"[0m
|
116
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20220208224207"]]
|
117
|
+
[1m[35m (2.1ms)[0m [1m[35mCOMMIT[0m
|
1320
118
|
[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
119
|
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1322
120
|
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
|
1323
121
|
[1m[35m (0.3ms)[0m [1m[34mSELECT pg_advisory_unlock(268089350951355045)[0m
|
1324
|
-
[1m[35m (0.
|
1325
|
-
[1m[35m (0.
|
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
|
122
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
123
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT pg_try_advisory_lock(268089350951355045)[0m
|
1338
124
|
[1m[35m (1.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1339
|
-
Migrating to
|
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]]
|
125
|
+
Migrating to ChangeTheModelPostAtTime1644360128 (20220208224209)
|
1346
126
|
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1347
|
-
[1m[35m (
|
1348
|
-
[1m[
|
1349
|
-
[1m[35m (
|
1350
|
-
[1m[
|
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)
|
127
|
+
[1m[35m (7.2ms)[0m [1m[35mDROP TABLE "posts" CASCADE[0m
|
128
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.7ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20220208224209"]]
|
129
|
+
[1m[35m (3.7ms)[0m [1m[35mCOMMIT[0m
|
130
|
+
[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]]
|
1353
131
|
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1354
|
-
[1m[35m (
|
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
|
132
|
+
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
|
1361
133
|
[1m[35m (0.5ms)[0m [1m[34mSELECT pg_advisory_unlock(268089350951355045)[0m
|
1362
|
-
[1m[35m (0.
|
1363
|
-
[1m[35m (
|
1364
|
-
[1m[35m (
|
1365
|
-
|
1366
|
-
[1m[35m (
|
1367
|
-
[1m[35m (
|
1368
|
-
[1m[
|
1369
|
-
[1m[35m (1.
|
1370
|
-
|
134
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
135
|
+
[1m[35m (3.1ms)[0m [1m[35mDROP TABLE if exists SCHEMA_MIGRATIONS cascade;[0m
|
136
|
+
[1m[35m (3.6ms)[0m [1m[35mDROP TABLE if exists AR_INTERNAL_METADATA cascade;[0m
|
137
|
+
[1m[35m (3.1ms)[0m [1m[35mDROP TABLE if exists USERS cascade;[0m
|
138
|
+
[1m[35m (12.8ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
139
|
+
[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
|
140
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(268089350951355045)[0m
|
141
|
+
[1m[35m (1.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
142
|
+
Migrating to CreatePosts (20220208224212)
|
1371
143
|
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1372
|
-
[1m[35m (
|
1373
|
-
[1m[35m (0.
|
1374
|
-
[1m[
|
1375
|
-
[1m[35m (0.
|
1376
|
-
[1m[
|
1377
|
-
Migrating to ChangeTheModelPostAtTime1644249029 (20220207155031)
|
144
|
+
[1m[35m (8.5ms)[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
|
145
|
+
[1m[35m (0.7ms)[0m [1m[35mCREATE INDEX "index_posts_on_title" ON "posts" ("title")[0m
|
146
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20220208224212"]]
|
147
|
+
[1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
|
148
|
+
[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]]
|
1378
149
|
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1379
|
-
[1m[
|
1380
|
-
[1m[
|
1381
|
-
[1m[35m (
|
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
|
150
|
+
[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-08 22:42:13.396376"], ["updated_at", "2022-02-08 22:42:13.396376"]]
|
151
|
+
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
152
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT pg_advisory_unlock(268089350951355045)[0m
|
1386
153
|
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1387
154
|
[1m[35m (0.5ms)[0m [1m[34mSELECT pg_try_advisory_lock(268089350951355045)[0m
|
1388
155
|
[1m[35m (1.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1389
|
-
Migrating to
|
1390
|
-
[1m[35m (0.
|
1391
|
-
[1m[35m (
|
1392
|
-
[1m[
|
1393
|
-
[1m[
|
1394
|
-
[1m[
|
1395
|
-
[1m[
|
156
|
+
Migrating to CreateUsers (20220208224214)
|
157
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
158
|
+
[1m[35m (12.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
|
159
|
+
[1m[35m (1.7ms)[0m [1m[35mCREATE INDEX "index_users_on_name" ON "users" ("name")[0m
|
160
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20220208224214"]]
|
161
|
+
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
|
162
|
+
[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]]
|
163
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1396
164
|
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
|
1397
|
-
[1m[35m (0.
|
165
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT pg_advisory_unlock(268089350951355045)[0m
|
1398
166
|
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1399
|
-
[1m[35m (
|
1400
|
-
[1m[35m (
|
1401
|
-
[1m[35m (
|
1402
|
-
[1m[35m (
|
1403
|
-
[1m[35m (
|
1404
|
-
[1m[35m (
|
1405
|
-
[1m[35m (0.
|
1406
|
-
|
1407
|
-
|
1408
|
-
[1m[35m (
|
1409
|
-
[1m[35m (
|
1410
|
-
[1m[
|
1411
|
-
[1m[
|
167
|
+
[1m[35m (4.0ms)[0m [1m[35mDROP TABLE if exists SCHEMA_MIGRATIONS cascade;[0m
|
168
|
+
[1m[35m (3.2ms)[0m [1m[35mDROP TABLE if exists AR_INTERNAL_METADATA cascade;[0m
|
169
|
+
[1m[35m (4.3ms)[0m [1m[35mDROP TABLE if exists POSTS cascade;[0m
|
170
|
+
[1m[35m (3.9ms)[0m [1m[35mDROP TABLE if exists USERS cascade;[0m
|
171
|
+
[1m[35m (14.5ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
172
|
+
[1m[35m (3.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
|
173
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(268089350951355045)[0m
|
174
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
175
|
+
Migrating to CreatePosts (20220208224217)
|
176
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
177
|
+
[1m[35m (3.6ms)[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
|
178
|
+
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_posts_on_title" ON "posts" ("title")[0m
|
179
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20220208224217"]]
|
180
|
+
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
1412
181
|
[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.
|
1414
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.
|
182
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
183
|
+
[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-08 22:42:18.353630"], ["updated_at", "2022-02-08 22:42:18.353630"]]
|
1415
184
|
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
1416
|
-
[1m[35m (0.
|
1417
|
-
[1m[35m (
|
1418
|
-
[1m[35m (0.
|
1419
|
-
[1m[35m (
|
1420
|
-
Migrating to CreateUsers (
|
185
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(268089350951355045)[0m
|
186
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
187
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT pg_try_advisory_lock(268089350951355045)[0m
|
188
|
+
[1m[35m (2.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
189
|
+
Migrating to CreateUsers (20220208224219)
|
1421
190
|
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1422
|
-
[1m[35m (
|
1423
|
-
[1m[35m (
|
1424
|
-
[1m[36mActiveRecord::SchemaMigration Create (
|
1425
|
-
[1m[35m (
|
1426
|
-
[1m[36mActiveRecord::InternalMetadata Load (
|
191
|
+
[1m[35m (59.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
|
192
|
+
[1m[35m (2.9ms)[0m [1m[35mCREATE INDEX "index_users_on_name" ON "users" ("name")[0m
|
193
|
+
[1m[36mActiveRecord::SchemaMigration Create (1.0ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20220208224219"]]
|
194
|
+
[1m[35m (1.1ms)[0m [1m[35mCOMMIT[0m
|
195
|
+
[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]]
|
1427
196
|
[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
197
|
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
|
1449
|
-
[1m[35m (0.
|
198
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT pg_advisory_unlock(268089350951355045)[0m
|
1450
199
|
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1451
|
-
[1m[35m (0.
|
1452
|
-
[1m[35m (
|
1453
|
-
Migrating to
|
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)
|
200
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT pg_try_advisory_lock(268089350951355045)[0m
|
201
|
+
[1m[35m (2.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
202
|
+
Migrating to ChangeTheModelPostAtTime1644360141 (20220208224222)
|
1467
203
|
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1468
|
-
[1m[35m (
|
1469
|
-
[1m[35m (
|
1470
|
-
[1m[35m (
|
204
|
+
[1m[35m (2.1ms)[0m [1m[35mALTER TABLE "posts" ADD "user_id" bigint[0m
|
205
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id")[0m
|
206
|
+
[1m[35m (9.5ms)[0m [1m[35mALTER TABLE "posts" ADD CONSTRAINT "fk_rails_5b5ddfd518"
|
1471
207
|
FOREIGN KEY ("user_id")
|
1472
208
|
REFERENCES "users" ("id")
|
1473
209
|
[0m
|
1474
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.
|
210
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20220208224222"]]
|
1475
211
|
[1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m
|
1476
212
|
[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.
|
213
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1478
214
|
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
|
1479
|
-
[1m[35m (0.
|
1480
|
-
[1m[35m (0.
|
1481
|
-
[1m[35m (
|
1482
|
-
[1m[35m (
|
1483
|
-
[1m[35m (
|
1484
|
-
[1m[35m (
|
1485
|
-
[1m[35m (
|
1486
|
-
[1m[35m (
|
215
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT pg_advisory_unlock(268089350951355045)[0m
|
216
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
217
|
+
[1m[35m (6.7ms)[0m [1m[35mDROP TABLE if exists USERS cascade;[0m
|
218
|
+
[1m[35m (3.3ms)[0m [1m[35mDROP TABLE if exists SCHEMA_MIGRATIONS cascade;[0m
|
219
|
+
[1m[35m (1.9ms)[0m [1m[35mDROP TABLE if exists AR_INTERNAL_METADATA cascade;[0m
|
220
|
+
[1m[35m (2.9ms)[0m [1m[35mDROP TABLE if exists POSTS cascade;[0m
|
221
|
+
[1m[35m (14.5ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
222
|
+
[1m[35m (6.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
|
1487
223
|
[1m[35m (0.3ms)[0m [1m[34mSELECT pg_try_advisory_lock(268089350951355045)[0m
|
1488
|
-
[1m[35m (
|
1489
|
-
Migrating to CreatePosts (
|
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)
|
224
|
+
[1m[35m (0.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
225
|
+
Migrating to CreatePosts (20220208224224)
|
1496
226
|
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1497
|
-
[1m[35m (
|
1498
|
-
[1m[35m (0.
|
1499
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.
|
227
|
+
[1m[35m (9.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
|
228
|
+
[1m[35m (0.7ms)[0m [1m[35mCREATE INDEX "index_posts_on_title" ON "posts" ("title")[0m
|
229
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20220208224224"]]
|
1500
230
|
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
1501
|
-
Migrating to
|
231
|
+
Migrating to CreateUsers (20220208224225)
|
232
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
233
|
+
[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
|
234
|
+
[1m[35m (0.7ms)[0m [1m[35mCREATE INDEX "index_users_on_name" ON "users" ("name")[0m
|
235
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20220208224225"]]
|
236
|
+
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
|
237
|
+
Migrating to CreateUserPosts (20220208224227)
|
1502
238
|
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1503
|
-
[1m[35m (3.
|
239
|
+
[1m[35m (3.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"
|
1504
240
|
FOREIGN KEY ("user_id")
|
1505
241
|
REFERENCES "users" ("id")
|
1506
242
|
, CONSTRAINT "fk_rails_38a7c4b06f"
|
@@ -1508,17 +244,38 @@ FOREIGN KEY ("post_id")
|
|
1508
244
|
REFERENCES "posts" ("id")
|
1509
245
|
)[0m
|
1510
246
|
[1m[35m (0.6ms)[0m [1m[35mCREATE INDEX "index_user_posts_on_user_id" ON "user_posts" ("user_id")[0m
|
1511
|
-
[1m[35m (0.
|
1512
|
-
[1m[36mActiveRecord::SchemaMigration Create (0.
|
1513
|
-
[1m[35m (0.
|
1514
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.
|
1515
|
-
[1m[35m (0.
|
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-
|
1517
|
-
[1m[35m (0.
|
1518
|
-
[1m[35m (0.
|
1519
|
-
[1m[35m (0.
|
1520
|
-
[1m[35m (
|
1521
|
-
[1m[35m (
|
1522
|
-
[1m[35m (
|
1523
|
-
[1m[35m (
|
1524
|
-
[1m[35m (
|
247
|
+
[1m[35m (0.8ms)[0m [1m[35mCREATE INDEX "index_user_posts_on_post_id" ON "user_posts" ("post_id")[0m
|
248
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20220208224227"]]
|
249
|
+
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
|
250
|
+
[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]]
|
251
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
252
|
+
[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-08 22:42:28.406529"], ["updated_at", "2022-02-08 22:42:28.406529"]]
|
253
|
+
[1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
|
254
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT pg_advisory_unlock(268089350951355045)[0m
|
255
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
256
|
+
[1m[35m (4.1ms)[0m [1m[35mDROP TABLE if exists SCHEMA_MIGRATIONS cascade;[0m
|
257
|
+
[1m[35m (2.9ms)[0m [1m[35mDROP TABLE if exists AR_INTERNAL_METADATA cascade;[0m
|
258
|
+
[1m[35m (6.3ms)[0m [1m[35mDROP TABLE if exists POSTS cascade;[0m
|
259
|
+
[1m[35m (5.1ms)[0m [1m[35mDROP TABLE if exists USERS cascade;[0m
|
260
|
+
[1m[35m (1.9ms)[0m [1m[35mDROP TABLE if exists USER_POSTS cascade;[0m
|
261
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT pg_try_advisory_lock(268089350951355045)[0m
|
262
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
263
|
+
[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]]
|
264
|
+
[1m[36mTRANSACTION (1.3ms)[0m [1m[35mBEGIN[0m
|
265
|
+
[1m[36mActiveRecord::InternalMetadata Update (1.7ms)[0m [1m[33mUPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3[0m [["value", "test"], ["updated_at", "2022-04-23 20:12:23.735485"], ["key", "environment"]]
|
266
|
+
[1m[36mTRANSACTION (1.0ms)[0m [1m[35mCOMMIT[0m
|
267
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT pg_advisory_unlock(268089350951355045)[0m
|
268
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
269
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(268089350951355045)[0m
|
270
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
271
|
+
[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]]
|
272
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mBEGIN[0m
|
273
|
+
[1m[36mActiveRecord::InternalMetadata Update (0.4ms)[0m [1m[33mUPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3[0m [["value", "test"], ["updated_at", "2022-07-03 18:37:21.534024"], ["key", "environment"]]
|
274
|
+
[1m[36mTRANSACTION (1.9ms)[0m [1m[35mCOMMIT[0m
|
275
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT pg_advisory_unlock(268089350951355045)[0m
|
276
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
277
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(268089350951355045)[0m
|
278
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (1.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
279
|
+
[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]]
|
280
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT pg_advisory_unlock(268089350951355045)[0m
|
281
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (2.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|