rosa-build/db/migrate/20110311154929_add_unixname...

11 lines
240 B
Ruby
Raw Normal View History

2012-01-30 20:39:34 +00:00
# -*- encoding : utf-8 -*-
class AddUnixnameToRepositories < ActiveRecord::Migration
def self.up
add_column :repositories, :unixname, :string, :null => false
end
def self.down
remove_column :repositories, :unixname
end
end