summaryrefslogtreecommitdiff
path: root/db/migrate/20111007110258_remove_position_from_tenant.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20111007110258_remove_position_from_tenant.rb')
-rw-r--r--db/migrate/20111007110258_remove_position_from_tenant.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20111007110258_remove_position_from_tenant.rb b/db/migrate/20111007110258_remove_position_from_tenant.rb
new file mode 100644
index 0000000..1415114
--- /dev/null
+++ b/db/migrate/20111007110258_remove_position_from_tenant.rb
@@ -0,0 +1,9 @@
+class RemovePositionFromTenant < ActiveRecord::Migration
+ def up
+ remove_column :tenants, :position
+ end
+
+ def down
+ add_column :tenants, :position, :integer
+ end
+end