mirror of
https://github.com/redmine/redmine.git
synced 2024-08-19 02:10:14 +02:00
13 lines
274 B
Ruby
13 lines
274 B
Ruby
![]() |
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
|