Migration to add identifier attribute on project.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@397 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
4ff8386e3d
commit
006b8716ed
|
@ -0,0 +1,9 @@
|
||||||
|
class AddProjectIdentifier < ActiveRecord::Migration
|
||||||
|
def self.up
|
||||||
|
add_column :projects, :identifier, :string, :limit => 20
|
||||||
|
end
|
||||||
|
|
||||||
|
def self.down
|
||||||
|
remove_column :projects, :identifier
|
||||||
|
end
|
||||||
|
end
|
Loading…
Reference in New Issue