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