To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / .svn / pristine / 86 / 8624ef6adab0da5b4b4384bffa3057ced2706f08.svn-base @ 1297:0a574315af3e
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 |