• PHP reference
  • Services
  • Database

Migrations

class Services\Database\Migrations

Class Migrations.

Methods

static migrate(DB $db = null, string $migrations_path = null, boolean $output = true)

Migrate database using scripts in database/migrations/*.sql.

Parameters

  • DB $db
  • string $migrations_path
  • boolean $output

Exceptions