OSDN Git Service

Updated migration 41 to support table name prefix/sufix.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Wed, 25 Apr 2007 16:47:29 +0000 (16:47 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Wed, 25 Apr 2007 16:47:29 +0000 (16:47 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@481 e93f8b46-1217-0410-a6f0-8f06a7374b81

config/environment.rb

index 8ff43e0..c63ea2f 100644 (file)
@@ -57,6 +57,8 @@ Rails::Initializer.run do |config|
        # ActionMailer::Base.deliveries array.
        #config.action_mailer.delivery_method = :test\r
        config.action_mailer.delivery_method = :smtp  
+       
+       config.active_record.table_name_prefix = "rdm_"
 end
 
 ActiveRecord::Errors.default_error_messages = {