class Nandi::Instructions::AddColumn
Attributes
extra_args[R]
name[R]
table[R]
type[R]
Public Class Methods
new(table:, name:, type:, **kwargs)
click to toggle source
# File lib/nandi/instructions/add_column.rb, line 8 def initialize(table:, name:, type:, **kwargs) @table = table @name = name @type = type @extra_args = kwargs end
Public Instance Methods
lock()
click to toggle source
# File lib/nandi/instructions/add_column.rb, line 19 def lock Nandi::Migration::LockWeights::ACCESS_EXCLUSIVE end
procedure()
click to toggle source
# File lib/nandi/instructions/add_column.rb, line 15 def procedure :add_column end