aboutsummaryrefslogtreecommitdiffstats
path: root/db/migrate/20110803223526_add_cached_slugs.rb
diff options
context:
space:
mode:
authorPhilip Arndt <p@arndt.io>2013-07-14 04:37:18 +1200
committerPhilip Arndt <p@arndt.io>2013-07-14 04:40:18 +1200
commit49c38f208b8a05cee49400ffababc49dfc431daa (patch)
treec334aacead57bd50efa4d473be2e189cd8bcdfb0 /db/migrate/20110803223526_add_cached_slugs.rb
parent6c14fbc20c8dece121b7569b7a5a0bd3c497fd57 (diff)
downloadrefinerycms-blog-49c38f208b8a05cee49400ffababc49dfc431daa.tar.gz
refinerycms-blog-49c38f208b8a05cee49400ffababc49dfc431daa.tar.bz2
refinerycms-blog-49c38f208b8a05cee49400ffababc49dfc431daa.zip
Revert f906ef0 but maintain table name improvements
Diffstat (limited to 'db/migrate/20110803223526_add_cached_slugs.rb')
-rw-r--r--db/migrate/20110803223526_add_cached_slugs.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/db/migrate/20110803223526_add_cached_slugs.rb b/db/migrate/20110803223526_add_cached_slugs.rb
new file mode 100644
index 0000000..389f83e
--- /dev/null
+++ b/db/migrate/20110803223526_add_cached_slugs.rb
@@ -0,0 +1,6 @@
+class AddCachedSlugs < ActiveRecord::Migration
+ def change
+ add_column :refinery_blog_categories, :cached_slug, :string
+ add_column :refinery_blog_posts, :cached_slug, :string
+ end
+end