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) ⇒ Object

Raises:

  • (NotImplementedError)


396
397
398
# File 'lib/tina4/migration.rb', line 396

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

#up(db) ⇒ Object

Raises:

  • (NotImplementedError)


392
393
394
# File 'lib/tina4/migration.rb', line 392

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