Class: AddRemoteBranch
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- AddRemoteBranch
- Defined in:
- lib/gitdocs/migration/002_add_remote_branch.rb
Class Method Summary collapse
Class Method Details
.down ⇒ Object
7 8 9 |
# File 'lib/gitdocs/migration/002_add_remote_branch.rb', line 7 def self.down raise end |
.up ⇒ Object
2 3 4 5 |
# File 'lib/gitdocs/migration/002_add_remote_branch.rb', line 2 def self.up add_column :shares, :remote_name, :string, :default => 'origin' add_column :shares, :branch_name, :string, :default => 'master' end |