Sha256: e0a25ac974b12ae96b7c40673ebdd34824d613de986a6a243fa2235fab0c61d4
Contents?: true
Size: 659 Bytes
Versions: 44
Compression:
Stored size: 659 Bytes
Contents
class AddOrganizationFields < ActiveRecord::Migration 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
44 entries across 44 versions & 1 rubygems