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)


447
448
449
# File 'lib/tina4/migration.rb', line 447

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

#up(db = nil) ⇒ Object

Raises:

  • (NotImplementedError)


443
444
445
# File 'lib/tina4/migration.rb', line 443

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