alias Marten::DB::Model::Any

Alias Definition

Marten::DB::Management::Migrations::Record

Defined in:

marten/db/model.cr

Constant Summary

FIELDS_ = {"id" => {type: "big_int", kwargs: {primary_key: true, auto: true}}, "app" => {type: "string", kwargs: {max_size: 255}}, "name" => {type: "string", kwargs: {max_size: NAME_MAX_SIZE}}, "applied_at" => {type: "date_time", kwargs: {auto_now_add: true}}} of Nil => Nil

A migration record model.

This model class is used internally by Marten in order to keep track of the migrations that were executed for a given project.

NAME_MAX_SIZE = 255