diff options
Diffstat (limited to 'db/migrate/20090503121501_create_member_roles.rb')
-rw-r--r-- | db/migrate/20090503121501_create_member_roles.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/db/migrate/20090503121501_create_member_roles.rb b/db/migrate/20090503121501_create_member_roles.rb new file mode 100644 index 000000000..38519ea7c --- /dev/null +++ b/db/migrate/20090503121501_create_member_roles.rb @@ -0,0 +1,12 @@ +class CreateMemberRoles < ActiveRecord::Migration + def self.up + create_table :member_roles do |t| + t.column :member_id, :integer, :null => false + t.column :role_id, :integer, :null => false + end + end + + def self.down + drop_table :member_roles + end +end |