Class: PGTrunk::Operations::Sequences::Base Abstract

Inherits:
PGTrunk::Operation show all
Defined in:
lib/pg_trunk/operations/sequences/base.rb

Overview

This class is abstract.

Base class for operations with sequences

Instance Method Summary collapse

Methods included from PGTrunk::Operation::SQLHelpers

#quote

Methods included from PGTrunk::Operation::RubyHelpers

#dump, #to_a, #to_opts, #to_ruby

Methods included from PGTrunk::Operation::Inversion

#invert!, #irreversible!

Methods included from PGTrunk::Operation::Validations

#error_messages

Methods included from PGTrunk::Operation::Attributes

#attributes, #initialize

Instance Method Details

#owned_by(table, column) ⇒ Object



18
19
20
21
# File 'lib/pg_trunk/operations/sequences/base.rb', line 18

def owned_by(table, column)
  self.table = table
  self.column = column
end