Sha256: ab89d4c06165649993df6aa07a84de668d2b95d41ad8f3dd4338652fae641662
Contents?: true
Size: 366 Bytes
Versions: 16
Compression:
Stored size: 366 Bytes
Contents
class EnsureUserPluginsUseNameAndNotTitle < ActiveRecord::Migration def self.up rename_column :user_plugins, :title, :name if UserPlugin.table_exists? and UserPlugin.column_names.include?('title') and !UserPlugin.column_names.include?('name') end def self.down # We don't need to go backwards, there already is one that should handle that.. end end
Version data entries
16 entries across 16 versions & 1 rubygems