spec/data/schema.rb in simple_model_translations-0.1.7 vs spec/data/schema.rb in simple_model_translations-0.1.8

- old
+ new

@@ -30,15 +30,20 @@ t.string :locale t.references :tag t.string :name end - create_table :categories, :force => true do |t| - end - + create_table :categories, :force => true create_table :category_translations, :force => true do |t| t.string :locale t.references :category + t.string :name + end + + create_table :some_models, :force => true + create_table :some_model_translations, :force => true do |t| + t.string :locale + t.references :some_models t.string :name end end