Sha256: c73db83bdf261c44d4130cf3bb34a73fc57f0514030b8c7ddacad9d5af7f1c18

Contents?: true

Size: 262 Bytes

Versions: 5

Compression:

Stored size: 262 Bytes

Contents

# -*- encoding : utf-8 -*-

class AddRemoteBranch < ActiveRecord::Migration
  def self.up
    add_column :shares, :remote_name, :string, default: 'origin'
    add_column :shares, :branch_name, :string, default: 'master'
  end

  def self.down
    fail
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
gitdocs-0.6.2 lib/gitdocs/migration/002_add_remote_branch.rb
gitdocs-0.6.1 lib/gitdocs/migration/002_add_remote_branch.rb
gitdocs-0.6.0 lib/gitdocs/migration/002_add_remote_branch.rb
gitdocs-0.5.0 lib/gitdocs/migration/002_add_remote_branch.rb
gitdocs-0.5.0.pre7 lib/gitdocs/migration/002_add_remote_branch.rb