forked from bofh/fetsite
fix translate_studien
This commit is contained in:
@@ -4,14 +4,13 @@ class TranslateStudien < ActiveRecord::Migration
|
||||
:desc => :text,
|
||||
:shortdesc => :text
|
||||
}, {
|
||||
#:migrate_data => true
|
||||
:migrate_data => true
|
||||
})
|
||||
add_column :studium_translations, :studien_id, :integer
|
||||
remove_column :studium_translations, :studium_id
|
||||
|
||||
|
||||
end
|
||||
|
||||
def self.down
|
||||
Studium.drop_translation_table! #:migrate_data => true
|
||||
Studium.drop_translation_table! :migrate_data => true
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user