Sha256: 5f564aa59a20d443825f8a340d5cb87fca74964fd35f25c9013a3f027bcb46b7
Contents?: true
Size: 644 Bytes
Versions: 10
Compression:
Stored size: 644 Bytes
Contents
class AddOrganizationFields < ActiveRecord::Migration def change add_column :taxonomies, :description, :text unless column_exists?(:taxonomies, :description) add_column :taxonomies, :label, :string 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
10 entries across 10 versions & 1 rubygems