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)


376
377
378
# File 'lib/tina4/migration.rb', line 376

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

#up(db) ⇒ Object

Raises:

  • (NotImplementedError)


372
373
374
# File 'lib/tina4/migration.rb', line 372

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