Mercurial > hg > soundsoftware-site
comparison db/migrate/20110224000000_add_repositories_path_encoding.rb @ 511:107d36338b70 live
Merge from branch "cannam"
author | Chris Cannam |
---|---|
date | Thu, 14 Jul 2011 10:43:07 +0100 |
parents | 051f544170fe |
children |
comparison
equal
deleted
inserted
replaced
451:a9f6345cb43d | 511:107d36338b70 |
---|---|
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 |