add path and path_with_namespace to api project entity

This commit is contained in:
Dmitriy Zaporozhets 2013-01-31 09:11:35 +02:00
parent 563c55eb7e
commit 193a5624b2
17 changed files with 134 additions and 5 deletions

View file

@ -0,0 +1,9 @@
class RemovePrivateFlagFromProject < ActiveRecord::Migration
def up
remove_column :projects, :private_flag
end
def down
add_column :projects, :private_flag, :boolean, default: true, null: false
end
end