summaryrefslogtreecommitdiffstats
path: root/db/migrate/20090503121510_drop_members_role_id.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20090503121510_drop_members_role_id.rb')
-rw-r--r--db/migrate/20090503121510_drop_members_role_id.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20090503121510_drop_members_role_id.rb b/db/migrate/20090503121510_drop_members_role_id.rb
new file mode 100644
index 000000000..c28119910
--- /dev/null
+++ b/db/migrate/20090503121510_drop_members_role_id.rb
@@ -0,0 +1,9 @@
+class DropMembersRoleId < ActiveRecord::Migration
+ def self.up
+ remove_column :members, :role_id
+ end
+
+ def self.down
+ raise IrreversibleMigration
+ end
+end