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