037_add_project_identifier.rb
9 lines
| 202 B
| text/x-ruby
|
RubyLexer
|
r394 | class AddProjectIdentifier < ActiveRecord::Migration | ||
def self.up | ||||
add_column :projects, :identifier, :string, :limit => 20 | ||||
end | ||||
def self.down | ||||
remove_column :projects, :identifier | ||||
end | ||||
end | ||||