optional git fuer globalize3 keine Auswirkung

This commit is contained in:
Andreas Stephanides
2013-08-18 20:47:51 +02:00
parent eb13e18fb3
commit 39b381f58e
2 changed files with 19 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
class TranslateNeuigkeiten < ActiveRecord::Migration
def self.up
Neuigkeit.create_translation_table!({
:title => :string,
:text => :text
}, {
:migrate_data => true
})
end
def self.down
Neuigkeit.drop_translation_table! :migrate_data => true
end
end