Mercurial > hg > soundsoftware-site
comparison db/migrate/.svn/text-base/20110224000000_add_repositories_path_encoding.rb.svn-base @ 245:051f544170fe
* Update to SVN trunk revision 4993
author | Chris Cannam |
---|---|
date | Thu, 03 Mar 2011 11:42:28 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
244:8972b600f4fb | 245:051f544170fe |
---|---|
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 |