Sha256: bab15471d13774fc155847ca09ab19ba75eb6d74b77cc865ea86be92ddd6e052
Contents?: true
Size: 303 Bytes
Versions: 16
Compression:
Stored size: 303 Bytes
Contents
class RenameFilterColumn < ActiveRecord::Migration[5.1] def self.up rename_column :page_parts, :filter, :filter_id rename_column :snippets, :filter, :filter_id end def self.down rename_column :page_parts, :filter_id, :filter rename_column :snippets, :filter_id, :filter end end
Version data entries
16 entries across 16 versions & 1 rubygems