Annotated

This commit is contained in:
Dmitriy Zaporozhets 2012-10-09 11:14:17 +03:00
parent dc33f71b18
commit 41e53eb980
28 changed files with 225 additions and 2 deletions

View file

@ -163,3 +163,4 @@ end
# action :integer
# author_id :integer
#

View file

@ -34,3 +34,4 @@ end
# created_at :datetime not null
# updated_at :datetime not null
#

View file

@ -49,3 +49,4 @@ end
# description :text
# milestone_id :integer
#

View file

@ -81,3 +81,4 @@ end
# identifier :string(255)
# project_id :integer
#

View file

@ -202,8 +202,9 @@ end
# 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
#

View file

@ -39,3 +39,4 @@ end
# created_at :datetime not null
# updated_at :datetime not null
#

View file

@ -118,3 +118,4 @@ end
# attachment :string(255)
# line_code :string(255)
#

View file

@ -13,3 +13,4 @@ end
# updated_at :datetime not null
# type :string(255) default("ProjectHook")
#

View file

@ -29,3 +29,4 @@ end
# created_at :datetime not null
# updated_at :datetime not null
#

View file

@ -63,3 +63,4 @@ end
# file_name :string(255)
# expires_at :datetime
#

View file

@ -21,3 +21,4 @@ end
# updated_at :datetime not null
# type :string(255) default("ProjectHook")
#

View file

@ -113,3 +113,4 @@ end
# extern_uid :string(255)
# provider :string(255)
#

View file

@ -102,3 +102,4 @@ end
# updated_at :datetime not null
# project_access :integer default(0), not null
#

View file

@ -34,3 +34,4 @@ end
# updated_at :datetime not null
# type :string(255) default("ProjectHook")
#

View file

@ -46,3 +46,4 @@ end
# slug :string(255)
# user_id :integer
#

View file

@ -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'
describe Event do

View file

@ -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'
describe Issue do

View file

@ -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'
describe Key do

View file

@ -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'
describe MergeRequest do

View file

@ -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'
describe Milestone do

View file

@ -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'
describe Note do

View file

@ -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'
describe ProtectedBranch do

View file

@ -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'
describe Snippet do

View file

@ -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"
describe SystemHook do

View file

@ -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'
describe User do

View file

@ -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'
describe UsersProject do

View file

@ -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'
describe ProjectHook do

View file

@ -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'
describe Wiki do