1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-10-17 17:01:01 +00:00
redmine/db/migrate/031_add_repository_root_url.rb

10 lines
228 B
Ruby

class AddRepositoryRootUrl < ActiveRecord::Migration[4.2]
def self.up
add_column :repositories, :root_url, :string, :limit => 255, :default => ""
end
def self.down
remove_column :repositories, :root_url
end
end