Skip to content

Instantly share code, notes, and snippets.

@woto
Last active March 20, 2018 21:27
Show Gist options
  • Save woto/937e7790bf57b9f1f1a5b22b6bf5fd55 to your computer and use it in GitHub Desktop.
Save woto/937e7790bf57b9f1f1a5b22b6bf5fd55 to your computer and use it in GitHub Desktop.
root@0993fea07a16:/app/db/migrate# rake db:migrate
(in /app)
D, [2018-03-21T00:16:46.850190 #55] DEBUG -- : (1.4ms) SELECT pg_try_advisory_lock(3372214896220972305)
D, [2018-03-21T00:16:46.861403 #55] DEBUG -- : (2.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
I, [2018-03-21T00:16:46.862738 #55] INFO -- : Migrating to AddInitiatorToSales (20180306170359)
D, [2018-03-21T00:16:46.864178 #55] DEBUG -- : (0.4ms) BEGIN
== 20180306170359 AddInitiatorToSales: migrating ==============================
-- add_column(:sales, :initiator, :string)
D, [2018-03-21T00:16:46.869565 #55] DEBUG -- : (4.4ms) ALTER TABLE "sales" ADD "initiator" character varying
-> 0.0053s
== 20180306170359 AddInitiatorToSales: migrated (0.0054s) =====================
D, [2018-03-21T00:16:46.882111 #55] DEBUG -- : SQL (9.8ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20180306170359"]]
D, [2018-03-21T00:16:46.884992 #55] DEBUG -- : (2.7ms) COMMIT
D, [2018-03-21T00:16:46.893808 #55] DEBUG -- : ActiveRecord::InternalMetadata Load (3.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
D, [2018-03-21T00:16:46.898483 #55] DEBUG -- : (0.4ms) BEGIN
D, [2018-03-21T00:16:46.899489 #55] DEBUG -- : (0.4ms) COMMIT
D, [2018-03-21T00:16:46.900673 #55] DEBUG -- : (1.1ms) SELECT pg_advisory_unlock(3372214896220972305)
root@0993fea07a16:/app/db/migrate#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment