summaryrefslogtreecommitdiffstats
path: root/db
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-03-01 16:26:10 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-03-01 16:26:10 +0000
commit60741b3e1c025f50e93e6f5847716ed930b319a0 (patch)
treecb3d11d718d1ae9340418103648ceceb5623de07 /db
parentab46c52d4a3e993d3ca59cca976e1235ee2e2ed7 (diff)
downloadredmine-60741b3e1c025f50e93e6f5847716ed930b319a0.tar.gz
redmine-60741b3e1c025f50e93e6f5847716ed930b319a0.zip
Adds an optional LDAP filter (#1060).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9044 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20120301153455_add_auth_sources_filter.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20120301153455_add_auth_sources_filter.rb b/db/migrate/20120301153455_add_auth_sources_filter.rb
new file mode 100644
index 000000000..617b3b77e
--- /dev/null
+++ b/db/migrate/20120301153455_add_auth_sources_filter.rb
@@ -0,0 +1,9 @@
+class AddAuthSourcesFilter < ActiveRecord::Migration
+ def self.up
+ add_column :auth_sources, :filter, :string
+ end
+
+ def self.down
+ remove_column :auth_sources, :filter
+ end
+end