Sha256: ff2131a3f8a4dffdb96607e465c9975ff64c0db363f82a1b0351ee3907614c04

Contents?: true

Size: 850 Bytes

Versions: 19

Compression:

Stored size: 850 Bytes

Contents

class AddNotNullToPositionOnCarrierType < ActiveRecord::Migration[5.2]
  def change
    change_column :carrier_types, :position, :integer, null: false, default: 1
    change_column :content_types, :position, :integer, null: false, default: 1
    change_column :frequencies, :position, :integer, null: false, default: 1
    change_column :licenses, :position, :integer, null: false, default: 1
    change_column :creates, :position, :integer, null: false, default: 1
    change_column :realizes, :position, :integer, null: false, default: 1
    change_column :produces, :position, :integer, null: false, default: 1
    change_column :owns, :position, :integer, null: false, default: 1
    change_column :form_of_works, :position, :integer, null: false, default: 1
    change_column :agent_types, :position, :integer, null: false, default: 1
  end
end

Version data entries

19 entries across 19 versions & 5 rubygems

Version Path
enju_message-0.3.4 spec/dummy/db/migrate/20181030072731_add_not_null_to_position_on_carrier_type.rb
enju_event-0.3.5 spec/dummy/db/migrate/20181030072731_add_not_null_to_position_on_carrier_type.rb
enju_seed-0.3.6 spec/dummy/db/migrate/20181030072731_add_not_null_to_position_on_carrier_type.rb
enju_message-0.3.3 spec/dummy/db/migrate/20181030072731_add_not_null_to_position_on_carrier_type.rb
enju_seed-0.3.5 spec/dummy/db/migrate/20181030072731_add_not_null_to_position_on_carrier_type.rb
enju_library-0.4.0.rc.1 spec/dummy/db/migrate/20181030072731_add_not_null_to_position_on_carrier_type.rb
enju_message-0.3.2 spec/dummy/db/migrate/20181030072731_add_not_null_to_position_on_carrier_type.rb
enju_event-0.3.4 spec/dummy/db/migrate/20181030072731_add_not_null_to_position_on_carrier_type.rb
enju_seed-0.3.4 spec/dummy/db/migrate/20181030072731_add_not_null_to_position_on_carrier_type.rb
enju_event-0.3.3 spec/dummy/db/migrate/20181030072731_add_not_null_to_position_on_carrier_type.rb
enju_library-0.4.0.beta.4 spec/dummy/db/migrate/20181030072731_add_not_null_to_position_on_carrier_type.rb
enju_leaf-2.0.0.beta.2 spec/dummy/db/migrate/20181030072731_add_not_null_to_position_on_carrier_type.rb
enju_library-0.4.0.beta.3 spec/dummy/db/migrate/20181030072731_add_not_null_to_position_on_carrier_type.rb
enju_message-0.4.0.beta.2 spec/dummy/db/migrate/20181030072731_add_not_null_to_position_on_carrier_type.rb
enju_library-0.4.0.beta.2 spec/dummy/db/migrate/20181030072731_add_not_null_to_position_on_carrier_type.rb
enju_leaf-2.0.0.beta.1 spec/dummy/db/migrate/20181030072731_add_not_null_to_position_on_carrier_type.rb
enju_message-0.4.0.beta.1 spec/dummy/db/migrate/20181030072731_add_not_null_to_position_on_carrier_type.rb
enju_library-0.4.0.beta.1 spec/dummy/db/migrate/20181030072731_add_not_null_to_position_on_carrier_type.rb
enju_seed-0.3.3 spec/dummy/db/migrate/20181030072731_add_not_null_to_position_on_carrier_type.rb