aboutsummaryrefslogtreecommitdiffstats
path: root/db
diff options
context:
space:
mode:
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20130527074101_remove_geoportail_key_from_organisation.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20130527074101_remove_geoportail_key_from_organisation.rb b/db/migrate/20130527074101_remove_geoportail_key_from_organisation.rb
new file mode 100644
index 000000000..616587f7a
--- /dev/null
+++ b/db/migrate/20130527074101_remove_geoportail_key_from_organisation.rb
@@ -0,0 +1,9 @@
+class RemoveGeoportailKeyFromOrganisation < ActiveRecord::Migration
+ def up
+ remove_column :organisations, :geoportail_key
+ end
+
+ def down
+ add_column :organisations, :geoportail_key, :string
+ end
+end