spec/schema.rb in person-name-0.2.3 vs spec/schema.rb in person-name-0.2.4
- old
+ new
@@ -1,16 +1,16 @@
ActiveRecord::Schema.define :version => 0 do
create_table "people", :force => true do |t|
- PersonName::MigrationSupport.add_name_columns(t, :name)
+ t.person_name :name
end
create_table "person_without_names", :force => true do |t|
t.boolean :female
end
create_table "name_people", :force => true do |t|
- PersonName::MigrationSupport.add_name_columns(t, :name)
- PersonName::MigrationSupport.add_name_columns(t, :birth_name)
+ t.person_name :name
+ t.person_name :birth_name
t.boolean :female
end
end