Commit 604ed17ab1949098672306f0fd9f536ec1d4b696
1 parent
0cc411fc
Exists in
master
and in
28 other branches
fixing typo in DB column type
(ActionItem894)
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
db/migrate/20101205034144_add_language_and_translation_of_id_to_article.rb
| 1 | class AddLanguageAndTranslationOfIdToArticle < ActiveRecord::Migration | 1 | class AddLanguageAndTranslationOfIdToArticle < ActiveRecord::Migration |
| 2 | def self.up | 2 | def self.up |
| 3 | - add_column :articles, :translation_of_id, :interger | 3 | + add_column :articles, :translation_of_id, :integer |
| 4 | add_column :articles, :language, :string | 4 | add_column :articles, :language, :string |
| 5 | 5 | ||
| 6 | - add_column :article_versions, :translation_of_id, :interger | 6 | + add_column :article_versions, :translation_of_id, :integer |
| 7 | add_column :article_versions, :language, :string | 7 | add_column :article_versions, :language, :string |
| 8 | 8 | ||
| 9 | add_index :articles, :translation_of_id | 9 | add_index :articles, :translation_of_id |