Sha256: 5bab7403cc0087b092bd16fa7e149a6f665b45990c2557923914234c79c67cb5
Contents?: true
Size: 262 Bytes
Versions: 11
Compression:
Stored size: 262 Bytes
Contents
class SetContentsIidToPermalinkWhereNull < ActiveRecord::Migration def self.up #insert data here execute "UPDATE contents SET internal_identifier=permalink WHERE internal_identifier IS NULL" end def self.down #remove data here end end
Version data entries
11 entries across 11 versions & 1 rubygems