Commit 65c470e8 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Reannotated

parent 3f1d6d6a
# == Schema Information # == Schema Information
# #
# Table name: groups # Table name: namespaces
# #
# id :integer not null, primary key # id :integer not null, primary key
# name :string(255) not null # name :string(255) not null
# code :string(255) not null # path :string(255) not null
# owner_id :integer not null # owner_id :integer not null
# created_at :datetime not null # created_at :datetime not null
# updated_at :datetime not null # updated_at :datetime not null
# type :string(255)
# #
class Group < Namespace class Group < Namespace
......
# == Schema Information
#
# Table name: namespaces
#
# id :integer not null, primary key
# name :string(255) not null
# path :string(255) not null
# owner_id :integer not null
# created_at :datetime not null
# updated_at :datetime not null
# type :string(255)
#
class Namespace < ActiveRecord::Base class Namespace < ActiveRecord::Base
attr_accessible :name, :path attr_accessible :name, :path
......
...@@ -9,14 +9,13 @@ ...@@ -9,14 +9,13 @@
# created_at :datetime not null # created_at :datetime not null
# updated_at :datetime not null # updated_at :datetime not null
# private_flag :boolean default(TRUE), not null # private_flag :boolean default(TRUE), not null
# code :string(255)
# owner_id :integer # owner_id :integer
# default_branch :string(255) # default_branch :string(255)
# issues_enabled :boolean default(TRUE), not null # issues_enabled :boolean default(TRUE), not null
# wall_enabled :boolean default(TRUE), not null # wall_enabled :boolean default(TRUE), not null
# merge_requests_enabled :boolean default(TRUE), not null # merge_requests_enabled :boolean default(TRUE), not null
# wiki_enabled :boolean default(TRUE), not null # wiki_enabled :boolean default(TRUE), not null
# group_id :integer # namespace_id :integer
# #
require "grit" require "grit"
......
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
# locked_at :datetime # locked_at :datetime
# extern_uid :string(255) # extern_uid :string(255)
# provider :string(255) # provider :string(255)
# username :string(255)
# #
class User < ActiveRecord::Base class User < ActiveRecord::Base
......
# == Schema Information # == Schema Information
# #
# Table name: groups # Table name: namespaces
# #
# id :integer not null, primary key # id :integer not null, primary key
# name :string(255) not null # name :string(255) not null
# code :string(255) not null # path :string(255) not null
# owner_id :integer not null # owner_id :integer not null
# created_at :datetime not null # created_at :datetime not null
# updated_at :datetime not null # updated_at :datetime not null
# type :string(255)
# #
require 'spec_helper' require 'spec_helper'
......
# == Schema Information
#
# Table name: namespaces
#
# id :integer not null, primary key
# name :string(255) not null
# path :string(255) not null
# owner_id :integer not null
# created_at :datetime not null
# updated_at :datetime not null
# type :string(255)
#
require 'spec_helper' require 'spec_helper'
describe Namespace do describe Namespace do
......
...@@ -9,14 +9,13 @@ ...@@ -9,14 +9,13 @@
# created_at :datetime not null # created_at :datetime not null
# updated_at :datetime not null # updated_at :datetime not null
# private_flag :boolean default(TRUE), not null # private_flag :boolean default(TRUE), not null
# code :string(255)
# owner_id :integer # owner_id :integer
# default_branch :string(255) # default_branch :string(255)
# issues_enabled :boolean default(TRUE), not null # issues_enabled :boolean default(TRUE), not null
# wall_enabled :boolean default(TRUE), not null # wall_enabled :boolean default(TRUE), not null
# merge_requests_enabled :boolean default(TRUE), not null # merge_requests_enabled :boolean default(TRUE), not null
# wiki_enabled :boolean default(TRUE), not null # wiki_enabled :boolean default(TRUE), not null
# group_id :integer # namespace_id :integer
# #
require 'spec_helper' require 'spec_helper'
......
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
# locked_at :datetime # locked_at :datetime
# extern_uid :string(255) # extern_uid :string(255)
# provider :string(255) # provider :string(255)
# username :string(255)
# #
require 'spec_helper' require 'spec_helper'
......
...@@ -5,6 +5,10 @@ class Namespace ...@@ -5,6 +5,10 @@ class Namespace
def ensure_dir_exist def ensure_dir_exist
true true
end end
def move_dir
true
end
end end
class Gitlab::ProjectMover class Gitlab::ProjectMover
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment