Skip to content

Athena::ORM::Bundle::Schema::Migrations#

Configures the migrations, which are only used when athena-orm/migrations is required, see AORM::Migrations.

Configuration Properties

namespace#

type:

String | ::Nil

default:

nil

The namespace of the application's migrations, e.g. App::Migrations. Only the migrations in it are executed, and new ones are generated in it.

Required when athena-orm/migrations is required.


directory#

type:

String | ::Nil

default:

nil

The directory new migrations are generated in, e.g. "#{__DIR__}/migrations". A relative path is relative to the directory the command runs in.

Required when athena-orm/migrations is required.


transactional#

type:

Bool

default:

true

Whether new migrations are generated to run in a transaction, see AORM::Migrations::AbstractMigration#transactional?.