struct

Ralph::Schema::SchemaChange

Inherits Struct / Value / Object

Represents a single schema change

Constructors

new(type : Ralph::Schema::ChangeType, table : String, column : Nil | String = nil, details : Hash(String, String) = {} of String => String, warning : Nil | String = nil)
Source

Instance methods

column
Source
column=(column : String | Nil)
Source
destructive?

True if this change could cause data loss

Source
details
Source
details=(details : Hash(String, String))
Source
table
Source
table=(table : String)
Source
type
Source
type=(type : ChangeType)
Source
warning
Source
warning=(warning : String | Nil)
Source