From f66fbf66569b6542db1069a94a093c81eb981ee7 Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Sat, 12 Feb 2022 16:14:36 -0500 Subject: [PATCH] specified the rails version in migrations --- db/migrate/001_create_qbos.rb | 4 ++-- db/migrate/002_create_qbo_customers.rb | 4 ++-- db/migrate/003_update_issues.rb | 4 ++-- db/migrate/004_create_qbo_items.rb | 4 ++-- db/migrate/005_create_qbo_employees.rb | 4 ++-- db/migrate/006_update_users.rb | 4 ++-- db/migrate/007_update_time_entries.rb | 4 ++-- db/migrate/008_create_qbo_estimates.rb | 4 ++-- db/migrate/009_update_qbos.rb | 4 ++-- db/migrate/010_update_issues_with_estimates.rb | 4 ++-- db/migrate/011_create_qbo_invoices.rb | 4 ++-- db/migrate/012_update_issues_with_invoices.rb | 4 ++-- db/migrate/013_create_qbo_purchases.rb | 4 ++-- db/migrate/014_update_customers.rb | 4 ++-- db/migrate/015_update_qbo_purchases.rb | 4 ++-- db/migrate/016_create_vehicles.rb | 4 ++-- db/migrate/017_update_issues_with_vehicles.rb | 4 ++-- db/migrate/018_update_vehicles.rb | 4 ++-- db/migrate/019_qbocustomers_to_customers.rb | 4 ++-- db/migrate/020_update_qbos_time_stamp.rb | 4 ++-- db/migrate/021_add_issues_qbo_invoices.rb | 4 ++-- db/migrate/022_update_issues_remove_invoice.rb | 4 ++-- db/migrate/023_create_customer_tokens.rb | 4 ++-- db/migrate/024_update_invoices_and_estimates.rb | 4 ++-- db/migrate/025_update_projects.rb | 4 ++-- db/migrate/026_create_line_items.rb | 4 ++-- db/migrate/027_add_customers_phone_number.rb | 4 ++-- db/migrate/028_add_customers_mobile_phone_number.rb | 4 ++-- db/migrate/029_update_qbos_types.rb | 4 ++-- db/migrate/030_update_qbos_token.rb | 4 ++-- db/migrate/031_remove_qbos_keys.rb | 4 ++-- 31 files changed, 62 insertions(+), 62 deletions(-) diff --git a/db/migrate/001_create_qbos.rb b/db/migrate/001_create_qbos.rb index a703cb3..d0b9285 100644 --- a/db/migrate/001_create_qbos.rb +++ b/db/migrate/001_create_qbos.rb @@ -1,6 +1,6 @@ #The MIT License (MIT) # -#Copyright (c) 2016 rick barrette +#Copyright (c) 2022 rick barrette # #Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: # @@ -8,7 +8,7 @@ # #THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -class CreateQbos < ActiveRecord::Migration +class CreateQbos < ActiveRecord::Migration[5.1] def change create_table :qbos do |t| diff --git a/db/migrate/002_create_qbo_customers.rb b/db/migrate/002_create_qbo_customers.rb index 4357584..0082cfb 100644 --- a/db/migrate/002_create_qbo_customers.rb +++ b/db/migrate/002_create_qbo_customers.rb @@ -1,6 +1,6 @@ #The MIT License (MIT) # -#Copyright (c) 2016 rick barrette +#Copyright (c) 2022 rick barrette # #Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: # @@ -8,7 +8,7 @@ # #THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -class CreateQboCustomers < ActiveRecord::Migration +class CreateQboCustomers < ActiveRecord::Migration[5.1] def change create_table :qbo_customers, id: false do |t| t.integer :id, :options => 'PRIMARY KEY' diff --git a/db/migrate/003_update_issues.rb b/db/migrate/003_update_issues.rb index 05cdd54..c6daa4b 100644 --- a/db/migrate/003_update_issues.rb +++ b/db/migrate/003_update_issues.rb @@ -1,6 +1,6 @@ #The MIT License (MIT) # -#Copyright (c) 2016 rick barrette +#Copyright (c) 2022 rick barrette # #Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: # @@ -8,7 +8,7 @@ # #THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -class UpdateIssues < ActiveRecord::Migration +class UpdateIssues < ActiveRecord::Migration[5.1] def change add_reference :issues, :qbo_customer, index: true add_reference :issues, :qbo_item, index: true diff --git a/db/migrate/004_create_qbo_items.rb b/db/migrate/004_create_qbo_items.rb index c434bb7..00d19e7 100644 --- a/db/migrate/004_create_qbo_items.rb +++ b/db/migrate/004_create_qbo_items.rb @@ -1,6 +1,6 @@ #The MIT License (MIT) # -#Copyright (c) 2016 rick barrette +#Copyright (c) 2022 rick barrette # #Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: # @@ -8,7 +8,7 @@ # #THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -class CreateQboItems < ActiveRecord::Migration +class CreateQboItems < ActiveRecord::Migration[5.1] def change create_table :qbo_items, id: false do |t| t.integer :id, :options => 'PRIMARY KEY' diff --git a/db/migrate/005_create_qbo_employees.rb b/db/migrate/005_create_qbo_employees.rb index 9798882..e456ad1 100644 --- a/db/migrate/005_create_qbo_employees.rb +++ b/db/migrate/005_create_qbo_employees.rb @@ -1,6 +1,6 @@ #The MIT License (MIT) # -#Copyright (c) 2016 rick barrette +#Copyright (c) 2022 rick barrette # #Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: # @@ -8,7 +8,7 @@ # #THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -class CreateQboEmployees < ActiveRecord::Migration +class CreateQboEmployees < ActiveRecord::Migration[5.1] def change create_table :qbo_employees, id: false do |t| t.integer :id, :options => 'PRIMARY KEY' diff --git a/db/migrate/006_update_users.rb b/db/migrate/006_update_users.rb index b428767..92f18cc 100644 --- a/db/migrate/006_update_users.rb +++ b/db/migrate/006_update_users.rb @@ -1,6 +1,6 @@ #The MIT License (MIT) # -#Copyright (c) 2016 rick barrette +#Copyright (c) 2022 rick barrette # #Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: # @@ -8,7 +8,7 @@ # #THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -class UpdateUsers < ActiveRecord::Migration +class UpdateUsers < ActiveRecord::Migration[5.1] def change add_reference :users, :qbo_employee, index: true end diff --git a/db/migrate/007_update_time_entries.rb b/db/migrate/007_update_time_entries.rb index 5da7bd9..7b234bb 100644 --- a/db/migrate/007_update_time_entries.rb +++ b/db/migrate/007_update_time_entries.rb @@ -1,6 +1,6 @@ #The MIT License (MIT) # -#Copyright (c) 2016 rick barrette +#Copyright (c) 2022 rick barrette # #Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: # @@ -8,7 +8,7 @@ # #THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -class UpdateTimeEntries < ActiveRecord::Migration +class UpdateTimeEntries < ActiveRecord::Migration[5.1] def change add_column :time_entries, :qbo_billed, :boolean, :default => false end diff --git a/db/migrate/008_create_qbo_estimates.rb b/db/migrate/008_create_qbo_estimates.rb index 7403b0a..019fc72 100644 --- a/db/migrate/008_create_qbo_estimates.rb +++ b/db/migrate/008_create_qbo_estimates.rb @@ -1,6 +1,6 @@ #The MIT License (MIT) # -#Copyright (c) 2016 rick barrette +#Copyright (c) 2022 rick barrette # #Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: # @@ -8,7 +8,7 @@ # #THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -class CreateQboEstimates < ActiveRecord::Migration +class CreateQboEstimates < ActiveRecord::Migration[5.1] def change create_table :qbo_estimates, id: false do |t| t.integer :id, :options => 'PRIMARY KEY' diff --git a/db/migrate/009_update_qbos.rb b/db/migrate/009_update_qbos.rb index 1ca94e3..75ca375 100644 --- a/db/migrate/009_update_qbos.rb +++ b/db/migrate/009_update_qbos.rb @@ -1,6 +1,6 @@ #The MIT License (MIT) # -#Copyright (c) 2016 rick barrette +#Copyright (c) 2022 rick barrette # #Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: # @@ -8,7 +8,7 @@ # #THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -class UpdateQbos < ActiveRecord::Migration +class UpdateQbos < ActiveRecord::Migration[5.1] def change rename_column :qbos, :token, :qb_token rename_column :qbos, :secret, :qb_secret diff --git a/db/migrate/010_update_issues_with_estimates.rb b/db/migrate/010_update_issues_with_estimates.rb index fff4d39..cc29eef 100644 --- a/db/migrate/010_update_issues_with_estimates.rb +++ b/db/migrate/010_update_issues_with_estimates.rb @@ -1,6 +1,6 @@ #The MIT License (MIT) # -#Copyright (c) 2016 rick barrette +#Copyright (c) 2022 rick barrette # #Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: # @@ -8,7 +8,7 @@ # #THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -class UpdateIssuesWithEstimates < ActiveRecord::Migration +class UpdateIssuesWithEstimates < ActiveRecord::Migration[5.1] def change add_reference :issues, :qbo_estimate, index: true end diff --git a/db/migrate/011_create_qbo_invoices.rb b/db/migrate/011_create_qbo_invoices.rb index 2fe4051..76af5db 100644 --- a/db/migrate/011_create_qbo_invoices.rb +++ b/db/migrate/011_create_qbo_invoices.rb @@ -1,6 +1,6 @@ #The MIT License (MIT) # -#Copyright (c) 2016 rick barrette +#Copyright (c) 2022 rick barrette # #Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: # @@ -8,7 +8,7 @@ # #THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -class CreateQboInvoices < ActiveRecord::Migration +class CreateQboInvoices < ActiveRecord::Migration[5.1] def change create_table :qbo_invoices, id: false do |t| t.integer :id, :options => 'PRIMARY KEY' diff --git a/db/migrate/012_update_issues_with_invoices.rb b/db/migrate/012_update_issues_with_invoices.rb index af4e3dc..c8153c1 100644 --- a/db/migrate/012_update_issues_with_invoices.rb +++ b/db/migrate/012_update_issues_with_invoices.rb @@ -1,6 +1,6 @@ #The MIT License (MIT) # -#Copyright (c) 2016 rick barrette +#Copyright (c) 2022 rick barrette # #Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: # @@ -8,7 +8,7 @@ # #THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -class UpdateIssuesWithInvoices< ActiveRecord::Migration +class UpdateIssuesWithInvoices< ActiveRecord::Migration[5.1] def change add_reference :issues, :qbo_invoice, index: true end diff --git a/db/migrate/013_create_qbo_purchases.rb b/db/migrate/013_create_qbo_purchases.rb index 4b269d1..903663f 100644 --- a/db/migrate/013_create_qbo_purchases.rb +++ b/db/migrate/013_create_qbo_purchases.rb @@ -1,6 +1,6 @@ #The MIT License (MIT) # -#Copyright (c) 2016 rick barrette +#Copyright (c) 2022 rick barrette # #Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: # @@ -8,7 +8,7 @@ # #THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -class CreateQboPurchases< ActiveRecord::Migration +class CreateQboPurchases< ActiveRecord::Migration[5.1] def change create_table :qbo_purchases, id: false do |t| t.integer :id, :options => 'PRIMARY KEY' diff --git a/db/migrate/014_update_customers.rb b/db/migrate/014_update_customers.rb index c81dcf8..b4425b4 100644 --- a/db/migrate/014_update_customers.rb +++ b/db/migrate/014_update_customers.rb @@ -1,6 +1,6 @@ #The MIT License (MIT) # -#Copyright (c) 2016 rick barrette +#Copyright (c) 2022 rick barrette # #Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: # @@ -8,7 +8,7 @@ # #THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -class UpdateCustomers < ActiveRecord::Migration +class UpdateCustomers < ActiveRecord::Migration[5.1] def change add_reference :qbo_customers, :qbo_purchase, index: true end diff --git a/db/migrate/015_update_qbo_purchases.rb b/db/migrate/015_update_qbo_purchases.rb index 4b5a747..d2cc79b 100644 --- a/db/migrate/015_update_qbo_purchases.rb +++ b/db/migrate/015_update_qbo_purchases.rb @@ -1,6 +1,6 @@ #The MIT License (MIT) # -#Copyright (c) 2016 rick barrette +#Copyright (c) 2022 rick barrette # #Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: # @@ -8,7 +8,7 @@ # #THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -class UpdateQboPurchases < ActiveRecord::Migration +class UpdateQboPurchases < ActiveRecord::Migration[5.1] def change rename_column :qbo_purchases, :customer_id, :qbo_customer_id end diff --git a/db/migrate/016_create_vehicles.rb b/db/migrate/016_create_vehicles.rb index b290e7b..59722f1 100644 --- a/db/migrate/016_create_vehicles.rb +++ b/db/migrate/016_create_vehicles.rb @@ -1,6 +1,6 @@ #The MIT License (MIT) # -#Copyright (c) 2016 rick barrette +#Copyright (c) 2022 rick barrette # #Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: # @@ -8,7 +8,7 @@ # #THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -class CreateVehicles < ActiveRecord::Migration +class CreateVehicles < ActiveRecord::Migration[5.1] def change create_table :vehicles do |t| diff --git a/db/migrate/017_update_issues_with_vehicles.rb b/db/migrate/017_update_issues_with_vehicles.rb index 6d770d8..087f933 100644 --- a/db/migrate/017_update_issues_with_vehicles.rb +++ b/db/migrate/017_update_issues_with_vehicles.rb @@ -1,6 +1,6 @@ #The MIT License (MIT) # -#Copyright (c) 2016 rick barrette +#Copyright (c) 2022 rick barrette # #Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: # @@ -8,7 +8,7 @@ # #THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -class UpdateIssuesWithVehicles < ActiveRecord::Migration +class UpdateIssuesWithVehicles < ActiveRecord::Migration[5.1] def change add_reference :issues, :vehicles, index: true end diff --git a/db/migrate/018_update_vehicles.rb b/db/migrate/018_update_vehicles.rb index adcf3bf..a61a9c5 100644 --- a/db/migrate/018_update_vehicles.rb +++ b/db/migrate/018_update_vehicles.rb @@ -1,6 +1,6 @@ #The MIT License (MIT) # -#Copyright (c) 2016 rick barrette +#Copyright (c) 2022 rick barrette # #Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: # @@ -8,7 +8,7 @@ # #THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -class UpdateVehicles < ActiveRecord::Migration +class UpdateVehicles < ActiveRecord::Migration[5.1] def change add_column :vehicles, :name, :text end diff --git a/db/migrate/019_qbocustomers_to_customers.rb b/db/migrate/019_qbocustomers_to_customers.rb index 6f15b47..daa0753 100644 --- a/db/migrate/019_qbocustomers_to_customers.rb +++ b/db/migrate/019_qbocustomers_to_customers.rb @@ -1,6 +1,6 @@ #The MIT License (MIT) # -#Copyright (c) 2016 rick barrette +#Copyright (c) 2022 rick barrette # #Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: # @@ -8,7 +8,7 @@ # #THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -class QbocustomersToCustomers< ActiveRecord::Migration +class QbocustomersToCustomers< ActiveRecord::Migration[5.1] def change rename_table :qbo_customers, :customers rename_column :issues, :qbo_customer_id, :customer_id diff --git a/db/migrate/020_update_qbos_time_stamp.rb b/db/migrate/020_update_qbos_time_stamp.rb index deea46e..f714c39 100644 --- a/db/migrate/020_update_qbos_time_stamp.rb +++ b/db/migrate/020_update_qbos_time_stamp.rb @@ -1,6 +1,6 @@ #The MIT License (MIT) # -#Copyright (c) 2016 rick barrette +#Copyright (c) 2022 rick barrette # #Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: # @@ -8,7 +8,7 @@ # #THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -class UpdateQbosTimeStamp < ActiveRecord::Migration +class UpdateQbosTimeStamp < ActiveRecord::Migration[5.1] def change add_column :qbos, :last_sync, :datetime end diff --git a/db/migrate/021_add_issues_qbo_invoices.rb b/db/migrate/021_add_issues_qbo_invoices.rb index e492f2e..79f2dd3 100644 --- a/db/migrate/021_add_issues_qbo_invoices.rb +++ b/db/migrate/021_add_issues_qbo_invoices.rb @@ -1,6 +1,6 @@ #The MIT License (MIT) # -#Copyright (c) 2016 rick barrette +#Copyright (c) 2022 rick barrette # #Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: # @@ -8,7 +8,7 @@ # #THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -class AddIssuesQboInvoices < ActiveRecord::Migration +class AddIssuesQboInvoices < ActiveRecord::Migration[5.1] def self.up create_table :issues_qbo_invoices, :id => false do |t| t.references :issue diff --git a/db/migrate/022_update_issues_remove_invoice.rb b/db/migrate/022_update_issues_remove_invoice.rb index 9d404be..e491c0e 100644 --- a/db/migrate/022_update_issues_remove_invoice.rb +++ b/db/migrate/022_update_issues_remove_invoice.rb @@ -1,6 +1,6 @@ #The MIT License (MIT) # -#Copyright (c) 2016 rick barrette +#Copyright (c) 2022 rick barrette # #Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: # @@ -8,7 +8,7 @@ # #THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -class UpdateIssuesRemoveInvoice < ActiveRecord::Migration +class UpdateIssuesRemoveInvoice < ActiveRecord::Migration[5.1] def change remove_reference :issues, :qbo_invoice end diff --git a/db/migrate/023_create_customer_tokens.rb b/db/migrate/023_create_customer_tokens.rb index 11ddab7..e39318b 100644 --- a/db/migrate/023_create_customer_tokens.rb +++ b/db/migrate/023_create_customer_tokens.rb @@ -1,6 +1,6 @@ #The MIT License (MIT) # -#Copyright (c) 2016 rick barrette +#Copyright (c) 2022 rick barrette # #Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: # @@ -8,7 +8,7 @@ # #THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -class CreateCustomerTokens < ActiveRecord::Migration +class CreateCustomerTokens < ActiveRecord::Migration[5.1] def change create_table :customer_tokens do |t| t.string :token diff --git a/db/migrate/024_update_invoices_and_estimates.rb b/db/migrate/024_update_invoices_and_estimates.rb index 6e4e30e..38d1884 100644 --- a/db/migrate/024_update_invoices_and_estimates.rb +++ b/db/migrate/024_update_invoices_and_estimates.rb @@ -1,6 +1,6 @@ #The MIT License (MIT) # -#Copyright (c) 2017 rick barrette +#Copyright (c) 2022 rick barrette # #Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: # @@ -8,7 +8,7 @@ # #THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -class UpdateInvoicesAndEstimates < ActiveRecord::Migration +class UpdateInvoicesAndEstimates < ActiveRecord::Migration[5.1] def change add_reference :qbo_invoices, :customer, index: true add_reference :qbo_estimates, :customer, index: true diff --git a/db/migrate/025_update_projects.rb b/db/migrate/025_update_projects.rb index d857412..995f92a 100644 --- a/db/migrate/025_update_projects.rb +++ b/db/migrate/025_update_projects.rb @@ -1,6 +1,6 @@ #The MIT License (MIT) # -#Copyright (c) 2017 rick barrette +#Copyright (c) 2022 rick barrette # #Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: # @@ -8,7 +8,7 @@ # #THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -class UpdateProjects < ActiveRecord::Migration +class UpdateProjects < ActiveRecord::Migration[5.1] def change add_reference :projects, :customer, index: true add_reference :projects, :vehicle, index: true diff --git a/db/migrate/026_create_line_items.rb b/db/migrate/026_create_line_items.rb index b3132a3..a1bafcc 100644 --- a/db/migrate/026_create_line_items.rb +++ b/db/migrate/026_create_line_items.rb @@ -1,6 +1,6 @@ #The License # -#Copyright (c) 2018 Rick Barrette - All Rights Reserved +#Copyright (c) 2022 Rick Barrette - All Rights Reserved # #Unauthorized copying of this software and associated documentation files (the "Software"), via any medium is strictly prohibited. # @@ -10,7 +10,7 @@ # #THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -class CreateLineItems < ActiveRecord::Migration +class CreateLineItems < ActiveRecord::Migration[5.1] def change create_table :line_items do |t| t.integer :item_id diff --git a/db/migrate/027_add_customers_phone_number.rb b/db/migrate/027_add_customers_phone_number.rb index ec08241..f571c90 100644 --- a/db/migrate/027_add_customers_phone_number.rb +++ b/db/migrate/027_add_customers_phone_number.rb @@ -1,6 +1,6 @@ #The MIT License (MIT) # -#Copyright (c) 2019 rick barrette +#Copyright (c) 2022 rick barrette # #Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: # @@ -8,7 +8,7 @@ # #THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -class AddCustomersPhoneNumber < ActiveRecord::Migration +class AddCustomersPhoneNumber < ActiveRecord::Migration[5.1] def change add_column :customers, :phone_number, :string end diff --git a/db/migrate/028_add_customers_mobile_phone_number.rb b/db/migrate/028_add_customers_mobile_phone_number.rb index 09c61f7..cd3360a 100644 --- a/db/migrate/028_add_customers_mobile_phone_number.rb +++ b/db/migrate/028_add_customers_mobile_phone_number.rb @@ -1,6 +1,6 @@ #The MIT License (MIT) # -#Copyright (c) 2019 rick barrette +#Copyright (c) 2022 rick barrette # #Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: # @@ -8,7 +8,7 @@ # #THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -class AddCustomersMobilePhoneNumber < ActiveRecord::Migration +class AddCustomersMobilePhoneNumber < ActiveRecord::Migration[5.1] def change add_column :customers, :mobile_phone_number, :string end diff --git a/db/migrate/029_update_qbos_types.rb b/db/migrate/029_update_qbos_types.rb index 58fac8c..d9de85c 100644 --- a/db/migrate/029_update_qbos_types.rb +++ b/db/migrate/029_update_qbos_types.rb @@ -1,6 +1,6 @@ #The MIT License (MIT) # -#Copyright (c) 2020 rick barrette +#Copyright (c) 2022 rick barrette # #Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: # @@ -8,7 +8,7 @@ # #THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -class UpdateQbosTypes < ActiveRecord::Migration +class UpdateQbosTypes < ActiveRecord::Migration[5.1] def change change_column :qbos, :qb_token, :text diff --git a/db/migrate/030_update_qbos_token.rb b/db/migrate/030_update_qbos_token.rb index 404463d..b0d9da3 100644 --- a/db/migrate/030_update_qbos_token.rb +++ b/db/migrate/030_update_qbos_token.rb @@ -1,6 +1,6 @@ #The MIT License (MIT) # -#Copyright (c) 2020 rick barrette +#Copyright (c) 2022 rick barrette # #Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: # @@ -8,7 +8,7 @@ # #THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -class UpdateQbosToken < ActiveRecord::Migration +class UpdateQbosToken < ActiveRecord::Migration[5.1] def change add_column :qbos, :token, :text diff --git a/db/migrate/031_remove_qbos_keys.rb b/db/migrate/031_remove_qbos_keys.rb index c0da640..8f31ad0 100644 --- a/db/migrate/031_remove_qbos_keys.rb +++ b/db/migrate/031_remove_qbos_keys.rb @@ -1,6 +1,6 @@ #The MIT License (MIT) # -#Copyright (c) 2020 rick barrette +#Copyright (c) 2022 rick barrette # #Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: # @@ -8,7 +8,7 @@ # #THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -class RemoveQbosKeys < ActiveRecord::Migration +class RemoveQbosKeys < ActiveRecord::Migration[5.1] def change remove_column :qbos, :qb_secret remove_column :qbos, :token_expires_at