gitlabhq/db/migrate/20120215182305_create_protected_branches.rb

11 lines
232 B
Ruby
Raw Normal View History

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