summaryrefslogtreecommitdiffstats
path: root/db/migrate
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2015-10-21 19:00:20 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2015-10-21 19:00:20 +0000
commitf053c1a5af4a93c0b003fc624cac1a6a35a8ef89 (patch)
tree2e28c475b19d4682b28f37900938fb4286b4bcc0 /db/migrate
parent05106b45ad22640039e012abbdc3c8a30040acdc (diff)
downloadredmine-f053c1a5af4a93c0b003fc624cac1a6a35a8ef89.tar.gz
redmine-f053c1a5af4a93c0b003fc624cac1a6a35a8ef89.zip
LDAP filter changed to text (#20929).
git-svn-id: http://svn.redmine.org/redmine/trunk@14725 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20151021185456_change_auth_sources_filter_to_text.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20151021185456_change_auth_sources_filter_to_text.rb b/db/migrate/20151021185456_change_auth_sources_filter_to_text.rb
new file mode 100644
index 000000000..344f9fa4a
--- /dev/null
+++ b/db/migrate/20151021185456_change_auth_sources_filter_to_text.rb
@@ -0,0 +1,9 @@
+class ChangeAuthSourcesFilterToText < ActiveRecord::Migration
+ def self.up
+ change_column :auth_sources, :filter, :text
+ end
+
+ def self.down
+ change_column :auth_sources, :filter, :string
+ end
+end