Skip to content

Instantly share code, notes, and snippets.

@dpaola2
Created April 17, 2019 16:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dpaola2/a2fffff1754f710fbbbde62ff537fda7 to your computer and use it in GitHub Desktop.
Save dpaola2/a2fffff1754f710fbbbde62ff537fda7 to your computer and use it in GitHub Desktop.
Running rails db:migrate on ⬢ zenspace-tml... up, run.9747 (Standard-1X)
D, [2019-04-17T16:58:06.441711 #4] DEBUG -- : (1.9ms) SELECT pg_try_advisory_lock(5457135974728159995)
D, [2019-04-17T16:58:06.471021 #4] DEBUG -- : (3.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
I, [2019-04-17T16:58:06.472889 #4] INFO -- : Migrating to BackfillOfficeLeaseStripeSubscriptions (20190417034742)
D, [2019-04-17T16:58:06.476873 #4] DEBUG -- : (1.1ms) BEGIN
== 20190417034742 BackfillOfficeLeaseStripeSubscriptions: migrating ===========
D, [2019-04-17T16:58:06.577611 #4] DEBUG -- : SQL (3.1ms) SELECT "office_leases"."id" AS t0_r0, "office_leases"."operator_id" AS t0_r1, "office_leases"."organization_id" AS t0_r2, "office_leases"."office_id" AS t0_r3, "office_leases"."start_date" AS t0_r4, "office_leases"."end_date" AS t0_r5, "office_leases"."created_at" AS t0_r6, "office_leases"."updated_at" AS t0_r7, "office_leases"."subscription_id" AS t0_r8, "operators"."id" AS t1_r0, "operators"."name" AS t1_r1, "operators"."subdomain" AS t1_r2, "operators"."created_at" AS t1_r3, "operators"."updated_at" AS t1_r4, "operators"."snippet" AS t1_r5, "operators"."wifi_name" AS t1_r6, "operators"."wifi_password" AS t1_r7, "operators"."building_address" AS t1_r8, "operators"."approval_required" AS t1_r9, "operators"."contact_name" AS t1_r10, "operators"."contact_email" AS t1_r11, "operators"."contact_phone" AS t1_r12, "operators"."day_pass_cost_in_cents" AS t1_r13, "operators"."square_footage" AS t1_r14, "operators"."email_enabled" AS t1_r15, "operators"."kisi_api_key" AS t1_r16, "operators"."stripe_user_id" AS t1_r17, "operators"."stripe_publishable_key" AS t1_r18, "operators"."stripe_refresh_token" AS t1_r19, "operators"."stripe_access_token" AS t1_r20, "operators"."billing_state" AS t1_r21, "operators"."ios_url" AS t1_r22, "operators"."android_url" AS t1_r23, "subscriptions"."id" AS t2_r0, "subscriptions"."plan_id" AS t2_r1, "subscriptions"."active" AS t2_r2, "subscriptions"."created_at" AS t2_r3, "subscriptions"."updated_at" AS t2_r4, "subscriptions"."stripe_subscription_id" AS t2_r5, "subscriptions"."subscribable_type" AS t2_r6, "subscriptions"."subscribable_id" AS t2_r7, "organizations"."id" AS t3_r0, "organizations"."name" AS t3_r1, "organizations"."owner_id" AS t3_r2, "organizations"."website" AS t3_r3, "organizations"."slug" AS t3_r4, "organizations"."created_at" AS t3_r5, "organizations"."updated_at" AS t3_r6, "organizations"."operator_id" AS t3_r7, "organizations"."stripe_customer_id" AS t3_r8, "organizations"."out_of_band" AS t3_r9 FROM "office_leases" INNER JOIN "subscriptions" ON "subscriptions"."id" = "office_leases"."subscription_id" LEFT OUTER JOIN "operators" ON "operators"."id" = "office_leases"."operator_id" LEFT OUTER JOIN "organizations" ON "organizations"."id" = "office_leases"."organization_id" WHERE "subscriptions"."stripe_subscription_id" IS NULL
D, [2019-04-17T16:58:06.666070 #4] DEBUG -- : Plan Load (1.7ms) SELECT "plans".* FROM "plans" WHERE "plans"."id" = $1 LIMIT $2 [["id", 186], ["LIMIT", 1]]
INFO Request to Stripe API account=acct_1BGVgLEV6H9PcOfB method=post num_retries=0 path=/v1/subscriptions
INFO Response from Stripe API account=acct_1BGVgLEV6H9PcOfB api_version=2018-11-08 elapsed=0.472262658 method=post path=/v1/subscriptions request_id=req_7TlxoGZ3XRr92H status=400
ERRO Stripe API error status=400 error_message="Missing email. In order to create invoices that are sent to the customer, the customer must have a valid email." error_type=invalid_request_error request_id=req_7TlxoGZ3XRr92H
I, [2019-04-17T16:58:07.194832 #4] INFO -- : [Rollbar] Scheduling item
I, [2019-04-17T16:58:07.205009 #4] INFO -- : [Rollbar] Details: https://rollbar.com/instance/uuid?uuid=01f422a9-9251-4c90-9fbb-d46d72e7a55e (only available if report was successful)
D, [2019-04-17T16:58:07.207294 #4] DEBUG -- : (1.5ms) ROLLBACK
D, [2019-04-17T16:58:07.209825 #4] DEBUG -- : (2.3ms) SELECT pg_advisory_unlock(5457135974728159995)
I, [2019-04-17T16:58:07.229889 #4] INFO -- : [Rollbar] Scheduling item
I, [2019-04-17T16:58:07.233511 #4] INFO -- : [Rollbar] Details: https://rollbar.com/instance/uuid?uuid=8629d07e-4a7e-4acc-9c1e-57fedbca718c (only available if report was successful)
rails aborted!
StandardError: An error has occurred, this and all later migrations canceled:
(Status 400) (Request req_7TlxoGZ3XRr92H) Missing email. In order to create invoices that are sent to the customer, the customer must have a valid email.
/app/vendor/bundle/ruby/2.5.0/bundler/gems/stripe-ruby-df8c141bb860/lib/stripe/stripe_client.rb:341:in `handle_error_response'
/app/vendor/bundle/ruby/2.5.0/bundler/gems/stripe-ruby-df8c141bb860/lib/stripe/stripe_client.rb:292:in `rescue in execute_request_with_rescues'
/app/vendor/bundle/ruby/2.5.0/bundler/gems/stripe-ruby-df8c141bb860/lib/stripe/stripe_client.rb:255:in `execute_request_with_rescues'
/app/vendor/bundle/ruby/2.5.0/bundler/gems/stripe-ruby-df8c141bb860/lib/stripe/stripe_client.rb:175:in `execute_request'
/app/vendor/bundle/ruby/2.5.0/bundler/gems/stripe-ruby-df8c141bb860/lib/stripe/api_operations/request.rb:19:in `request'
/app/vendor/bundle/ruby/2.5.0/bundler/gems/stripe-ruby-df8c141bb860/lib/stripe/api_operations/create.rb:7:in `create'
/app/app/models/concerns/stripe_utils.rb:125:in `public_send'
/app/app/models/concerns/stripe_utils.rb:125:in `stripe_request'
/app/app/models/concerns/stripe_utils.rb:65:in `create_stripe_subscription'
/app/app/models/operator.rb:51:in `create_stripe_subscription'
/app/db/migrate/20190417034742_backfill_office_lease_stripe_subscriptions.rb:14:in `block in up'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/relation/delegation.rb:71:in `each'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/relation/delegation.rb:71:in `each'
/app/db/migrate/20190417034742_backfill_office_lease_stripe_subscriptions.rb:8:in `up'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/migration.rb:817:in `exec_migration'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/migration.rb:798:in `block (2 levels) in migrate'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/migration.rb:797:in `block in migrate'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:416:in `with_connection'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/migration.rb:796:in `migrate'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/migration.rb:977:in `migrate'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/migration.rb:1292:in `block in execute_migration_in_transaction'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/migration.rb:1343:in `block in ddl_transaction'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/connection_adapters/abstract/database_statements.rb:259:in `block in transaction'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/connection_adapters/abstract/transaction.rb:239:in `block in within_new_transaction'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/connection_adapters/abstract/transaction.rb:236:in `within_new_transaction'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/connection_adapters/abstract/database_statements.rb:259:in `transaction'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/transactions.rb:212:in `transaction'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/migration.rb:1343:in `ddl_transaction'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/migration.rb:1291:in `execute_migration_in_transaction'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/migration.rb:1263:in `block in migrate_without_lock'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/migration.rb:1262:in `each'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/migration.rb:1262:in `migrate_without_lock'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/migration.rb:1210:in `block in migrate'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/migration.rb:1363:in `with_advisory_lock'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/migration.rb:1210:in `migrate'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/migration.rb:1036:in `up'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/migration.rb:1011:in `migrate'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/tasks/database_tasks.rb:172:in `migrate'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/railties/databases.rake:60:in `block (2 levels) in <top (required)>'
/app/vendor/bundle/ruby/2.5.0/gems/railties-5.2.2/lib/rails/commands/rake/rake_command.rb:23:in `block in perform'
/app/vendor/bundle/ruby/2.5.0/gems/railties-5.2.2/lib/rails/commands/rake/rake_command.rb:20:in `perform'
/app/vendor/bundle/ruby/2.5.0/gems/railties-5.2.2/lib/rails/command.rb:48:in `invoke'
/app/vendor/bundle/ruby/2.5.0/gems/railties-5.2.2/lib/rails/commands.rb:18:in `<top (required)>'
/app/bin/rails:4:in `require'
/app/bin/rails:4:in `<main>'
Caused by:
Stripe::InvalidRequestError: Missing email. In order to create invoices that are sent to the customer, the customer must have a valid email.
/app/vendor/bundle/ruby/2.5.0/bundler/gems/stripe-ruby-df8c141bb860/lib/stripe/stripe_client.rb:341:in `handle_error_response'
/app/vendor/bundle/ruby/2.5.0/bundler/gems/stripe-ruby-df8c141bb860/lib/stripe/stripe_client.rb:292:in `rescue in execute_request_with_rescues'
/app/vendor/bundle/ruby/2.5.0/bundler/gems/stripe-ruby-df8c141bb860/lib/stripe/stripe_client.rb:255:in `execute_request_with_rescues'
/app/vendor/bundle/ruby/2.5.0/bundler/gems/stripe-ruby-df8c141bb860/lib/stripe/stripe_client.rb:175:in `execute_request'
/app/vendor/bundle/ruby/2.5.0/bundler/gems/stripe-ruby-df8c141bb860/lib/stripe/api_operations/request.rb:19:in `request'
/app/vendor/bundle/ruby/2.5.0/bundler/gems/stripe-ruby-df8c141bb860/lib/stripe/api_operations/create.rb:7:in `create'
/app/app/models/concerns/stripe_utils.rb:125:in `public_send'
/app/app/models/concerns/stripe_utils.rb:125:in `stripe_request'
/app/app/models/concerns/stripe_utils.rb:65:in `create_stripe_subscription'
/app/app/models/operator.rb:51:in `create_stripe_subscription'
/app/db/migrate/20190417034742_backfill_office_lease_stripe_subscriptions.rb:14:in `block in up'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/relation/delegation.rb:71:in `each'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/relation/delegation.rb:71:in `each'
/app/db/migrate/20190417034742_backfill_office_lease_stripe_subscriptions.rb:8:in `up'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/migration.rb:817:in `exec_migration'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/migration.rb:798:in `block (2 levels) in migrate'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/migration.rb:797:in `block in migrate'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:416:in `with_connection'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/migration.rb:796:in `migrate'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/migration.rb:977:in `migrate'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/migration.rb:1292:in `block in execute_migration_in_transaction'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/migration.rb:1343:in `block in ddl_transaction'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/connection_adapters/abstract/database_statements.rb:259:in `block in transaction'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/connection_adapters/abstract/transaction.rb:239:in `block in within_new_transaction'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/connection_adapters/abstract/transaction.rb:236:in `within_new_transaction'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/connection_adapters/abstract/database_statements.rb:259:in `transaction'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/transactions.rb:212:in `transaction'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/migration.rb:1343:in `ddl_transaction'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/migration.rb:1291:in `execute_migration_in_transaction'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/migration.rb:1263:in `block in migrate_without_lock'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/migration.rb:1262:in `each'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/migration.rb:1262:in `migrate_without_lock'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/migration.rb:1210:in `block in migrate'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/migration.rb:1363:in `with_advisory_lock'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/migration.rb:1210:in `migrate'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/migration.rb:1036:in `up'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/migration.rb:1011:in `migrate'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/tasks/database_tasks.rb:172:in `migrate'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/railties/databases.rake:60:in `block (2 levels) in <top (required)>'
/app/vendor/bundle/ruby/2.5.0/gems/railties-5.2.2/lib/rails/commands/rake/rake_command.rb:23:in `block in perform'
/app/vendor/bundle/ruby/2.5.0/gems/railties-5.2.2/lib/rails/commands/rake/rake_command.rb:20:in `perform'
/app/vendor/bundle/ruby/2.5.0/gems/railties-5.2.2/lib/rails/command.rb:48:in `invoke'
/app/vendor/bundle/ruby/2.5.0/gems/railties-5.2.2/lib/rails/commands.rb:18:in `<top (required)>'
/app/bin/rails:4:in `require'
/app/bin/rails:4:in `<main>'
Caused by:
Faraday::ClientError: the server responded with status 400
/app/vendor/bundle/ruby/2.5.0/gems/faraday-0.15.4/lib/faraday/response/raise_error.rb:13:in `on_complete'
/app/vendor/bundle/ruby/2.5.0/gems/faraday-0.15.4/lib/faraday/response.rb:9:in `block in call'
/app/vendor/bundle/ruby/2.5.0/gems/faraday-0.15.4/lib/faraday/response.rb:61:in `on_complete'
/app/vendor/bundle/ruby/2.5.0/gems/faraday-0.15.4/lib/faraday/response.rb:8:in `call'
/app/vendor/bundle/ruby/2.5.0/gems/faraday-0.15.4/lib/faraday/request/url_encoded.rb:15:in `call'
/app/vendor/bundle/ruby/2.5.0/gems/faraday-0.15.4/lib/faraday/request/multipart.rb:15:in `call'
/app/vendor/bundle/ruby/2.5.0/gems/faraday-0.15.4/lib/faraday/rack_builder.rb:143:in `build_response'
/app/vendor/bundle/ruby/2.5.0/gems/faraday-0.15.4/lib/faraday/connection.rb:387:in `run_request'
/app/vendor/bundle/ruby/2.5.0/bundler/gems/stripe-ruby-df8c141bb860/lib/stripe/stripe_client.rb:176:in `block in execute_request'
/app/vendor/bundle/ruby/2.5.0/bundler/gems/stripe-ruby-df8c141bb860/lib/stripe/stripe_client.rb:258:in `execute_request_with_rescues'
/app/vendor/bundle/ruby/2.5.0/bundler/gems/stripe-ruby-df8c141bb860/lib/stripe/stripe_client.rb:175:in `execute_request'
/app/vendor/bundle/ruby/2.5.0/bundler/gems/stripe-ruby-df8c141bb860/lib/stripe/api_operations/request.rb:19:in `request'
/app/vendor/bundle/ruby/2.5.0/bundler/gems/stripe-ruby-df8c141bb860/lib/stripe/api_operations/create.rb:7:in `create'
/app/app/models/concerns/stripe_utils.rb:125:in `public_send'
/app/app/models/concerns/stripe_utils.rb:125:in `stripe_request'
/app/app/models/concerns/stripe_utils.rb:65:in `create_stripe_subscription'
/app/app/models/operator.rb:51:in `create_stripe_subscription'
/app/db/migrate/20190417034742_backfill_office_lease_stripe_subscriptions.rb:14:in `block in up'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/relation/delegation.rb:71:in `each'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/relation/delegation.rb:71:in `each'
/app/db/migrate/20190417034742_backfill_office_lease_stripe_subscriptions.rb:8:in `up'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/migration.rb:817:in `exec_migration'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/migration.rb:798:in `block (2 levels) in migrate'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/migration.rb:797:in `block in migrate'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:416:in `with_connection'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/migration.rb:796:in `migrate'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/migration.rb:977:in `migrate'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/migration.rb:1292:in `block in execute_migration_in_transaction'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/migration.rb:1343:in `block in ddl_transaction'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/connection_adapters/abstract/database_statements.rb:259:in `block in transaction'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/connection_adapters/abstract/transaction.rb:239:in `block in within_new_transaction'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/connection_adapters/abstract/transaction.rb:236:in `within_new_transaction'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/connection_adapters/abstract/database_statements.rb:259:in `transaction'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/transactions.rb:212:in `transaction'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/migration.rb:1343:in `ddl_transaction'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/migration.rb:1291:in `execute_migration_in_transaction'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/migration.rb:1263:in `block in migrate_without_lock'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/migration.rb:1262:in `each'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/migration.rb:1262:in `migrate_without_lock'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/migration.rb:1210:in `block in migrate'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/migration.rb:1363:in `with_advisory_lock'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/migration.rb:1210:in `migrate'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/migration.rb:1036:in `up'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/migration.rb:1011:in `migrate'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/tasks/database_tasks.rb:172:in `migrate'
/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.2/lib/active_record/railties/databases.rake:60:in `block (2 levels) in <top (required)>'
/app/vendor/bundle/ruby/2.5.0/gems/railties-5.2.2/lib/rails/commands/rake/rake_command.rb:23:in `block in perform'
/app/vendor/bundle/ruby/2.5.0/gems/railties-5.2.2/lib/rails/commands/rake/rake_command.rb:20:in `perform'
/app/vendor/bundle/ruby/2.5.0/gems/railties-5.2.2/lib/rails/command.rb:48:in `invoke'
/app/vendor/bundle/ruby/2.5.0/gems/railties-5.2.2/lib/rails/commands.rb:18:in `<top (required)>'
/app/bin/rails:4:in `require'
/app/bin/rails:4:in `<main>'
Tasks: TOP => db:migrate
(See full trace by running task with --trace)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment