Commit 8dd37afe authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Reannotate

parent fb492386
...@@ -4,12 +4,12 @@ ...@@ -4,12 +4,12 @@
# #
# id :integer not null, primary key # id :integer not null, primary key
# user_id :integer # user_id :integer
# created_at :datetime # created_at :datetime not null
# updated_at :datetime # updated_at :datetime not null
# key :text # key :text
# title :string(255) # title :string(255)
# identifier :string(255)
# type :string(255) # type :string(255)
# fingerprint :string(255)
# #
class DeployKey < Key class DeployKey < Key
......
...@@ -7,13 +7,14 @@ ...@@ -7,13 +7,14 @@
# assignee_id :integer # assignee_id :integer
# author_id :integer # author_id :integer
# project_id :integer # project_id :integer
# created_at :datetime # created_at :datetime not null
# updated_at :datetime # updated_at :datetime 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) # state :string(255)
# iid :integer
# #
class Issue < ActiveRecord::Base class Issue < ActiveRecord::Base
......
...@@ -4,12 +4,12 @@ ...@@ -4,12 +4,12 @@
# #
# id :integer not null, primary key # id :integer not null, primary key
# user_id :integer # user_id :integer
# created_at :datetime # created_at :datetime not null
# updated_at :datetime # updated_at :datetime not null
# key :text # key :text
# title :string(255) # title :string(255)
# identifier :string(255)
# type :string(255) # type :string(255)
# fingerprint :string(255)
# #
require 'digest/md5' require 'digest/md5'
......
...@@ -3,20 +3,21 @@ ...@@ -3,20 +3,21 @@
# Table name: merge_requests # Table name: merge_requests
# #
# id :integer not null, primary key # id :integer not null, primary key
# target_project_id :integer not null
# target_branch :string(255) not null # target_branch :string(255) not null
# source_project_id :integer not null
# source_branch :string(255) not null # source_branch :string(255) not null
# source_project_id :integer not null
# author_id :integer # author_id :integer
# assignee_id :integer # assignee_id :integer
# title :string(255) # title :string(255)
# created_at :datetime # created_at :datetime not null
# updated_at :datetime # updated_at :datetime not null
# st_commits :text(2147483647) # st_commits :text(2147483647)
# st_diffs :text(2147483647) # st_diffs :text(2147483647)
# milestone_id :integer # milestone_id :integer
# state :string(255) # state :string(255)
# merge_status :string(255) # merge_status :string(255)
# target_project_id :integer not null
# iid :integer
# #
require Rails.root.join("app/models/commit") require Rails.root.join("app/models/commit")
......
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
# created_at :datetime not null # created_at :datetime not null
# updated_at :datetime not null # updated_at :datetime not null
# state :string(255) # state :string(255)
# iid :integer
# #
class Milestone < ActiveRecord::Base class Milestone < ActiveRecord::Base
......
...@@ -6,13 +6,14 @@ ...@@ -6,13 +6,14 @@
# note :text # note :text
# noteable_type :string(255) # noteable_type :string(255)
# author_id :integer # author_id :integer
# created_at :datetime # created_at :datetime not null
# updated_at :datetime # updated_at :datetime not null
# project_id :integer # project_id :integer
# attachment :string(255) # attachment :string(255)
# line_code :string(255) # line_code :string(255)
# commit_id :string(255) # commit_id :string(255)
# noteable_id :integer # noteable_id :integer
# st_diff :text
# #
require 'carrierwave/orm/activerecord' require 'carrierwave/orm/activerecord'
......
...@@ -4,11 +4,11 @@ ...@@ -4,11 +4,11 @@
# #
# id :integer not null, primary key # id :integer not null, primary key
# title :string(255) # title :string(255)
# content :text # content :text(2147483647)
# author_id :integer not null # author_id :integer not null
# project_id :integer # project_id :integer
# created_at :datetime # created_at :datetime not null
# updated_at :datetime # updated_at :datetime not null
# file_name :string(255) # file_name :string(255)
# expires_at :datetime # expires_at :datetime
# private :boolean default(TRUE), not null # private :boolean default(TRUE), not null
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
# name :string(255) # name :string(255)
# path :string(255) # path :string(255)
# description :text # description :text
# created_at :datetime # created_at :datetime not null
# updated_at :datetime # updated_at :datetime not null
# 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
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
# snippets_enabled :boolean default(TRUE), not null # snippets_enabled :boolean default(TRUE), not null
# last_activity_at :datetime # last_activity_at :datetime
# imported :boolean default(FALSE), not null # imported :boolean default(FALSE), not null
# import_url :string(255)
# #
require "grit" require "grit"
......
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
# id :integer not null, primary key # id :integer not null, primary key
# url :string(255) # url :string(255)
# project_id :integer # project_id :integer
# created_at :datetime # created_at :datetime not null
# updated_at :datetime # updated_at :datetime not null
# type :string(255) default("ProjectHook") # type :string(255) default("ProjectHook")
# service_id :integer # service_id :integer
# #
......
...@@ -4,11 +4,11 @@ ...@@ -4,11 +4,11 @@
# #
# id :integer not null, primary key # id :integer not null, primary key
# title :string(255) # title :string(255)
# content :text # content :text(2147483647)
# author_id :integer not null # author_id :integer not null
# project_id :integer # project_id :integer
# created_at :datetime # created_at :datetime not null
# updated_at :datetime # updated_at :datetime not null
# file_name :string(255) # file_name :string(255)
# expires_at :datetime # expires_at :datetime
# private :boolean default(TRUE), not null # private :boolean default(TRUE), not null
......
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
# id :integer not null, primary key # id :integer not null, primary key
# url :string(255) # url :string(255)
# project_id :integer # project_id :integer
# created_at :datetime # created_at :datetime not null
# updated_at :datetime # updated_at :datetime not null
# type :string(255) default("ProjectHook") # type :string(255) default("ProjectHook")
# service_id :integer # service_id :integer
# #
......
...@@ -4,11 +4,11 @@ ...@@ -4,11 +4,11 @@
# #
# id :integer not null, primary key # id :integer not null, primary key
# title :string(255) # title :string(255)
# content :text # content :text(2147483647)
# author_id :integer not null # author_id :integer not null
# project_id :integer # project_id :integer
# created_at :datetime # created_at :datetime not null
# updated_at :datetime # updated_at :datetime not null
# file_name :string(255) # file_name :string(255)
# expires_at :datetime # expires_at :datetime
# private :boolean default(TRUE), not null # private :boolean default(TRUE), not null
......
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
# id :integer not null, primary key # id :integer not null, primary key
# url :string(255) # url :string(255)
# project_id :integer # project_id :integer
# created_at :datetime # created_at :datetime not null
# updated_at :datetime # updated_at :datetime not null
# type :string(255) default("ProjectHook") # type :string(255) default("ProjectHook")
# service_id :integer # service_id :integer
# #
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
# #
# id :integer not null, primary key # id :integer not null, primary key
# email :string(255) default(""), not null # email :string(255) default(""), not null
# encrypted_password :string(128) default(""), not null # encrypted_password :string(255) default(""), not null
# reset_password_token :string(255) # reset_password_token :string(255)
# reset_password_sent_at :datetime # reset_password_sent_at :datetime
# remember_created_at :datetime # remember_created_at :datetime
...@@ -13,8 +13,8 @@ ...@@ -13,8 +13,8 @@
# last_sign_in_at :datetime # last_sign_in_at :datetime
# current_sign_in_ip :string(255) # current_sign_in_ip :string(255)
# last_sign_in_ip :string(255) # last_sign_in_ip :string(255)
# created_at :datetime # created_at :datetime not null
# updated_at :datetime # updated_at :datetime not null
# name :string(255) # name :string(255)
# admin :boolean default(FALSE), not null # admin :boolean default(FALSE), not null
# projects_limit :integer default(10) # projects_limit :integer default(10)
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
# user_id :integer not null # user_id :integer not null
# created_at :datetime not null # created_at :datetime not null
# updated_at :datetime not null # updated_at :datetime not null
# notification_level :integer default(3), not null
# #
class UsersGroup < ActiveRecord::Base class UsersGroup < ActiveRecord::Base
......
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
# id :integer not null, primary key # id :integer not null, primary key
# user_id :integer not null # user_id :integer not null
# project_id :integer not null # project_id :integer not null
# created_at :datetime # created_at :datetime not null
# updated_at :datetime # updated_at :datetime not null
# project_access :integer default(0), not null # project_access :integer default(0), not null
# notification_level :integer default(3), not null # notification_level :integer default(3), not null
# #
......
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
# id :integer not null, primary key # id :integer not null, primary key
# url :string(255) # url :string(255)
# project_id :integer # project_id :integer
# created_at :datetime # created_at :datetime not null
# updated_at :datetime # updated_at :datetime not null
# type :string(255) default("ProjectHook") # type :string(255) default("ProjectHook")
# service_id :integer # service_id :integer
# #
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
# user_id :integer not null # user_id :integer not null
# created_at :datetime not null # created_at :datetime not null
# updated_at :datetime not null # updated_at :datetime not null
# notification_level :integer default(3), not null
# #
FactoryGirl.define do FactoryGirl.define do
......
...@@ -4,12 +4,12 @@ ...@@ -4,12 +4,12 @@
# #
# id :integer not null, primary key # id :integer not null, primary key
# user_id :integer # user_id :integer
# created_at :datetime # created_at :datetime not null
# updated_at :datetime # updated_at :datetime not null
# key :text # key :text
# title :string(255) # title :string(255)
# identifier :string(255)
# type :string(255) # type :string(255)
# fingerprint :string(255)
# #
require 'spec_helper' require 'spec_helper'
......
...@@ -7,13 +7,14 @@ ...@@ -7,13 +7,14 @@
# assignee_id :integer # assignee_id :integer
# author_id :integer # author_id :integer
# project_id :integer # project_id :integer
# created_at :datetime # created_at :datetime not null
# updated_at :datetime # updated_at :datetime 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) # state :string(255)
# iid :integer
# #
require 'spec_helper' require 'spec_helper'
......
...@@ -4,12 +4,12 @@ ...@@ -4,12 +4,12 @@
# #
# id :integer not null, primary key # id :integer not null, primary key
# user_id :integer # user_id :integer
# created_at :datetime # created_at :datetime not null
# updated_at :datetime # updated_at :datetime not null
# key :text # key :text
# title :string(255) # title :string(255)
# identifier :string(255)
# type :string(255) # type :string(255)
# fingerprint :string(255)
# #
require 'spec_helper' require 'spec_helper'
......
...@@ -5,17 +5,19 @@ ...@@ -5,17 +5,19 @@
# id :integer not null, primary key # id :integer not null, primary key
# target_branch :string(255) not null # target_branch :string(255) not null
# source_branch :string(255) not null # source_branch :string(255) not null
# project_id :integer not null # source_project_id :integer not null
# author_id :integer # author_id :integer
# assignee_id :integer # assignee_id :integer
# title :string(255) # title :string(255)
# created_at :datetime # created_at :datetime not null
# updated_at :datetime # updated_at :datetime not null
# st_commits :text(2147483647) # st_commits :text(2147483647)
# st_diffs :text(2147483647) # st_diffs :text(2147483647)
# milestone_id :integer # milestone_id :integer
# state :string(255) # state :string(255)
# merge_status :string(255) # merge_status :string(255)
# target_project_id :integer not null
# iid :integer
# #
require 'spec_helper' require 'spec_helper'
......
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
# created_at :datetime not null # created_at :datetime not null
# updated_at :datetime not null # updated_at :datetime not null
# state :string(255) # state :string(255)
# iid :integer
# #
require 'spec_helper' require 'spec_helper'
......
...@@ -6,13 +6,14 @@ ...@@ -6,13 +6,14 @@
# note :text # note :text
# noteable_type :string(255) # noteable_type :string(255)
# author_id :integer # author_id :integer
# created_at :datetime # created_at :datetime not null
# updated_at :datetime # updated_at :datetime not null
# project_id :integer # project_id :integer
# attachment :string(255) # attachment :string(255)
# line_code :string(255) # line_code :string(255)
# commit_id :string(255) # commit_id :string(255)
# noteable_id :integer # noteable_id :integer
# st_diff :text
# #
require 'spec_helper' require 'spec_helper'
......
...@@ -4,11 +4,11 @@ ...@@ -4,11 +4,11 @@
# #
# id :integer not null, primary key # id :integer not null, primary key
# title :string(255) # title :string(255)
# content :text # content :text(2147483647)
# author_id :integer not null # author_id :integer not null
# project_id :integer # project_id :integer
# created_at :datetime # created_at :datetime not null
# updated_at :datetime # updated_at :datetime not null
# file_name :string(255) # file_name :string(255)
# expires_at :datetime # expires_at :datetime
# private :boolean default(TRUE), not null # private :boolean default(TRUE), not null
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
# name :string(255) # name :string(255)
# path :string(255) # path :string(255)
# description :text # description :text
# created_at :datetime # created_at :datetime not null
# updated_at :datetime # updated_at :datetime not null
# 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
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
# snippets_enabled :boolean default(TRUE), not null # snippets_enabled :boolean default(TRUE), not null
# last_activity_at :datetime # last_activity_at :datetime
# imported :boolean default(FALSE), not null # imported :boolean default(FALSE), not null
# import_url :string(255)
# #
require 'spec_helper' require 'spec_helper'
......
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
# id :integer not null, primary key # id :integer not null, primary key
# url :string(255) # url :string(255)
# project_id :integer # project_id :integer
# created_at :datetime # created_at :datetime not null
# updated_at :datetime # updated_at :datetime not null
# type :string(255) default("ProjectHook") # type :string(255) default("ProjectHook")
# service_id :integer # service_id :integer
# #
......
...@@ -4,11 +4,11 @@ ...@@ -4,11 +4,11 @@
# #
# id :integer not null, primary key # id :integer not null, primary key
# title :string(255) # title :string(255)
# content :text # content :text(2147483647)
# author_id :integer not null # author_id :integer not null
# project_id :integer # project_id :integer
# created_at :datetime # created_at :datetime not null
# updated_at :datetime # updated_at :datetime not null
# file_name :string(255) # file_name :string(255)
# expires_at :datetime # expires_at :datetime
# private :boolean default(TRUE), not null # private :boolean default(TRUE), not null
......
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
# id :integer not null, primary key # id :integer not null, primary key
# url :string(255) # url :string(255)
# project_id :integer # project_id :integer
# created_at :datetime # created_at :datetime not null
# updated_at :datetime # updated_at :datetime not null
# type :string(255) default("ProjectHook") # type :string(255) default("ProjectHook")
# service_id :integer # service_id :integer
# #
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
# #
# id :integer not null, primary key # id :integer not null, primary key
# email :string(255) default(""), not null # email :string(255) default(""), not null
# encrypted_password :string(128) default(""), not null # encrypted_password :string(255) default(""), not null
# reset_password_token :string(255) # reset_password_token :string(255)
# reset_password_sent_at :datetime # reset_password_sent_at :datetime
# remember_created_at :datetime # remember_created_at :datetime
...@@ -13,8 +13,8 @@ ...@@ -13,8 +13,8 @@
# last_sign_in_at :datetime # last_sign_in_at :datetime
# current_sign_in_ip :string(255) # current_sign_in_ip :string(255)
# last_sign_in_ip :string(255) # last_sign_in_ip :string(255)
# created_at :datetime # created_at :datetime not null
# updated_at :datetime # updated_at :datetime not null
# name :string(255) # name :string(255)
# admin :boolean default(FALSE), not null # admin :boolean default(FALSE), not null
# projects_limit :integer default(10) # projects_limit :integer default(10)
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
# user_id :integer not null # user_id :integer not null
# created_at :datetime not null # created_at :datetime not null
# updated_at :datetime not null # updated_at :datetime not null
# notification_level :integer default(3), not null
# #
require 'spec_helper' require 'spec_helper'
......
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
# id :integer not null, primary key # id :integer not null, primary key
# user_id :integer not null # user_id :integer not null
# project_id :integer not null # project_id :integer not null
# created_at :datetime # created_at :datetime not null
# updated_at :datetime # updated_at :datetime not null
# project_access :integer default(0), not null # project_access :integer default(0), not null
# notification_level :integer default(3), not null # notification_level :integer default(3), not null
# #
......
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
# id :integer not null, primary key # id :integer not null, primary key
# url :string(255) # url :string(255)
# project_id :integer # project_id :integer
# created_at :datetime # created_at :datetime not null
# updated_at :datetime # updated_at :datetime not null
# type :string(255) default("ProjectHook") # type :string(255) default("ProjectHook")
# service_id :integer # service_id :integer
# #
......
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