Sha256: dd9ab8284071eac4f8ee28a550cac4b9a191458d2184b9a273a20a0ed5fbcce0

Contents?: true

Size: 241 Bytes

Versions: 26

Compression:

Stored size: 241 Bytes

Contents

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
    raise
  end
end

Version data entries

26 entries across 26 versions & 2 rubygems

Version Path
gitdocs-0.4.15 lib/gitdocs/migration/002_add_remote_branch.rb
siuying-gitdocs-0.4.16 lib/gitdocs/migration/002_add_remote_branch.rb
siuying-gitdocs-0.4.15 lib/gitdocs/migration/002_add_remote_branch.rb
siuying-gitdocs-0.4.14 lib/gitdocs/migration/002_add_remote_branch.rb
siuying-gitdocs-0.4.14.md lib/gitdocs/migration/002_add_remote_branch.rb
gitdocs-0.4.14 lib/gitdocs/migration/002_add_remote_branch.rb
gitdocs-0.4.13 lib/gitdocs/migration/002_add_remote_branch.rb
gitdocs-0.4.12 lib/gitdocs/migration/002_add_remote_branch.rb
gitdocs-0.4.11 lib/gitdocs/migration/002_add_remote_branch.rb
gitdocs-0.4.10 lib/gitdocs/migration/002_add_remote_branch.rb
gitdocs-0.4.9 lib/gitdocs/migration/002_add_remote_branch.rb
gitdocs-0.4.8 lib/gitdocs/migration/002_add_remote_branch.rb
gitdocs-0.4.7 lib/gitdocs/migration/002_add_remote_branch.rb
gitdocs-0.4.6 lib/gitdocs/migration/002_add_remote_branch.rb
gitdocs-0.4.5 lib/gitdocs/migration/002_add_remote_branch.rb
gitdocs-0.4.3 lib/gitdocs/migration/002_add_remote_branch.rb
gitdocs-0.4.2 lib/gitdocs/migration/002_add_remote_branch.rb
gitdocs-0.4.1 lib/gitdocs/migration/002_add_remote_branch.rb
gitdocs-0.4.0 lib/gitdocs/migration/002_add_remote_branch.rb
gitdocs-0.3.6 lib/gitdocs/migration/002_add_remote_branch.rb