summaryrefslogtreecommitdiffstats
path: root/config/environment.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-04-25 16:47:29 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-04-25 16:47:29 +0000
commit076655cdd8ca2f9f6145eb1c1552ed8c020df97d (patch)
tree843251771dff5105ea7c9f240ad0c18922537eeb /config/environment.rb
parent8e4a5996b03e037c62ef560d9e6851eda5a6fa69 (diff)
downloadredmine-076655cdd8ca2f9f6145eb1c1552ed8c020df97d.tar.gz
redmine-076655cdd8ca2f9f6145eb1c1552ed8c020df97d.zip
Updated migration 41 to support table name prefix/sufix.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@481 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config/environment.rb')
-rw-r--r--config/environment.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/environment.rb b/config/environment.rb
index 8ff43e0ac..c63ea2fcc 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 = {