Commit 818836e54fac2cabd1599bdefdf10a9b0e2dd739

updated model files: project_id

Commit diff

app/models/comment.rb

 
99# body :text
1010# created_at :datetime
1111# updated_at :datetime
12# project_id :integer
1213#
1314
1415class Comment < ActiveRecord::Base
toggle raw diff

db/development_structure.sql

 
3232 sha1 character varying(255) NOT NULL,
3333 body text,
3434 created_at timestamp without time zone,
35 updated_at timestamp without time zone
35 updated_at timestamp without time zone,
36 project_id integer
3637);
3738
3839
479479
480480
481481--
482-- Name: index_comments_on_project_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
483--
484
485CREATE INDEX index_comments_on_project_id ON comments USING btree (project_id);
486
487
488--
482489-- Name: index_comments_on_repository_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
483490--
484491
636636-- PostgreSQL database dump complete
637637--
638638
639INSERT INTO schema_info (version) VALUES (19)
639INSERT INTO schema_info (version) VALUES (20)
toggle raw diff

spec/fixtures/comments.yml

 
99# body :text
1010# created_at :datetime
1111# updated_at :datetime
12# project_id :integer
1213#
1314
1415# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
toggle raw diff