To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Tag: | Revision:

root / db / migrate / 026_add_repository_login_and_password.rb @ 442:753f1380d6bc

History | View | Annotate | Download (347 Bytes)

1
class AddRepositoryLoginAndPassword < ActiveRecord::Migration
2
  def self.up
3
    add_column :repositories, :login, :string, :limit => 60, :default => ""
4
    add_column :repositories, :password, :string, :limit => 60, :default => ""
5
  end
6

    
7
  def self.down
8
    remove_column :repositories, :login
9
    remove_column :repositories, :password
10
  end
11
end