gitlabhq/db/migrate/20120215182305_create_protected_branches.rb

10 lines
232 B
Ruby

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