Skip to content

struct Athena::ORM::Migrations::Configuration
inherits Struct #

Configures where migrations are generated, and how.

Constructors#

.new(namespace : String, directory : String, transactional : Bool = true)#

View source

Methods#

#directory : String#

Returns the directory generated migrations are written to, e.g. src/migrations.

View source

#namespace : String#

Returns the namespace of the application's migrations, e.g. App::Migrations.

View source

#transactional? : Bool#

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

View source