Sha256: 3616e1183af4db3f46d460e16d334f38302747bc0a768fd0fa5cd86cfe3e3a6c
Contents?: true
Size: 664 Bytes
Versions: 195
Compression:
Stored size: 664 Bytes
Contents
class AddOrganizationFields < ActiveRecord::Migration[4.2] def change add_column :taxonomies, :description, :text unless column_exists?(:taxonomies, :description) add_column :taxonomies, :label, :string, :limit => 255 add_column :taxonomies, :deletion_task_id, :integer add_column :taxonomies, :default_info, :text add_column :taxonomies, :apply_info_task_id, :integer add_column :taxonomies, :owner_auto_attach_all_systems_task_id, :integer add_index :taxonomies, [:deletion_task_id], :name => "index_organizations_on_task_id" add_index :taxonomies, [:label], :name => "index_organizations_on_cp_key", :unique => true end end
Version data entries
195 entries across 195 versions & 1 rubygems