Sha256: c9001d89c8bccc0ec9b3dc57290450322d5b71c988abfc5e9e8fb660785113c3

Contents?: true

Size: 234 Bytes

Versions: 5

Compression:

Stored size: 234 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
    fail
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
gitdocs-0.5.0.pre6 lib/gitdocs/migration/002_add_remote_branch.rb
gitdocs-0.5.0.pre5 lib/gitdocs/migration/002_add_remote_branch.rb
gitdocs-0.5.0.pre3 lib/gitdocs/migration/002_add_remote_branch.rb
gitdocs-0.5.0.pre2 lib/gitdocs/migration/002_add_remote_branch.rb
gitdocs-0.5.0.pre1 lib/gitdocs/migration/002_add_remote_branch.rb