diff options
Diffstat (limited to 'db/migrate/20110228000000_add_repositories_log_encoding.rb')
-rw-r--r-- | db/migrate/20110228000000_add_repositories_log_encoding.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20110228000000_add_repositories_log_encoding.rb b/db/migrate/20110228000000_add_repositories_log_encoding.rb new file mode 100644 index 000000000..85cadafce --- /dev/null +++ b/db/migrate/20110228000000_add_repositories_log_encoding.rb @@ -0,0 +1,9 @@ +class AddRepositoriesLogEncoding < ActiveRecord::Migration + def self.up + add_column :repositories, :log_encoding, :string, :limit => 64, :default => nil + end + + def self.down + remove_column :repositories, :log_encoding + end +end |