parent
45456a8607
commit
d7a51edc24
|
@ -74,9 +74,8 @@ DB=postgres bundle exec appraisal ar-5.2 rake
|
|||
## Adding new schema
|
||||
|
||||
Edit `spec/dummy_app/db/migrate/20110208155312_set_up_test_tables.rb`. Migration
|
||||
will be performed by `spec_helper.rb`, so you can just run rake as shown above.
|
||||
Also, `spec/dummy_app/db/schema.rb` is deliberately `.gitignore`d, we don't use
|
||||
it.
|
||||
will be performed by `rake`, so you can just run it as shown above. Also,
|
||||
`spec/dummy_app/db/schema.rb` is deliberately `.gitignore`d, we don't use it.
|
||||
|
||||
## Documentation
|
||||
|
||||
|
|
|
@ -7,6 +7,7 @@ recommendations of [keepachangelog.com](http://keepachangelog.com/).
|
|||
|
||||
### Breaking Changes
|
||||
|
||||
- TODO: Remove all the deprecated methods like `MyModel.paper_trail.disable`
|
||||
- [#1108](https://github.com/paper-trail-gem/paper_trail/pull/1108) -
|
||||
In `versions.item_type`, we now store the subclass name instead of
|
||||
the base_class.
|
||||
|
|
|
@ -1101,7 +1101,7 @@ path to the class (e.g. `Foo::BarVersion` if your class is inside the module
|
|||
|
||||
1. For models which have a lot of versions, storing each model's versions in a
|
||||
separate table can improve the performance of certain database queries.
|
||||
1. Store different version [metadata](#storing-metadata) for different models.
|
||||
1. Store different version [metadata](#4c-storing-metadata) for different models.
|
||||
|
||||
#### Configuration
|
||||
|
||||
|
|
Loading…
Reference in New Issue