Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kazuhiko Shiozaki
gitlab-ce
Commits
e0635297
Commit
e0635297
authored
Aug 04, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
st_diff field for Note
parent
b99f357e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
db/migrate/20130804151314_add_st_diff_to_note.rb
db/migrate/20130804151314_add_st_diff_to_note.rb
+5
-0
db/schema.rb
db/schema.rb
+2
-1
No files found.
db/migrate/20130804151314_add_st_diff_to_note.rb
0 → 100644
View file @
e0635297
class
AddStDiffToNote
<
ActiveRecord
::
Migration
def
change
add_column
:notes
,
:st_diff
,
:text
,
:null
=>
true
end
end
db/schema.rb
View file @
e0635297
...
@@ -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
=>
20130
624162710
)
do
ActiveRecord
::
Schema
.
define
(
:version
=>
20130
804151314
)
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"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment