From: Jean-Philippe Lang Date: Wed, 25 Apr 2007 16:47:29 +0000 (+0000) Subject: Updated migration 41 to support table name prefix/sufix. X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=076655cdd8ca2f9f6145eb1c1552ed8c020df97d;p=redminele%2Fredmine.git Updated migration 41 to support table name prefix/sufix. git-svn-id: http://redmine.rubyforge.org/svn/trunk@481 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/config/environment.rb b/config/environment.rb index 8ff43e0a..c63ea2fc 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -57,6 +57,8 @@ Rails::Initializer.run do |config| # ActionMailer::Base.deliveries array. #config.action_mailer.delivery_method = :test config.action_mailer.delivery_method = :smtp + + config.active_record.table_name_prefix = "rdm_" end ActiveRecord::Errors.default_error_messages = {