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
Léo-Paul Géneau
gitlab-ce
Commits
f4e7ad7a
Commit
f4e7ad7a
authored
Oct 27, 2011
by
gitlabhq
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed limit
parent
9611a27e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
db/migrate/20111027142641_change_note_note_to_text.rb
db/migrate/20111027142641_change_note_note_to_text.rb
+1
-1
db/schema.rb
db/schema.rb
+1
-1
No files found.
db/migrate/20111027142641_change_note_note_to_text.rb
View file @
f4e7ad7a
class
ChangeNoteNoteToText
<
ActiveRecord
::
Migration
def
up
change_column
:notes
,
:note
,
:text
change_column
:notes
,
:note
,
:text
,
:limit
=>
false
end
def
down
...
...
db/schema.rb
View file @
f4e7ad7a
...
...
@@ -36,7 +36,7 @@ ActiveRecord::Schema.define(:version => 20111027142641) do
end
create_table
"notes"
,
:force
=>
true
do
|
t
|
t
.
text
"note"
,
:limit
=>
255
t
.
text
"note"
t
.
string
"noteable_id"
t
.
string
"noteable_type"
t
.
integer
"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