summaryrefslogtreecommitdiffstats
path: root/db/migrate
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2013-10-05 10:33:03 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2013-10-05 10:33:03 +0000
commit7b1b605ae8e6762f4bf76cecf32e280f75bf72c8 (patch)
tree2cb329d520e11f5d9deea6a995a3d4c7f5f57f47 /db/migrate
parent0444ecca3c876cae6ee4f83f41c4cd0bb7ee6f74 (diff)
downloadredmine-7b1b605ae8e6762f4bf76cecf32e280f75bf72c8.tar.gz
redmine-7b1b605ae8e6762f4bf76cecf32e280f75bf72c8.zip
Don't update issues nor log time when importing old changesets (#4823).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12199 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20131005100610_add_repositories_created_on.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20131005100610_add_repositories_created_on.rb b/db/migrate/20131005100610_add_repositories_created_on.rb
new file mode 100644
index 000000000..1f9822107
--- /dev/null
+++ b/db/migrate/20131005100610_add_repositories_created_on.rb
@@ -0,0 +1,9 @@
+class AddRepositoriesCreatedOn < ActiveRecord::Migration
+ def up
+ add_column :repositories, :created_on, :timestamp
+ end
+
+ def down
+ remove_column :repositories, :created_on
+ end
+end