Sha256: e8092db7175916a6d1628cf317dffac190415689f291f4de172840b9c9012d8e
Contents?: true
Size: 225 Bytes
Versions: 4
Compression:
Stored size: 225 Bytes
Contents
class ReplaceSnippetNameUniqueIndex < ActiveRecord::Migration def self.up remove_index :snippets, :name => :name end def self.down add_index "snippets", ["name"], :name => "name", :unique => true end end
Version data entries
4 entries across 4 versions & 1 rubygems