public
Fork of nicksieger/activerecord-jdbc-adapter
Description: ActiveRecord adapter for JDBC and JRuby
Homepage: http://jruby-extras.rubyforge.org/activerecord-jdbc-adapter
Clone URL: git://github.com/abedra/activerecord-jdbc-adapter.git
Search Repo:
adding a db2-specific remove_index
* this "fixes" the db2_simple_test
* needs to be reviewed by someone who knows DB2 better!
Tue May 13 10:33:30 -0700 2008
commit  1618f139f60f327468dc71d14915879fd57cc63a
tree    20302afbc317c9616727b132c1783204a3174138
parent  49fcfff2d30f6ed6339f58484c297118484eaa9b
...
109
110
111
112
 
 
 
 
 
113
114
115
...
109
110
111
 
112
113
114
115
116
117
118
119
0
@@ -109,7 +109,11 @@ module JdbcSpec
0
         end
0
       end
0
     end
0
-
0
+
0
+ def remove_index(table_name, options = { })
0
+ execute "DROP INDEX #{quote_column_name(index_name(table_name, options))}"
0
+ end
0
+
0
     def add_quotes(name)
0
       return name unless name
0
       %Q{"#{name}"}

Comments

    No one has commented yet.