class

Marten::DB::Management::Migrations::Diff

Inherits Reference / Object

Represents a migrations diff.

This class gives the ability to compute the changes needed to go from an initial project state to a target state. This is mostly used to generate new migration files when changes have been made to existing models.

Constructors

new(from_state : DB::Management::ProjectState, to_state : DB::Management::ProjectState)
Source

Instance methods

detect(apps : Array(Apps::Config) | Nil = nil)
Source

Nested types