Sha256: ce484db640c866e561808eb342d121069449a60e3d5d6dae8762161699ab3605
Contents?: true
Size: 343 Bytes
Versions: 1
Compression:
Stored size: 343 Bytes
Contents
# This migration is for removing dynamic attributes column from documents table. class UpgradeRemoveDynamicAttributes < ActiveRecord::Migration def up if table_exists?(:documents) if column_exists?(:documents, :dynamic_attributes) remove_column :documents, :dynamic_attributes end end end def down end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
knitkit-3.0.0 | db/migrate/20141016101936_upgrade_remove_dynamic_attributes.rb |