Class: Tina4::MigrationBase

Inherits:
Object
  • Object
show all
Defined in:
lib/tina4/migration.rb

Overview

Base class for Ruby migrations

Instance Method Summary collapse

Instance Method Details

#down(db = nil) ⇒ Object

Raises:

  • (NotImplementedError)


556
557
558
# File 'lib/tina4/migration.rb', line 556

def down(db = nil)
  raise NotImplementedError, "Implement #down in your migration"
end

#up(db = nil) ⇒ Object

Raises:

  • (NotImplementedError)


552
553
554
# File 'lib/tina4/migration.rb', line 552

def up(db = nil)
  raise NotImplementedError, "Implement #up in your migration"
end