diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-04-02 06:29:09 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-04-02 06:29:09 +0000 |
commit | 006b8716ed0c746f644dd1cf145c1b31d21e4097 (patch) | |
tree | c97fd78a54e6b4c2b893072ab41d941957681adb /db | |
parent | 4ff8386e3dfee800591e7f856a26ccc700149b02 (diff) | |
download | redmine-006b8716ed0c746f644dd1cf145c1b31d21e4097.tar.gz redmine-006b8716ed0c746f644dd1cf145c1b31d21e4097.zip |
Migration to add identifier attribute on project.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@397 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/037_add_project_identifier.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/037_add_project_identifier.rb b/db/migrate/037_add_project_identifier.rb new file mode 100644 index 000000000..0fd8c7513 --- /dev/null +++ b/db/migrate/037_add_project_identifier.rb @@ -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 |