aboutsummaryrefslogtreecommitdiffstats
path: root/db/migrate
diff options
context:
space:
mode:
authorfrancis <francis>2008-05-27 01:19:44 +0000
committerfrancis <francis>2008-05-27 01:19:44 +0000
commitde1d69bd30c6705b1cd6fd85974193ea22dc885b (patch)
treeed7214999ea49b3ff2302673d1cc77c4050598d1 /db/migrate
parentf355524878bab41bc894dd9796412004e1c54429 (diff)
Support authorities to which only EIR requests can be made.
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/057_add_law_used.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/057_add_law_used.rb b/db/migrate/057_add_law_used.rb
new file mode 100644
index 000000000..ec4efd0bc
--- /dev/null
+++ b/db/migrate/057_add_law_used.rb
@@ -0,0 +1,9 @@
+class AddLawUsed < ActiveRecord::Migration
+ def self.up
+ add_column :info_requests, :law_used, :string, :null => false, :default => 'foi'
+ end
+
+ def self.down
+ remove_column :info_requests, :law_used
+ end
+end