class AddRemoteBranch

Public Class Methods

down() click to toggle source
# File lib/gitdocs/migration/002_add_remote_branch.rb, line 8
def self.down
  fail
end
up() click to toggle source
# File lib/gitdocs/migration/002_add_remote_branch.rb, line 3
def self.up
  add_column :shares, :remote_name, :string, default: 'origin'
  add_column :shares, :branch_name, :string, default: 'master'
end