diff options
author | Jamie Winsor <jamie@enmasse.com> | 2011-10-28 13:17:48 -0700 |
---|---|---|
committer | Jamie Winsor <jamie@enmasse.com> | 2011-10-28 13:17:48 -0700 |
commit | c2a0ef9f4196fb19da7e168fb2cfb6999ab4e9ff (patch) | |
tree | 91cdc020787117c1641431163854c30cbe9999e7 /db/migrate | |
parent | 4ab9eccdee10b1f0612822d92d23a925b9c84535 (diff) | |
parent | fd7ce5e692989e5fe76722291caffb4211fd0517 (diff) | |
download | refinerycms-blog-c2a0ef9f4196fb19da7e168fb2cfb6999ab4e9ff.tar.gz refinerycms-blog-c2a0ef9f4196fb19da7e168fb2cfb6999ab4e9ff.tar.bz2 refinerycms-blog-c2a0ef9f4196fb19da7e168fb2cfb6999ab4e9ff.zip |
Merge branch 'use-generated-dummy-for-testing' into rails-3-1
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20110803223522_create_blog_structure.rb | 2 | ||||
-rw-r--r-- | db/migrate/20110803223525_create_seo_meta_for_blog.rb | 25 |
2 files changed, 0 insertions, 27 deletions
diff --git a/db/migrate/20110803223522_create_blog_structure.rb b/db/migrate/20110803223522_create_blog_structure.rb index f6f5b2d..ee3fe01 100644 --- a/db/migrate/20110803223522_create_blog_structure.rb +++ b/db/migrate/20110803223522_create_blog_structure.rb @@ -36,8 +36,6 @@ class CreateBlogStructure < ActiveRecord::Migration end add_index Refinery::Categorization.table_name, [:blog_category_id, :blog_post_id], :name => 'index_blog_categories_blog_posts_on_bc_and_bp' - - load(File.expand_path('../../seeds/refinerycms_blog.rb', __FILE__)) end def down diff --git a/db/migrate/20110803223525_create_seo_meta_for_blog.rb b/db/migrate/20110803223525_create_seo_meta_for_blog.rb deleted file mode 100644 index b1c3c31..0000000 --- a/db/migrate/20110803223525_create_seo_meta_for_blog.rb +++ /dev/null @@ -1,25 +0,0 @@ -class CreateSeoMetaForBlog < ActiveRecord::Migration - - def up - unless ::SeoMetum.table_exists? - create_table ::SeoMetum.table_name do |t| - t.integer :seo_meta_id - t.string :seo_meta_type - - t.string :browser_title - t.string :meta_keywords - t.text :meta_description - - t.timestamps - end - - add_index ::SeoMetum.table_name, :id - add_index ::SeoMetum.table_name, [:seo_meta_id, :seo_meta_type] - end - end - - def down - # can't drop the table because someone else might be using it. - end - -end |