diff options
| author | hukl <hukl@eight.local> | 2009-02-07 15:50:40 +0100 |
|---|---|---|
| committer | hukl <hukl@eight.local> | 2009-02-07 15:50:40 +0100 |
| commit | 36a2f1f3c085dd81171cf7d8220770d4ff921ab3 (patch) | |
| tree | 5ded15331b192bf428af4c94d46d1abb28ef0690 /db | |
| parent | ce9645d0092d42c7bf8781378181ffbd4ff3d088 (diff) | |
added globalize2 plugin as well as some modifications
which use the new translation facilities.
backend mostly.
Diffstat (limited to 'db')
| -rw-r--r-- | db/migrate/20090207133449_add_page_translation_table.rb | 8 |
1 files changed, 8 insertions, 0 deletions
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 @@ | |||
| 1 | class AddPageTranslationTable < ActiveRecord::Migration | ||
| 2 | def self.up | ||
| 3 | Page.create_translation_table! :title => :string, :abstract => :text, :body => :text | ||
| 4 | end | ||
| 5 | def self.down | ||
| 6 | Page.drop_translation_table! | ||
| 7 | end | ||
| 8 | end | ||
