Commit 41e53eb9 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Annotated

parent dc33f71b
......@@ -163,3 +163,4 @@ def action_name
# action :integer
# author_id :integer
#
......@@ -34,3 +34,4 @@ def users
# created_at :datetime not null
# updated_at :datetime not null
#
......@@ -49,3 +49,4 @@ def is_being_reopened?
# description :text
# milestone_id :integer
#
......@@ -81,3 +81,4 @@ def last_deploy?
# identifier :string(255)
# project_id :integer
#
......@@ -202,8 +202,9 @@ def to_raw
# closed :boolean default(FALSE), not null
# created_at :datetime not null
# updated_at :datetime not null
# st_commits :text(2147483647
# st_diffs :text(2147483647
# st_commits :text(4294967295
# st_diffs :text(4294967295
# merged :boolean default(FALSE), not null
# state :integer default(1), not null
#
......@@ -39,3 +39,4 @@ def expires_at
# created_at :datetime not null
# updated_at :datetime not null
#
......@@ -118,3 +118,4 @@ def downvote?
# attachment :string(255)
# line_code :string(255)
#
......@@ -13,3 +13,4 @@ class ProjectHook < WebHook
# updated_at :datetime not null
# type :string(255) default("ProjectHook")
#
......@@ -29,3 +29,4 @@ def commit
# created_at :datetime not null
# updated_at :datetime not null
#
......@@ -63,3 +63,4 @@ def expired?
# file_name :string(255)
# expires_at :datetime
#
......@@ -21,3 +21,4 @@ def async_execute(data)
# updated_at :datetime not null
# type :string(255) default("ProjectHook")
#
......@@ -113,3 +113,4 @@ def generate_password
# extern_uid :string(255)
# provider :string(255)
#
......@@ -102,3 +102,4 @@ def repo_access_human
# updated_at :datetime not null
# project_access :integer default(0), not null
#
......@@ -34,3 +34,4 @@ def execute(data)
# updated_at :datetime not null
# type :string(255) default("ProjectHook")
#
......@@ -46,3 +46,4 @@ def set_slug
# slug :string(255)
# user_id :integer
#
# == 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'
describe Event do
......
# == 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'
describe Issue do
......
# == 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'
describe Key do
......
# == 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'
describe MergeRequest do
......
# == 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'
describe Milestone do
......
# == 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'
describe Note do
......
# == 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'
describe ProtectedBranch do
......
# == 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'
describe Snippet do
......
# == 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"
describe SystemHook do
......
# == 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'
describe User do
......
# == 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'
describe UsersProject do
......
# == 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'
describe ProjectHook do
......
# == 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'
describe Wiki do
......
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