projects
/
rails.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add rails version number to migrations
[rails.git]
/
db
/
migrate
/
055_change_map_bug_comment_type.rb
1
require "migrate"
2
3
class ChangeMapBugCommentType < ActiveRecord::Migration[5.0]
4
def self.up
5
change_column :map_bug_comment, :comment, :text
6
end
7
8
def self.down
9
change_column :map_bug_comment, :comment, :string
10
end
11
end