Update schema info comment on todo related files
This commit is contained in:
parent
fb72271e24
commit
a5bad46505
3 changed files with 9 additions and 6 deletions
|
@ -5,14 +5,15 @@
|
||||||
# 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
|
||||||
# target_id :integer not null
|
# target_id :integer
|
||||||
# target_type :string not null
|
# target_type :string not null
|
||||||
# author_id :integer
|
# author_id :integer
|
||||||
# note_id :integer
|
|
||||||
# action :integer not null
|
# action :integer not null
|
||||||
# state :string not null
|
# state :string not null
|
||||||
# created_at :datetime
|
# created_at :datetime
|
||||||
# updated_at :datetime
|
# updated_at :datetime
|
||||||
|
# note_id :integer
|
||||||
|
# commit_id :string
|
||||||
#
|
#
|
||||||
|
|
||||||
class Todo < ActiveRecord::Base
|
class Todo < ActiveRecord::Base
|
||||||
|
|
|
@ -5,14 +5,15 @@
|
||||||
# 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
|
||||||
# target_id :integer not null
|
# target_id :integer
|
||||||
# target_type :string not null
|
# target_type :string not null
|
||||||
# author_id :integer
|
# author_id :integer
|
||||||
# note_id :integer
|
|
||||||
# action :integer not null
|
# action :integer not null
|
||||||
# state :string not null
|
# state :string not null
|
||||||
# created_at :datetime
|
# created_at :datetime
|
||||||
# updated_at :datetime
|
# updated_at :datetime
|
||||||
|
# note_id :integer
|
||||||
|
# commit_id :string
|
||||||
#
|
#
|
||||||
|
|
||||||
FactoryGirl.define do
|
FactoryGirl.define do
|
||||||
|
|
|
@ -5,14 +5,15 @@
|
||||||
# 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
|
||||||
# target_id :integer not null
|
# target_id :integer
|
||||||
# target_type :string not null
|
# target_type :string not null
|
||||||
# author_id :integer
|
# author_id :integer
|
||||||
# note_id :integer
|
|
||||||
# action :integer not null
|
# action :integer not null
|
||||||
# state :string not null
|
# state :string not null
|
||||||
# created_at :datetime
|
# created_at :datetime
|
||||||
# updated_at :datetime
|
# updated_at :datetime
|
||||||
|
# note_id :integer
|
||||||
|
# commit_id :string
|
||||||
#
|
#
|
||||||
|
|
||||||
require 'spec_helper'
|
require 'spec_helper'
|
||||||
|
|
Loading…
Reference in a new issue