Documentation

AbstractMigration extends AbstractMigrator
in package
implements MigrationInterface

AbstractYes

Db SQL migration abstract class

Tags
category

Pop

author

Nick Sagona, III dev@nolainteractive.com

copyright

Copyright (c) 2009-2024 NOLA Interactive, LLC. (http://www.nolainteractive.com)

license

http://www.popphp.org/license New BSD License

version
6.5.0

Table of Contents

Interfaces

MigrationInterface
Db SQL migration interface

Properties

$db  : AbstractAdapter|null
Database adapter

Methods

__construct()  : mixed
Constructor
db()  : AbstractAdapter
Get the DB adapter (alias method)
down()  : void
Execute a DOWN migration (rollback previous changes)
getDb()  : AbstractAdapter
Get the DB adapter
up()  : void
Execute an UP migration (new forward changes)

Properties

Methods

down()

Execute a DOWN migration (rollback previous changes)

public abstract down() : void

up()

Execute an UP migration (new forward changes)

public abstract up() : void

        
On this page

Search results