struct Prostore::Migration::State::MigrationRow

Defined in:

prostore/migration/state.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(id : Int64, source_hash : String, target_hash : String, status : String, claimed_by : String | Nil, claimed_until : Time | Nil, started_at : Time | Nil, completed_at : Time | Nil, error : String | Nil) #

[View source]

Instance Method Detail

def claimed_by : String | Nil #

def claimed_until : Time | Nil #

def clone #

[View source]
def completed_at : Time | Nil #

def copy_with(id _id = @id, source_hash _source_hash = @source_hash, target_hash _target_hash = @target_hash, status _status = @status, claimed_by _claimed_by = @claimed_by, claimed_until _claimed_until = @claimed_until, started_at _started_at = @started_at, completed_at _completed_at = @completed_at, error _error = @error) #

[View source]
def error : String | Nil #

def id : Int64 #

def source_hash : String #

def started_at : Time | Nil #

def status : String #

def target_hash : String #