Commit fc36df92da61ff11def791023f894da0c8fec0b2
1 parent
9b6c9fe2
Exists in
master
and in
4 other branches
sql for mysql compatible
Showing
3 changed files
with
2 additions
and
13 deletions
Show diff stats
Gemfile.lock
app/models/project.rb
... | ... | @@ -171,7 +171,7 @@ class Project < ActiveRecord::Base |
171 | 171 | end |
172 | 172 | |
173 | 173 | def commit_line_notes(commit) |
174 | - notes.where(:noteable_id => commit.id, :noteable_type => "Commit").where("line_code not null") | |
174 | + notes.where(:noteable_id => commit.id, :noteable_type => "Commit").where("line_code is not null") | |
175 | 175 | end |
176 | 176 | |
177 | 177 | def has_commits? | ... | ... |
db/schema.rb
... | ... | @@ -13,18 +13,6 @@ |
13 | 13 | |
14 | 14 | ActiveRecord::Schema.define(:version => 20120110180749) do |
15 | 15 | |
16 | - create_table "features", :force => true do |t| | |
17 | - t.string "name" | |
18 | - t.string "branch_name" | |
19 | - t.integer "assignee_id" | |
20 | - t.integer "author_id" | |
21 | - t.integer "project_id" | |
22 | - t.datetime "created_at" | |
23 | - t.datetime "updated_at" | |
24 | - t.string "version" | |
25 | - t.integer "status", :default => 0, :null => false | |
26 | - end | |
27 | - | |
28 | 16 | create_table "issues", :force => true do |t| |
29 | 17 | t.string "title" |
30 | 18 | t.integer "assignee_id" | ... | ... |