redmine/db/migrate/037_add_project_identifier.rb
Jean-Philippe Lang 006b8716ed Migration to add identifier attribute on project.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@397 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-04-02 06:29:09 +00:00

10 lines
202 B
Ruby

class AddProjectIdentifier < ActiveRecord::Migration
def self.up
add_column :projects, :identifier, :string, :limit => 20
end
def self.down
remove_column :projects, :identifier
end
end