Sha256: b8a524099beb3d3b26647023690bf783e6765b3bbf77713f832d7057e592b7c2
Contents?: true
Size: 282 Bytes
Versions: 34
Compression:
Stored size: 282 Bytes
Contents
class AddRepositoriesType < ActiveRecord::Migration def self.up add_column :repositories, :type, :string # Set class name for existing SVN repositories Repository.update_all "type = 'Subversion'" end def self.down remove_column :repositories, :type end end
Version data entries
34 entries across 34 versions & 1 rubygems