summaryrefslogtreecommitdiffstats
path: root/db/migrate/20120707064544_add_auth_sources_timeout.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20120707064544_add_auth_sources_timeout.rb')
-rw-r--r--db/migrate/20120707064544_add_auth_sources_timeout.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20120707064544_add_auth_sources_timeout.rb b/db/migrate/20120707064544_add_auth_sources_timeout.rb
new file mode 100644
index 000000000..40f467810
--- /dev/null
+++ b/db/migrate/20120707064544_add_auth_sources_timeout.rb
@@ -0,0 +1,9 @@
+class AddAuthSourcesTimeout < ActiveRecord::Migration
+ def up
+ add_column :auth_sources, :timeout, :integer
+ end
+
+ def self.down
+ remove_column :auth_sources, :timeout
+ end
+end