Sha256: d8696ef692dbf2ea3914979db05677f8f5b41f48297144e3a9eee441b6ef54f0
Contents?: true
Size: 470 Bytes
Versions: 21
Compression:
Stored size: 470 Bytes
Contents
class DropLegacyPushTypeTaxonomies < ActiveRecord::Migration def up if ActiveRecord::Base.connection.table_exists? :push_type_taxonomies drop_table :push_type_taxonomies end if ActiveRecord::Base.connection.table_exists? :push_type_taxonomy_hierarchies drop_table :push_type_taxonomy_hierarchies end if ActiveRecord::Base.connection.column_exists? :push_type_assets, :tags remove_column :push_type_assets, :tags end end end
Version data entries
21 entries across 21 versions & 1 rubygems