Annotated
This commit is contained in:
parent
dc33f71b18
commit
41e53eb980
|
@ -163,3 +163,4 @@ end
|
||||||
# action :integer
|
# action :integer
|
||||||
# author_id :integer
|
# author_id :integer
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
|
@ -34,3 +34,4 @@ end
|
||||||
# created_at :datetime not null
|
# created_at :datetime not null
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime not null
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
|
@ -49,3 +49,4 @@ end
|
||||||
# description :text
|
# description :text
|
||||||
# milestone_id :integer
|
# milestone_id :integer
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
|
@ -81,3 +81,4 @@ end
|
||||||
# identifier :string(255)
|
# identifier :string(255)
|
||||||
# project_id :integer
|
# project_id :integer
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
|
@ -202,8 +202,9 @@ end
|
||||||
# closed :boolean default(FALSE), not null
|
# 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(4294967295
|
||||||
# st_diffs :text(2147483647
|
# st_diffs :text(4294967295
|
||||||
# merged :boolean default(FALSE), not null
|
# merged :boolean default(FALSE), not null
|
||||||
# state :integer default(1), not null
|
# state :integer default(1), not null
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
|
@ -39,3 +39,4 @@ end
|
||||||
# created_at :datetime not null
|
# created_at :datetime not null
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime not null
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
|
@ -118,3 +118,4 @@ end
|
||||||
# attachment :string(255)
|
# attachment :string(255)
|
||||||
# line_code :string(255)
|
# line_code :string(255)
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
|
@ -13,3 +13,4 @@ end
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime not null
|
||||||
# type :string(255) default("ProjectHook")
|
# type :string(255) default("ProjectHook")
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
|
@ -29,3 +29,4 @@ end
|
||||||
# created_at :datetime not null
|
# created_at :datetime not null
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime not null
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
|
@ -63,3 +63,4 @@ end
|
||||||
# file_name :string(255)
|
# file_name :string(255)
|
||||||
# expires_at :datetime
|
# expires_at :datetime
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
|
@ -21,3 +21,4 @@ end
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime not null
|
||||||
# type :string(255) default("ProjectHook")
|
# type :string(255) default("ProjectHook")
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
|
@ -113,3 +113,4 @@ end
|
||||||
# extern_uid :string(255)
|
# extern_uid :string(255)
|
||||||
# provider :string(255)
|
# provider :string(255)
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
|
@ -102,3 +102,4 @@ end
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime not null
|
||||||
# project_access :integer default(0), not null
|
# project_access :integer default(0), not null
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
|
@ -34,3 +34,4 @@ end
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime not null
|
||||||
# type :string(255) default("ProjectHook")
|
# type :string(255) default("ProjectHook")
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
|
@ -46,3 +46,4 @@ end
|
||||||
# slug :string(255)
|
# slug :string(255)
|
||||||
# user_id :integer
|
# user_id :integer
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,19 @@
|
||||||
|
# == Schema Information
|
||||||
|
#
|
||||||
|
# Table name: events
|
||||||
|
#
|
||||||
|
# id :integer not null, primary key
|
||||||
|
# target_type :string(255)
|
||||||
|
# target_id :integer
|
||||||
|
# title :string(255)
|
||||||
|
# data :text
|
||||||
|
# project_id :integer
|
||||||
|
# created_at :datetime not null
|
||||||
|
# updated_at :datetime not null
|
||||||
|
# action :integer
|
||||||
|
# author_id :integer
|
||||||
|
#
|
||||||
|
|
||||||
require 'spec_helper'
|
require 'spec_helper'
|
||||||
|
|
||||||
describe Event do
|
describe Event do
|
||||||
|
|
|
@ -1,3 +1,21 @@
|
||||||
|
# == Schema Information
|
||||||
|
#
|
||||||
|
# Table name: issues
|
||||||
|
#
|
||||||
|
# id :integer not null, primary key
|
||||||
|
# title :string(255)
|
||||||
|
# assignee_id :integer
|
||||||
|
# author_id :integer
|
||||||
|
# project_id :integer
|
||||||
|
# created_at :datetime not null
|
||||||
|
# updated_at :datetime not null
|
||||||
|
# closed :boolean default(FALSE), not null
|
||||||
|
# position :integer default(0)
|
||||||
|
# branch_name :string(255)
|
||||||
|
# description :text
|
||||||
|
# milestone_id :integer
|
||||||
|
#
|
||||||
|
|
||||||
require 'spec_helper'
|
require 'spec_helper'
|
||||||
|
|
||||||
describe Issue do
|
describe Issue do
|
||||||
|
|
|
@ -1,3 +1,17 @@
|
||||||
|
# == Schema Information
|
||||||
|
#
|
||||||
|
# Table name: keys
|
||||||
|
#
|
||||||
|
# id :integer not null, primary key
|
||||||
|
# user_id :integer
|
||||||
|
# created_at :datetime not null
|
||||||
|
# updated_at :datetime not null
|
||||||
|
# key :text
|
||||||
|
# title :string(255)
|
||||||
|
# identifier :string(255)
|
||||||
|
# project_id :integer
|
||||||
|
#
|
||||||
|
|
||||||
require 'spec_helper'
|
require 'spec_helper'
|
||||||
|
|
||||||
describe Key do
|
describe Key do
|
||||||
|
|
|
@ -1,3 +1,23 @@
|
||||||
|
# == Schema Information
|
||||||
|
#
|
||||||
|
# Table name: merge_requests
|
||||||
|
#
|
||||||
|
# id :integer not null, primary key
|
||||||
|
# target_branch :string(255) not null
|
||||||
|
# source_branch :string(255) not null
|
||||||
|
# project_id :integer not null
|
||||||
|
# author_id :integer
|
||||||
|
# assignee_id :integer
|
||||||
|
# title :string(255)
|
||||||
|
# closed :boolean default(FALSE), not null
|
||||||
|
# created_at :datetime not null
|
||||||
|
# updated_at :datetime not null
|
||||||
|
# st_commits :text(4294967295
|
||||||
|
# st_diffs :text(4294967295
|
||||||
|
# merged :boolean default(FALSE), not null
|
||||||
|
# state :integer default(1), not null
|
||||||
|
#
|
||||||
|
|
||||||
require 'spec_helper'
|
require 'spec_helper'
|
||||||
|
|
||||||
describe MergeRequest do
|
describe MergeRequest do
|
||||||
|
|
|
@ -1,3 +1,17 @@
|
||||||
|
# == Schema Information
|
||||||
|
#
|
||||||
|
# Table name: milestones
|
||||||
|
#
|
||||||
|
# id :integer not null, primary key
|
||||||
|
# title :string(255) not null
|
||||||
|
# project_id :integer not null
|
||||||
|
# description :text
|
||||||
|
# due_date :date
|
||||||
|
# closed :boolean default(FALSE), not null
|
||||||
|
# created_at :datetime not null
|
||||||
|
# updated_at :datetime not null
|
||||||
|
#
|
||||||
|
|
||||||
require 'spec_helper'
|
require 'spec_helper'
|
||||||
|
|
||||||
describe Milestone do
|
describe Milestone do
|
||||||
|
|
|
@ -1,3 +1,19 @@
|
||||||
|
# == Schema Information
|
||||||
|
#
|
||||||
|
# Table name: notes
|
||||||
|
#
|
||||||
|
# id :integer not null, primary key
|
||||||
|
# note :text
|
||||||
|
# noteable_id :string(255)
|
||||||
|
# noteable_type :string(255)
|
||||||
|
# author_id :integer
|
||||||
|
# created_at :datetime not null
|
||||||
|
# updated_at :datetime not null
|
||||||
|
# project_id :integer
|
||||||
|
# attachment :string(255)
|
||||||
|
# line_code :string(255)
|
||||||
|
#
|
||||||
|
|
||||||
require 'spec_helper'
|
require 'spec_helper'
|
||||||
|
|
||||||
describe Note do
|
describe Note do
|
||||||
|
|
|
@ -1,3 +1,14 @@
|
||||||
|
# == Schema Information
|
||||||
|
#
|
||||||
|
# Table name: protected_branches
|
||||||
|
#
|
||||||
|
# id :integer not null, primary key
|
||||||
|
# project_id :integer not null
|
||||||
|
# name :string(255) not null
|
||||||
|
# created_at :datetime not null
|
||||||
|
# updated_at :datetime not null
|
||||||
|
#
|
||||||
|
|
||||||
require 'spec_helper'
|
require 'spec_helper'
|
||||||
|
|
||||||
describe ProtectedBranch do
|
describe ProtectedBranch do
|
||||||
|
|
|
@ -1,3 +1,18 @@
|
||||||
|
# == Schema Information
|
||||||
|
#
|
||||||
|
# Table name: snippets
|
||||||
|
#
|
||||||
|
# id :integer not null, primary key
|
||||||
|
# title :string(255)
|
||||||
|
# content :text
|
||||||
|
# author_id :integer not null
|
||||||
|
# project_id :integer not null
|
||||||
|
# created_at :datetime not null
|
||||||
|
# updated_at :datetime not null
|
||||||
|
# file_name :string(255)
|
||||||
|
# expires_at :datetime
|
||||||
|
#
|
||||||
|
|
||||||
require 'spec_helper'
|
require 'spec_helper'
|
||||||
|
|
||||||
describe Snippet do
|
describe Snippet do
|
||||||
|
|
|
@ -1,3 +1,15 @@
|
||||||
|
# == Schema Information
|
||||||
|
#
|
||||||
|
# Table name: web_hooks
|
||||||
|
#
|
||||||
|
# id :integer not null, primary key
|
||||||
|
# url :string(255)
|
||||||
|
# project_id :integer
|
||||||
|
# created_at :datetime not null
|
||||||
|
# updated_at :datetime not null
|
||||||
|
# type :string(255) default("ProjectHook")
|
||||||
|
#
|
||||||
|
|
||||||
require "spec_helper"
|
require "spec_helper"
|
||||||
|
|
||||||
describe SystemHook do
|
describe SystemHook do
|
||||||
|
|
|
@ -1,3 +1,37 @@
|
||||||
|
# == Schema Information
|
||||||
|
#
|
||||||
|
# Table name: users
|
||||||
|
#
|
||||||
|
# id :integer not null, primary key
|
||||||
|
# email :string(255) default(""), not null
|
||||||
|
# encrypted_password :string(128) default(""), not null
|
||||||
|
# reset_password_token :string(255)
|
||||||
|
# reset_password_sent_at :datetime
|
||||||
|
# remember_created_at :datetime
|
||||||
|
# sign_in_count :integer default(0)
|
||||||
|
# current_sign_in_at :datetime
|
||||||
|
# last_sign_in_at :datetime
|
||||||
|
# current_sign_in_ip :string(255)
|
||||||
|
# last_sign_in_ip :string(255)
|
||||||
|
# created_at :datetime not null
|
||||||
|
# updated_at :datetime not null
|
||||||
|
# name :string(255)
|
||||||
|
# admin :boolean default(FALSE), not null
|
||||||
|
# projects_limit :integer default(10)
|
||||||
|
# skype :string(255) default(""), not null
|
||||||
|
# linkedin :string(255) default(""), not null
|
||||||
|
# twitter :string(255) default(""), not null
|
||||||
|
# authentication_token :string(255)
|
||||||
|
# dark_scheme :boolean default(FALSE), not null
|
||||||
|
# theme_id :integer default(1), not null
|
||||||
|
# bio :string(255)
|
||||||
|
# blocked :boolean default(FALSE), not null
|
||||||
|
# failed_attempts :integer default(0)
|
||||||
|
# locked_at :datetime
|
||||||
|
# extern_uid :string(255)
|
||||||
|
# provider :string(255)
|
||||||
|
#
|
||||||
|
|
||||||
require 'spec_helper'
|
require 'spec_helper'
|
||||||
|
|
||||||
describe User do
|
describe User do
|
||||||
|
|
|
@ -1,3 +1,15 @@
|
||||||
|
# == Schema Information
|
||||||
|
#
|
||||||
|
# Table name: users_projects
|
||||||
|
#
|
||||||
|
# id :integer not null, primary key
|
||||||
|
# user_id :integer not null
|
||||||
|
# project_id :integer not null
|
||||||
|
# created_at :datetime not null
|
||||||
|
# updated_at :datetime not null
|
||||||
|
# project_access :integer default(0), not null
|
||||||
|
#
|
||||||
|
|
||||||
require 'spec_helper'
|
require 'spec_helper'
|
||||||
|
|
||||||
describe UsersProject do
|
describe UsersProject do
|
||||||
|
|
|
@ -1,3 +1,15 @@
|
||||||
|
# == Schema Information
|
||||||
|
#
|
||||||
|
# Table name: web_hooks
|
||||||
|
#
|
||||||
|
# id :integer not null, primary key
|
||||||
|
# url :string(255)
|
||||||
|
# project_id :integer
|
||||||
|
# created_at :datetime not null
|
||||||
|
# updated_at :datetime not null
|
||||||
|
# type :string(255) default("ProjectHook")
|
||||||
|
#
|
||||||
|
|
||||||
require 'spec_helper'
|
require 'spec_helper'
|
||||||
|
|
||||||
describe ProjectHook do
|
describe ProjectHook do
|
||||||
|
|
|
@ -1,3 +1,17 @@
|
||||||
|
# == Schema Information
|
||||||
|
#
|
||||||
|
# Table name: wikis
|
||||||
|
#
|
||||||
|
# id :integer not null, primary key
|
||||||
|
# title :string(255)
|
||||||
|
# content :text
|
||||||
|
# project_id :integer
|
||||||
|
# created_at :datetime not null
|
||||||
|
# updated_at :datetime not null
|
||||||
|
# slug :string(255)
|
||||||
|
# user_id :integer
|
||||||
|
#
|
||||||
|
|
||||||
require 'spec_helper'
|
require 'spec_helper'
|
||||||
|
|
||||||
describe Wiki do
|
describe Wiki do
|
||||||
|
|
Loading…
Reference in a new issue