Reannotated
This commit is contained in:
parent
3f1d6d6ab3
commit
65c470e843
|
@ -1,13 +1,14 @@
|
|||
# == Schema Information
|
||||
#
|
||||
# Table name: groups
|
||||
# Table name: namespaces
|
||||
#
|
||||
# id :integer not null, primary key
|
||||
# name :string(255) not null
|
||||
# code :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 Group < Namespace
|
||||
|
|
|
@ -1,3 +1,16 @@
|
|||
# == 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
|
||||
attr_accessible :name, :path
|
||||
|
||||
|
|
|
@ -9,14 +9,13 @@
|
|||
# created_at :datetime not null
|
||||
# updated_at :datetime not null
|
||||
# private_flag :boolean default(TRUE), not null
|
||||
# code :string(255)
|
||||
# owner_id :integer
|
||||
# default_branch :string(255)
|
||||
# issues_enabled :boolean default(TRUE), not null
|
||||
# wall_enabled :boolean default(TRUE), not null
|
||||
# merge_requests_enabled :boolean default(TRUE), not null
|
||||
# wiki_enabled :boolean default(TRUE), not null
|
||||
# group_id :integer
|
||||
# namespace_id :integer
|
||||
#
|
||||
|
||||
require "grit"
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
# locked_at :datetime
|
||||
# extern_uid :string(255)
|
||||
# provider :string(255)
|
||||
# username :string(255)
|
||||
#
|
||||
|
||||
class User < ActiveRecord::Base
|
||||
|
|
|
@ -1,13 +1,14 @@
|
|||
# == Schema Information
|
||||
#
|
||||
# Table name: groups
|
||||
# Table name: namespaces
|
||||
#
|
||||
# id :integer not null, primary key
|
||||
# name :string(255) not null
|
||||
# code :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'
|
||||
|
|
|
@ -1,3 +1,16 @@
|
|||
# == 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'
|
||||
|
||||
describe Namespace do
|
||||
|
|
|
@ -9,14 +9,13 @@
|
|||
# created_at :datetime not null
|
||||
# updated_at :datetime not null
|
||||
# private_flag :boolean default(TRUE), not null
|
||||
# code :string(255)
|
||||
# owner_id :integer
|
||||
# default_branch :string(255)
|
||||
# issues_enabled :boolean default(TRUE), not null
|
||||
# wall_enabled :boolean default(TRUE), not null
|
||||
# merge_requests_enabled :boolean default(TRUE), not null
|
||||
# wiki_enabled :boolean default(TRUE), not null
|
||||
# group_id :integer
|
||||
# namespace_id :integer
|
||||
#
|
||||
|
||||
require 'spec_helper'
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
# locked_at :datetime
|
||||
# extern_uid :string(255)
|
||||
# provider :string(255)
|
||||
# username :string(255)
|
||||
#
|
||||
|
||||
require 'spec_helper'
|
||||
|
|
|
@ -5,6 +5,10 @@ class Namespace
|
|||
def ensure_dir_exist
|
||||
true
|
||||
end
|
||||
|
||||
def move_dir
|
||||
true
|
||||
end
|
||||
end
|
||||
|
||||
class Gitlab::ProjectMover
|
||||
|
|
Loading…
Reference in a new issue