Title: [555] trunk/activerecord-jdbc/lib/jdbc_adapter/jdbc_derby.rb: make recreate_database work
Revision
555
Author
tirsen
Date
2007-05-07 15:14:15 -0400 (Mon, 07 May 2007)

Log Message

make recreate_database work

Modified Paths


Diff

Modified: trunk/activerecord-jdbc/lib/jdbc_adapter/jdbc_derby.rb (554 => 555)


--- trunk/activerecord-jdbc/lib/jdbc_adapter/jdbc_derby.rb	2007-05-07 17:26:42 UTC (rev 554)
+++ trunk/activerecord-jdbc/lib/jdbc_adapter/jdbc_derby.rb	2007-05-07 19:14:15 UTC (rev 555)
@@ -187,7 +187,7 @@
 
     def recreate_database(db_name)
       tables.each do |t|
-        drop_table t
+        drop_table t rescue nil
       end
     end    
     
_______________________________________________
Jruby-extras-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/jruby-extras-devel

Reply via email to