From 36a2f1f3c085dd81171cf7d8220770d4ff921ab3 Mon Sep 17 00:00:00 2001 From: hukl Date: Sat, 7 Feb 2009 15:50:40 +0100 Subject: added globalize2 plugin as well as some modifications which use the new translation facilities. backend mostly. --- db/migrate/20090207133449_add_page_translation_table.rb | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 db/migrate/20090207133449_add_page_translation_table.rb (limited to 'db') diff --git a/db/migrate/20090207133449_add_page_translation_table.rb b/db/migrate/20090207133449_add_page_translation_table.rb new file mode 100644 index 0000000..50c65e1 --- /dev/null +++ b/db/migrate/20090207133449_add_page_translation_table.rb @@ -0,0 +1,8 @@ +class AddPageTranslationTable < ActiveRecord::Migration + def self.up + Page.create_translation_table! :title => :string, :abstract => :text, :body => :text + end + def self.down + Page.drop_translation_table! + end +end -- cgit v1.3