ProtectedBranches model, Master permission for repo\n Allow push to protected branch for masters only
This commit is contained in:
parent
3a9e5a9357
commit
37224dc9c1
14 changed files with 229 additions and 53 deletions
10
db/migrate/20120215182305_create_protected_branches.rb
Normal file
10
db/migrate/20120215182305_create_protected_branches.rb
Normal file
|
@ -0,0 +1,10 @@
|
|||
class CreateProtectedBranches < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :protected_branches do |t|
|
||||
t.integer :project_id, :null => false
|
||||
t.string :name, :null => false
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue