Row Version Migrations
Row Version Migrations is a plugin that automatically generates the following row version columns for every table:
:created_at, :datetime, :null => false
:updated_at, :datetime, :null => false
:lock_version, :integer, :null => false, :default => 0
If you have a table for which you do not want row version columns to be generated, simply pass :row_version => false as an option to create_table:
create_table :orders, :row_version => false do |t|
...
end
=== Dependencies
- RedHill on Rails Core (redhillonrails_core).
- Repository Path: svn://rubyforge.org/var/svn/redhillonrails/trunk/vendor/plugins/row_version_migrations
- Homepage: http://www.redhillconsulting.com.au/rails_plugins.html
Tags
Currently tagged with:
You need to Login to tag this item.