remove unused youtube_titles from comments and posts
This commit is contained in:
parent
fd540aacc9
commit
41c3698ebf
1 changed files with 11 additions and 0 deletions
11
db/migrate/20120301143226_remove_youtube_titles.rb
Normal file
11
db/migrate/20120301143226_remove_youtube_titles.rb
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
class RemoveYoutubeTitles < ActiveRecord::Migration
|
||||
def self.up
|
||||
remove_column :comments, :youtube_titles
|
||||
remove_column :posts, :youtube_titles
|
||||
end
|
||||
|
||||
def self.down
|
||||
add_column :comments, :youtube_titles, :text
|
||||
add_column :posts, :youtube_titles, :text
|
||||
end
|
||||
end
|
||||
Loading…
Reference in a new issue