Plugins - Row Version Migrations

StarAdd to favorites

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).

Red Hill Consulting

http://www.redhillconsulting.com.au/rails_plugins.html

svn://rubyforge.org/var/svn/redhillonrails/trunk/vendor/plugins/row_version_migrations

Rails' (MIT)

  • Currently 4.5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Misc. Enhancements

Tags

Comments

Add a comment

Search Plugins

Query syntax

Plugins by Category

Sponsors

Rails Kits: Get Code. Get Moving.

Have a comment?