20160115185550_rename_video_block.rb 222 Bytes
class RenameVideoBlock < ActiveRecord::Migration
  def up
    execute("UPDATE blocks SET type = 'VideoPlugin::VideoBlock' WHERE type = 'VideoBlock'")
  end

  def down
    say "this migration can't be reverted"
  end
end