From 7b1b605ae8e6762f4bf76cecf32e280f75bf72c8 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 5 Oct 2013 10:33:03 +0000 Subject: 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 --- db/migrate/20131005100610_add_repositories_created_on.rb | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 db/migrate/20131005100610_add_repositories_created_on.rb (limited to 'db/migrate/20131005100610_add_repositories_created_on.rb') 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 -- cgit v1.2.3