class CreateDefaultBlog < ActiveRecord::Migration
  def self.up
    @blog = Spree::Blog.create(:name => "Blog", :permalink => "blog")
    Spree::Post.update_all(:blog_id => @blog.id)
  end

  def self.down
  end
end

class CreateDefaultBlog < ActiveRecord::Migration
  def self.up
    @blog = Spree::Blog.create(name: "Blog", permalink: "blog")
    Spree::Post.update_all(blog_id: @blog.id)
  end

  def self.down
  end
end

Fix reg expression to use spree enabled attributes
Fix reg expression to use spree enabled attributes

Signed-off-by: Nathan Lowrie <4f3407de78bccc8cc160ee4d278d5efe7162e6b5@finelineautomation.com>
