class Nandi::Instructions::DropConstraint
Attributes
name[R]
table[R]
Public Class Methods
new(table:, name:)
click to toggle source
# File lib/nandi/instructions/drop_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/drop_constraint.rb, line 17 def lock Nandi::Migration::LockWeights::ACCESS_EXCLUSIVE end
procedure()
click to toggle source
# File lib/nandi/instructions/drop_constraint.rb, line 13 def procedure :drop_constraint end