Sha256: 409617a2c545ba90ae8faa5647de8c5cf37845b9880e62434e716c8bee9a1cb6
Contents?: true
Size: 367 Bytes
Versions: 54
Compression:
Stored size: 367 Bytes
Contents
class MakeMatchPolymorphic < ActiveRecord::Migration def up add_column :automatic_exploitation_matches, :matchable_type, :string add_column :automatic_exploitation_matches, :matchable_id, :integer end def down remove_column :automatic_exploitation_matches, :matchable_type remove_column :automatic_exploitation_matches, :matchable_id end end
Version data entries
54 entries across 54 versions & 1 rubygems