Commit e0635297 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

st_diff field for Note

parent b99f357e
class AddStDiffToNote < ActiveRecord::Migration
def change
add_column :notes, :st_diff, :text, :null => true
end
end
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
# #
# It's strongly recommended to check this file into your version control system. # It's strongly recommended to check this file into your version control system.
ActiveRecord::Schema.define(:version => 20130624162710) do ActiveRecord::Schema.define(:version => 20130804151314) do
create_table "deploy_keys_projects", :force => true do |t| create_table "deploy_keys_projects", :force => true do |t|
t.integer "deploy_key_id", :null => false t.integer "deploy_key_id", :null => false
...@@ -147,6 +147,7 @@ ActiveRecord::Schema.define(:version => 20130624162710) do ...@@ -147,6 +147,7 @@ ActiveRecord::Schema.define(:version => 20130624162710) do
t.string "line_code" t.string "line_code"
t.string "commit_id" t.string "commit_id"
t.integer "noteable_id" t.integer "noteable_id"
t.text "st_diff"
end end
add_index "notes", ["author_id"], :name => "index_notes_on_author_id" add_index "notes", ["author_id"], :name => "index_notes_on_author_id"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment