Commit e06352979de1a3344d0ab34c5f0ecf7ed73da66f

Authored by Dmitriy Zaporozhets
1 parent b99f357e

st_diff field for Note

db/migrate/20130804151314_add_st_diff_to_note.rb 0 → 100644
... ... @@ -0,0 +1,5 @@
  1 +class AddStDiffToNote < ActiveRecord::Migration
  2 + def change
  3 + add_column :notes, :st_diff, :text, :null => true
  4 + end
  5 +end
... ...
db/schema.rb
... ... @@ -11,7 +11,7 @@
11 11 #
12 12 # It's strongly recommended to check this file into your version control system.
13 13  
14   -ActiveRecord::Schema.define(:version => 20130624162710) do
  14 +ActiveRecord::Schema.define(:version => 20130804151314) do
15 15  
16 16 create_table "deploy_keys_projects", :force => true do |t|
17 17 t.integer "deploy_key_id", :null => false
... ... @@ -147,6 +147,7 @@ ActiveRecord::Schema.define(:version =&gt; 20130624162710) do
147 147 t.string "line_code"
148 148 t.string "commit_id"
149 149 t.integer "noteable_id"
  150 + t.text "st_diff"
150 151 end
151 152  
152 153 add_index "notes", ["author_id"], :name => "index_notes_on_author_id"
... ...