I hereby claim:
- I am sethlieberman on github.
- I am phillyseth (https://keybase.io/phillyseth) on keybase.
- I have a public key ASA0e48PjjsS4ihyZn1FeqmkfvcDQ5f6pswzqSeEpnFBLAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
17:51 deploy:assets:backup_manifest | |
01 mkdir -p /data/apps/ror/pws/releases/20171009115545/assets_manifest_backup | |
✔ 01 dimadmin@demo9-nitro-webserver.mydatainmotion.com 0.075s | |
02 cp /data/apps/ror/pws/releases/20171009115545/public/assets/.sprockets-manifest-d7abed307de2d43706163861e6c9b255.json /data/apps/ror/pws/releases/20171009115545/assets_manifest_backup | |
✔ 02 dimadmin@demo9-nitro-webserver.mydatainmotion.com 0.046s | |
^C(Backtrace restricted to imported tasks) | |
cap aborted! | |
Interrupt: | |
Tasks: TOP => deploy:compile_assets => deploy:parallelized_assets_and_migrations |
➦ [~/Documents/nitro/nitro-web] $ bin/rails s | |
=> Booting Puma | |
=> Rails 5.1.4 application starting in development | |
=> Run `rails server -h` for more startup options | |
Exiting | |
/Users/sethlieberman/Documents/nitro/nitro-web/components/core_models/lib/core_models/nitro_item/nbp/products/windows/option.rb:4:in `<module:Products>': superclass mismatch for class Windows (TypeError) | |
from /Users/sethlieberman/Documents/nitro/nitro-web/components/core_models/lib/core_models/nitro_item/nbp/products/windows/option.rb:3:in `<module:Nbp>' | |
from /Users/sethlieberman/Documents/nitro/nitro-web/components/core_models/lib/core_models/nitro_item/nbp/products/windows/option.rb:2:in `<module:NitroItem>' | |
from /Users/sethlieberman/Documents/nitro/nitro-web/components/core_models/lib/core_models/nitro_item/nbp/products/windows/option.rb:1:in `<main>' | |
from /Users/sethlieberman/Documents/nitro/nitro-web/vendor/bundle/ruby/2.3.0/gems/bootsnap-1.1.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:63:in `load' |
➦ [~/Documents/nitro/nitro-web] $ bin/nitrocommander migrate up ✈ | |
== 20180208140348 AddCancellationReasonToFinanceProject: migrating =============================================================================================================================================>> | 45/59 | |
-- add_reference(:finance_projects, :project_cancellation_reason) | |
-> Running pt-online-schema-change -h 10.203.175.30 -P 3306 -u root [filtered_password] --recursion-method=none --max-load Threads_running=200 --critical-load Threads_running=10000000000 --execute --statistics --alter-foreign-keys-method=auto --no-check-alter D=pws_dev,t=finance_projects --alter "ADD \`project_cancellation_reason_id\` bigint" | |
No slaves found. See --recursion-method |
# frozen_string_literal: true | |
class CreateContactCenterAppointmentAvailabilityRanges < ActiveRecord::Migration[5.1] | |
def change | |
create_table :contact_center_appointment_availability_ranges do |t| | |
t.references :territory, null: false, foreign_key: true, index: true, type: :integer, unique: true | |
t.references :product, null: false, foreign_key: true, index: true, type: :integer, unique: true | |
t.column :source, "ENUM('field', 'retail', 'events', 'smart_circle')", null: false, unique: true | |
t.integer :early_gap, null: false | |
t.integer :late_gap, null: false |
Enter your Nitro password: | |
[2020-03-23 13:11:39 -0400] Yay! You're authenticated and have access to the dump data. | |
[2020-03-23 13:11:39 -0400] Recreating environment database... | |
[2020-03-23 13:11:39 -0400] Executing: DISABLE_DATABASE_ENVIRONMENT_CHECK=true bundle exec rake db:create:force | |
[2020-03-23 13:12:12 -0400] Loading MySQL data; this may take a while... | |
[2020-03-23 13:12:12 -0400] Executing: curl -f -u <username>:<pwd> --progress-bar "https://cloud.powerhrg.com/remote.php/webdav/DevDumps/dev_backup.sql.gz" | gunzip -c | mysql -h127.0.0.1 -uroot -p<pwd> pws_dev | |
[2020-03-23 13:19:32 -0400] Cleaning up tables | |
[2020-03-23 13:19:34 -0400] Running migrations | |
[2020-03-23 13:19:34 -0400] Executing: bundle exec rake db:migrate | |
[2020-03-23 13:20:04 -0400] <stdout>: (2.7ms) SET NAMES utf8, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 |