W3cubDocs

/Phoenix

Ecto.Migration.Command

Used internally by adapters.

This represents the up and down legs of a reversible raw command that is usually define with Ecto.Migration.execute/1.

To define a reversible command in a migration, see Ecto.Migration.execute/2

Summary

Types

t()

Types

t()

t() :: %Ecto.Migration.Command{down: String.t, up: String.t}

© 2012 Plataformatec
Licensed under the Apache License, Version 2.0.
https://hexdocs.pm/ecto/Ecto.Migration.Command.html