summaryrefslogtreecommitdiffstats
path: root/db/migrate/074_add_auth_sources_tls.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-10-16 19:19:10 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-10-16 19:19:10 +0000
commit49eb65e92522bcd9c0c9f04bdbcd8466fc95e8d0 (patch)
tree55d2e774f2ea6e8574bc109633845b10b4c310ea /db/migrate/074_add_auth_sources_tls.rb
parent4c509c9423a11feb665e98e91661fc0a06a043a1 (diff)
downloadredmine-49eb65e92522bcd9c0c9f04bdbcd8466fc95e8d0.tar.gz
redmine-49eb65e92522bcd9c0c9f04bdbcd8466fc95e8d0.zip
Added LDAPS support migration and fixed connection test flash messages.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@845 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'db/migrate/074_add_auth_sources_tls.rb')
-rw-r--r--db/migrate/074_add_auth_sources_tls.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/074_add_auth_sources_tls.rb b/db/migrate/074_add_auth_sources_tls.rb
new file mode 100644
index 000000000..3987f7036
--- /dev/null
+++ b/db/migrate/074_add_auth_sources_tls.rb
@@ -0,0 +1,9 @@
+class AddAuthSourcesTls < ActiveRecord::Migration
+ def self.up
+ add_column :auth_sources, :tls, :boolean, :default => false, :null => false
+ end
+
+ def self.down
+ remove_column :auth_sources, :tls
+ end
+end