diff options
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/057_add_law_used.rb | 9 |
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 |