Additional methods for the create_table generator to support constraint validations.
An array of stored validation metadata, used later by the database to create constraints.
Call into the validate DSL for creating constraint validations.
# File lib/sequel/extensions/constraint_validations.rb, line 186 def validate(&block) Generator.new(self).process(&block) end
Add a validation metadata hash to the stored array.
# File lib/sequel/extensions/constraint_validations.rb, line 181 def validation(opts) @validations << opts end
[Validate]
Generated with the Darkfish Rdoc Generator 2.