class Nandi::Instructions::ValidateConstraint

Attributes

name[R]
table[R]

Public Class Methods

new(table:, name:) click to toggle source
# File lib/nandi/instructions/validate_constraint.rb, line 8
def initialize(table:, name:)
  @table = table
  @name = name
end

Public Instance Methods

lock() click to toggle source
# File lib/nandi/instructions/validate_constraint.rb, line 13
def lock
  Nandi::Migration::LockWeights::SHARE
end
procedure() click to toggle source
# File lib/nandi/instructions/validate_constraint.rb, line 17
def procedure
  :validate_constraint
end