aboutsummaryrefslogtreecommitdiffstats
path: root/db/migrate
diff options
context:
space:
mode:
authorDries Steenhouwer <steenhouwer.dries@gmail.com>2013-11-29 12:10:00 +0100
committerDries Steenhouwer <steenhouwer.dries@gmail.com>2013-11-29 12:10:00 +0100
commitd769f21dcbb5337d56b6d980a00d70a3e8e007c8 (patch)
treee216db00e98e4ae5eeff780e0c032ec0fbf9bc3c /db/migrate
parent9944242e3486586f397ad4353c32c411b7ef670b (diff)
downloadrefinerycms-pc_banners-d769f21dcbb5337d56b6d980a00d70a3e8e007c8.tar.gz
refinerycms-pc_banners-d769f21dcbb5337d56b6d980a00d70a3e8e007c8.tar.bz2
refinerycms-pc_banners-d769f21dcbb5337d56b6d980a00d70a3e8e007c8.zip
add language support to banners
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/4_add_locale_to_banners.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/4_add_locale_to_banners.rb b/db/migrate/4_add_locale_to_banners.rb
new file mode 100644
index 0000000..11d553c
--- /dev/null
+++ b/db/migrate/4_add_locale_to_banners.rb
@@ -0,0 +1,5 @@
+class AddLocaleToBanners < ActiveRecord::Migration
+ def change
+ add_column :refinery_banners, :locale, :string
+ end
+end \ No newline at end of file