add path and path_with_namespace to api project entity
This commit is contained in:
parent
563c55eb7e
commit
193a5624b2
17 changed files with 134 additions and 5 deletions
|
@ -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
|
|
@ -11,7 +11,7 @@
|
|||
#
|
||||
# It's strongly recommended to check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(:version => 20130125090214) do
|
||||
ActiveRecord::Schema.define(:version => 20130131070232) do
|
||||
|
||||
create_table "events", :force => true do |t|
|
||||
t.string "target_type"
|
||||
|
@ -147,7 +147,6 @@ ActiveRecord::Schema.define(:version => 20130125090214) do
|
|||
t.text "description"
|
||||
t.datetime "created_at", :null => false
|
||||
t.datetime "updated_at", :null => false
|
||||
t.boolean "private_flag", :default => true, :null => false
|
||||
t.integer "creator_id"
|
||||
t.string "default_branch"
|
||||
t.boolean "issues_enabled", :default => true, :null => false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue