Remove migration code that is no longer valid.

This commit is contained in:
Guo Xiang Tan 2018-06-07 08:57:01 +08:00
parent cb9596e196
commit 78c705f5de
1 changed files with 0 additions and 6 deletions

View File

@ -2,12 +2,6 @@ class BioMarkdownSupport < ActiveRecord::Migration[4.2]
def up
rename_column :users, :bio, :bio_raw
add_column :users, :bio_cooked, :text, null: true
User.where("bio_raw is NOT NULL").each do |u|
u.send(:cook)
u.save
end
end
def down