Skip to content

class Athena::ORM::Migrations::Generator::ClassNameGenerator
inherits Reference #

Generates the fully qualified name of a new migration, which is versioned by the current UTC time, e.g. App::Migrations::Version20261014120000.

Constants#

VERSION_FORMAT = "%Y%m%d%H%M%S"#

The Time::Format pattern of the version number.

Methods#

#generate_class_name(namespace : String) : String#

Returns the fully qualified name of a new migration in namespace.

View source