diff options
Diffstat (limited to 'db/migrate/20111007123901_remove_position_from_tenant_membership.rb')
-rw-r--r-- | db/migrate/20111007123901_remove_position_from_tenant_membership.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20111007123901_remove_position_from_tenant_membership.rb b/db/migrate/20111007123901_remove_position_from_tenant_membership.rb new file mode 100644 index 0000000..03e380a --- /dev/null +++ b/db/migrate/20111007123901_remove_position_from_tenant_membership.rb @@ -0,0 +1,9 @@ +class RemovePositionFromTenantMembership < ActiveRecord::Migration + def up + remove_column :tenant_memberships, :position + end + + def down + add_column :tenant_memberships, :position, :integer + end +end |