This is the DSL class used for the validate block inside create_table and alter_table.
Public Class methods
                  new
                  (generator)
                
                Store the schema generator that encloses this validates block.
                  
                    [show source]
                  
                  
              # File lib/sequel/extensions/constraint_validations.rb, line 140 def initialize(generator) @generator = generator end
Public Instance methods
                  drop
                  (constraint)
                
                Given the name of a constraint, drop that constraint from the database, and remove the related validation metadata.
                  
                    [show source]
                  
                  
              # File lib/sequel/extensions/constraint_validations.rb, line 164 def drop(constraint) @generator.validation({:type=>:drop, :name=>constraint}) end
                  process
                  (&block)
                
                Alias of instance_eval for a nicer API.
                  
                    [show source]
                  
                  
              # File lib/sequel/extensions/constraint_validations.rb, line 169 def process(&block) instance_eval(&block) end