public
Description: Gitorious aims to provide a great way of doing distributed opensource code collaboration.
Homepage: http://gitorious.org/projects/gitorious
Clone URL: git://github.com/dysinger/gitorious.git
Search Repo:
add indexes to cloners table
Johan Sørensen (author)
Sun Apr 27 13:36:13 -0700 2008
commit  8edfc4faef76b553f78162511f11dfff3b9d22e4
tree    512c2fce96c97f40905117b2f9f01d490e76910d
parent  6b7133fad99a3e7e349caa4a1c88bb42abca1dd7
...
 
 
 
 
 
 
 
 
 
 
 
 
 
...
1
2
3
4
5
6
7
8
9
10
11
12
13
0
@@ -1 +1,14 @@
0
+class AddIndexesToCloners < ActiveRecord::Migration
0
+ def self.up
0
+ add_index :cloners, :repository_id
0
+ add_index :cloners, :date
0
+ add_index :cloners, :ip
0
+ end
0
+
0
+ def self.down
0
+ remove_index :cloners, :repository_id
0
+ remove_index :cloners, :date
0
+ remove_index :cloners, :ip
0
+ end
0
+end

Comments

    No one has commented yet.