diff --git a/db/migrate/20180404135210_importing_remove_not_null_constraint.rb b/db/migrate/20180404135210_importing_remove_not_null_constraint.rb index 351b22aad..90705ac16 100644 --- a/db/migrate/20180404135210_importing_remove_not_null_constraint.rb +++ b/db/migrate/20180404135210_importing_remove_not_null_constraint.rb @@ -1,4 +1,4 @@ -class ImportingRemoveNotNullConstraint < ActiveRecord::Migration +class ImportingRemoveNotNullConstraint < ActiveRecord::Migration[5.0] def up execute %q{ ALTER TABLE data_import.import_customers_auth diff --git a/db/migrate/20180405132225_add_rows_count_to_cdr_exports.rb b/db/migrate/20180405132225_add_rows_count_to_cdr_exports.rb index 481fb8d45..b54c1b0bf 100644 --- a/db/migrate/20180405132225_add_rows_count_to_cdr_exports.rb +++ b/db/migrate/20180405132225_add_rows_count_to_cdr_exports.rb @@ -1,4 +1,4 @@ -class AddRowsCountToCdrExports < ActiveRecord::Migration +class AddRowsCountToCdrExports < ActiveRecord::Migration[5.0] def change add_column :cdr_exports, :rows_count, :integer end diff --git a/db/migrate/20180416121932_reject_calls_at_customer_auth.rb b/db/migrate/20180416121932_reject_calls_at_customer_auth.rb index e4fa55b2f..83419737e 100644 --- a/db/migrate/20180416121932_reject_calls_at_customer_auth.rb +++ b/db/migrate/20180416121932_reject_calls_at_customer_auth.rb @@ -1,4 +1,4 @@ -class RejectCallsAtCustomerAuth < ActiveRecord::Migration +class RejectCallsAtCustomerAuth < ActiveRecord::Migration[5.0] def up execute %q{ diff --git a/db/migrate/20180418101559_add_src_dst_prefix_to_rtdr.rb b/db/migrate/20180418101559_add_src_dst_prefix_to_rtdr.rb index b424aee94..de5d97c94 100644 --- a/db/migrate/20180418101559_add_src_dst_prefix_to_rtdr.rb +++ b/db/migrate/20180418101559_add_src_dst_prefix_to_rtdr.rb @@ -1,4 +1,4 @@ -class AddSrcDstPrefixToRtdr < ActiveRecord::Migration +class AddSrcDstPrefixToRtdr < ActiveRecord::Migration[5.0] def change add_column 'class4.routing_tag_detection_rules', :src_prefix, :string, null: false, default: '' add_column 'class4.routing_tag_detection_rules', :dst_prefix, :string, null: false, default: '' diff --git a/db/migrate/20180425203717_routing_tag_and_operation.rb b/db/migrate/20180425203717_routing_tag_and_operation.rb index dd914696b..c94a99a77 100644 --- a/db/migrate/20180425203717_routing_tag_and_operation.rb +++ b/db/migrate/20180425203717_routing_tag_and_operation.rb @@ -1,4 +1,4 @@ -class RoutingTagAndOperation < ActiveRecord::Migration +class RoutingTagAndOperation < ActiveRecord::Migration[5.0] def up execute %q{ diff --git a/db/migrate/20180426090808_create_import_numberlist_items.rb b/db/migrate/20180426090808_create_import_numberlist_items.rb index 7764d3a9a..46757d3f4 100644 --- a/db/migrate/20180426090808_create_import_numberlist_items.rb +++ b/db/migrate/20180426090808_create_import_numberlist_items.rb @@ -1,4 +1,4 @@ -class CreateImportNumberlistItems < ActiveRecord::Migration +class CreateImportNumberlistItems < ActiveRecord::Migration[5.0] def change create_table 'data_import.import_numberlists' do |t| t.integer :o_id, limit: 2 diff --git a/db/secondbase/migrate/20180328170352_cdr_amount_rounding.rb b/db/secondbase/migrate/20180328170352_cdr_amount_rounding.rb index a9916e8e2..f23b1fbf4 100644 --- a/db/secondbase/migrate/20180328170352_cdr_amount_rounding.rb +++ b/db/secondbase/migrate/20180328170352_cdr_amount_rounding.rb @@ -1,4 +1,4 @@ -class CdrAmountRounding < ActiveRecord::Migration +class CdrAmountRounding < ActiveRecord::Migration[5.0] def up execute %q{ create table sys.amount_round_modes( diff --git a/db/secondbase/migrate/20180425200716_customer_price_no_vat_fix_null.rb b/db/secondbase/migrate/20180425200716_customer_price_no_vat_fix_null.rb index a2233fc30..576d114c5 100644 --- a/db/secondbase/migrate/20180425200716_customer_price_no_vat_fix_null.rb +++ b/db/secondbase/migrate/20180425200716_customer_price_no_vat_fix_null.rb @@ -1,4 +1,4 @@ -class CustomerPriceNoVatFixNull < ActiveRecord::Migration +class CustomerPriceNoVatFixNull < ActiveRecord::Migration[5.0] def up execute %q{ CREATE or replace FUNCTION billing.bill_cdr(i_cdr cdr.cdr) RETURNS cdr.cdr