Commit 21b1fee9 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

reannotated

parent 2a04341f
...@@ -4,12 +4,12 @@ ...@@ -4,12 +4,12 @@
# #
# id :integer not null, primary key # id :integer not null, primary key
# name :string(255) not null # name :string(255) not null
# description :string(255) not null
# path :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) # type :string(255)
# description :string(255) default(""), not null
# #
class Group < Namespace class Group < Namespace
......
...@@ -9,11 +9,11 @@ ...@@ -9,11 +9,11 @@
# project_id :integer # project_id :integer
# created_at :datetime not null # created_at :datetime not null
# updated_at :datetime not null # updated_at :datetime not null
# state :string default(FALSE), not null
# position :integer default(0) # position :integer default(0)
# branch_name :string(255) # branch_name :string(255)
# description :text # description :text
# milestone_id :integer # milestone_id :integer
# state :string(255)
# #
class Issue < ActiveRecord::Base class Issue < ActiveRecord::Base
......
...@@ -9,14 +9,14 @@ ...@@ -9,14 +9,14 @@
# author_id :integer # author_id :integer
# assignee_id :integer # assignee_id :integer
# title :string(255) # title :string(255)
# state :string(255) not null
# created_at :datetime not null # created_at :datetime not null
# updated_at :datetime not null # updated_at :datetime not null
# st_commits :text(2147483647) # st_commits :text(2147483647)
# st_diffs :text(2147483647) # st_diffs :text(2147483647)
# merge_status :integer default(1), not null
#
# milestone_id :integer # milestone_id :integer
# state :string(255)
# merge_status :string(255)
#
require Rails.root.join("app/models/commit") require Rails.root.join("app/models/commit")
require Rails.root.join("lib/static_model") require Rails.root.join("lib/static_model")
......
...@@ -7,9 +7,9 @@ ...@@ -7,9 +7,9 @@
# project_id :integer not null # project_id :integer not null
# description :text # description :text
# due_date :date # due_date :date
# closed :boolean default(FALSE), not null
# created_at :datetime not null # created_at :datetime not null
# updated_at :datetime not null # updated_at :datetime not null
# state :string(255)
# #
class Milestone < ActiveRecord::Base class Milestone < ActiveRecord::Base
......
...@@ -4,12 +4,12 @@ ...@@ -4,12 +4,12 @@
# #
# id :integer not null, primary key # id :integer not null, primary key
# name :string(255) not null # name :string(255) not null
# description :string(255) not null
# path :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) # type :string(255)
# description :string(255) default(""), not null
# #
class Namespace < ActiveRecord::Base class Namespace < ActiveRecord::Base
......
...@@ -11,12 +11,13 @@ ...@@ -11,12 +11,13 @@
# creator_id :integer # creator_id :integer
# default_branch :string(255) # default_branch :string(255)
# issues_enabled :boolean default(TRUE), not null # issues_enabled :boolean default(TRUE), not null
# issues_tracker :string 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
# namespace_id :integer # namespace_id :integer
# public :boolean default(FALSE), not null # public :boolean default(FALSE), not null
# issues_tracker :string(255) default("gitlab"), not null
# issues_tracker_id :string(255)
# #
require "grit" require "grit"
......
...@@ -22,10 +22,8 @@ ...@@ -22,10 +22,8 @@
# linkedin :string(255) default(""), not null # linkedin :string(255) default(""), not null
# twitter :string(255) default(""), not null # twitter :string(255) default(""), not null
# authentication_token :string(255) # authentication_token :string(255)
# dark_scheme :boolean default(FALSE), not null
# theme_id :integer default(1), not null # theme_id :integer default(1), not null
# bio :string(255) # bio :string(255)
# state :string(255)
# failed_attempts :integer default(0) # failed_attempts :integer default(0)
# locked_at :datetime # locked_at :datetime
# extern_uid :string(255) # extern_uid :string(255)
...@@ -33,6 +31,8 @@ ...@@ -33,6 +31,8 @@
# username :string(255) # username :string(255)
# can_create_group :boolean default(TRUE), not null # can_create_group :boolean default(TRUE), not null
# can_create_team :boolean default(TRUE), not null # can_create_team :boolean default(TRUE), not null
# state :string(255)
# color_scheme_id :integer default(1), not null
# #
class User < ActiveRecord::Base class User < ActiveRecord::Base
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
# owner_id :integer # owner_id :integer
# created_at :datetime not null # created_at :datetime not null
# updated_at :datetime not null # updated_at :datetime not null
# description :string(255) default(""), not null
# #
class UserTeam < ActiveRecord::Base class UserTeam < ActiveRecord::Base
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
# owner_id :integer # owner_id :integer
# created_at :datetime not null # created_at :datetime not null
# updated_at :datetime not null # updated_at :datetime not null
# description :string(255) default(""), not null
# #
# Read about factories at https://github.com/thoughtbot/factory_girl # Read about factories at https://github.com/thoughtbot/factory_girl
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
# created_at :datetime not null # created_at :datetime not null
# updated_at :datetime not null # updated_at :datetime not null
# type :string(255) # type :string(255)
# description :string(255) default(""), not null
# #
require 'spec_helper' require 'spec_helper'
......
...@@ -9,11 +9,11 @@ ...@@ -9,11 +9,11 @@
# project_id :integer # project_id :integer
# created_at :datetime not null # created_at :datetime not null
# updated_at :datetime not null # updated_at :datetime not null
# state :string default(FALSE), not null
# position :integer default(0) # position :integer default(0)
# branch_name :string(255) # branch_name :string(255)
# description :text # description :text
# milestone_id :integer # milestone_id :integer
# state :string(255)
# #
require 'spec_helper' require 'spec_helper'
......
...@@ -9,14 +9,13 @@ ...@@ -9,14 +9,13 @@
# author_id :integer # author_id :integer
# assignee_id :integer # assignee_id :integer
# title :string(255) # title :string(255)
# closed :boolean default(FALSE), not null
# created_at :datetime not null # created_at :datetime not null
# updated_at :datetime not null # updated_at :datetime not null
# st_commits :text(2147483647) # st_commits :text(2147483647)
# st_diffs :text(2147483647) # st_diffs :text(2147483647)
# merged :boolean default(FALSE), not null
# merge_status :integer default(1), not null
# milestone_id :integer # milestone_id :integer
# state :string(255)
# merge_status :string(255)
# #
require 'spec_helper' require 'spec_helper'
......
...@@ -7,9 +7,9 @@ ...@@ -7,9 +7,9 @@
# project_id :integer not null # project_id :integer not null
# description :text # description :text
# due_date :date # due_date :date
# state :string default(FALSE), not null
# created_at :datetime not null # created_at :datetime not null
# updated_at :datetime not null # updated_at :datetime not null
# state :string(255)
# #
require 'spec_helper' require 'spec_helper'
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
# created_at :datetime not null # created_at :datetime not null
# updated_at :datetime not null # updated_at :datetime not null
# type :string(255) # type :string(255)
# description :string(255) default(""), not null
# #
require 'spec_helper' require 'spec_helper'
......
...@@ -16,6 +16,8 @@ ...@@ -16,6 +16,8 @@
# wiki_enabled :boolean default(TRUE), not null # wiki_enabled :boolean default(TRUE), not null
# namespace_id :integer # namespace_id :integer
# public :boolean default(FALSE), not null # public :boolean default(FALSE), not null
# issues_tracker :string(255) default("gitlab"), not null
# issues_tracker_id :string(255)
# #
require 'spec_helper' require 'spec_helper'
......
...@@ -22,10 +22,8 @@ ...@@ -22,10 +22,8 @@
# linkedin :string(255) default(""), not null # linkedin :string(255) default(""), not null
# twitter :string(255) default(""), not null # twitter :string(255) default(""), not null
# authentication_token :string(255) # authentication_token :string(255)
# dark_scheme :boolean default(FALSE), not null
# theme_id :integer default(1), not null # theme_id :integer default(1), not null
# bio :string(255) # bio :string(255)
# state :string(255) default(FALSE), not null
# failed_attempts :integer default(0) # failed_attempts :integer default(0)
# locked_at :datetime # locked_at :datetime
# extern_uid :string(255) # extern_uid :string(255)
...@@ -33,6 +31,8 @@ ...@@ -33,6 +31,8 @@
# username :string(255) # username :string(255)
# can_create_group :boolean default(TRUE), not null # can_create_group :boolean default(TRUE), not null
# can_create_team :boolean default(TRUE), not null # can_create_team :boolean default(TRUE), not null
# state :string(255)
# color_scheme_id :integer default(1), not null
# #
require 'spec_helper' require 'spec_helper'
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
# owner_id :integer # owner_id :integer
# created_at :datetime not null # created_at :datetime not null
# updated_at :datetime not null # updated_at :datetime not null
# description :string(255) default(""), not null
# #
require 'spec_helper' require 'spec_helper'
......
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