Sha256: 5e5a9eba05fa5c1ce51fc4af66322c8267938a2b1196914983bf78812f80114b
Contents?: true
Size: 469 Bytes
Versions: 10
Compression:
Stored size: 469 Bytes
Contents
class AddDeniedFriendshipStatus < ActiveRecord::Migration def self.up FriendshipStatus.enumeration_model_updates_permitted = true FriendshipStatus.create :name => "denied" FriendshipStatus.enumeration_model_updates_permitted = false end def self.down FriendshipStatus.enumeration_model_updates_permitted = true FriendshipStatus.find_by_name('denied').destroy FriendshipStatus.enumeration_model_updates_permitted = false end end
Version data entries
10 entries across 10 versions & 1 rubygems