Please enable JavaScript to use RhodeCode Enterprise
Commit Description:
add model solution
Commit Description:
add model solution
class CreateRights < ActiveRecord :: Migration [ 4 . 2 ]
def self . up
create_table :rights , options : "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci" do | t |
t . column 'name' , :string
t . column 'controller' , :string
t . column 'action' , :string
end
create_table :rights_roles , :id => false , options : "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci" do | t |
t . column 'right_id' , :integer
t . column 'role_id' , :integer
end
add_index :rights_roles , :role_id
end
def self . down
drop_table :rights_roles
drop_table :rights
end
end
Site-wide shortcuts
/
Use quick search box
g h
Goto home page
g g
Goto my private gists page
g G
Goto my public gists page
n r
New repository page
n g
New gist page
Repositories
g s
Goto summary page
g c
Goto changelog page
g f
Goto files page
g F
Goto files page with file search activated
g p
Goto pull requests page
g o
Goto repository settings
g O
Goto repository permissions settings