forked from bofh/fetsite
GitHub Account angelegt
This commit is contained in:
15
db/migrate/20130124000100_translate_modulgruppen.rb
Normal file
15
db/migrate/20130124000100_translate_modulgruppen.rb
Normal file
@@ -0,0 +1,15 @@
|
||||
class TranslateModulgruppen < ActiveRecord::Migration
|
||||
def self.up
|
||||
Modulgruppe.create_translation_table!({
|
||||
:desc => :text,
|
||||
:name => :string
|
||||
}, {
|
||||
:migrate_data => true
|
||||
})
|
||||
|
||||
end
|
||||
|
||||
def self.down
|
||||
Modulgruppe.drop_translation_table! :migrate_data => true
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user