module Sequel::Plugins::Uuid

The uuid plugin creates hooks that automatically create a uuid for every instance.

Usage:

# Uuid all model instances using +uuid+
# (called before loading subclasses)
Sequel::Model.plugin :uuid

# Uuid Album instances, with custom column name
Album.plugin :uuid, field: :my_uuid