Defect #2664 » 20110207-db.diff
| db/migrate/20101115000000_add_repositories_path_encoding.rb | ||
|---|---|---|
| 1 |
class AddRepositoriesPathEncoding < ActiveRecord::Migration |
|
| 2 |
def self.up |
|
| 3 |
add_column :repositories, :path_encoding, :string, :limit => 64, :default => nil |
|
| 4 |
end |
|
| 5 | ||
| 6 |
def self.down |
|
| 7 |
remove_column :repositories, :path_encoding |
|
| 8 |
end |
|
| 9 |
end |
|