class Cql::Migrator::MigrationRecord
- Cql::Migrator::MigrationRecord
- Reference
- Object
Overview
Represents a migration record. @field id [Int64] the migration record id @field name [String] the migration name @field version [Int64] the migration version @field created_at [Time] the creation time @field updated_at [Time] the update time Example Creating a migration record
record = Cql::MigrationRecord.new(0_i64, "CreateUsersTable", 1_i64)
Included Modules
- DB::Mappable
- DB::Serializable
Defined in:
migrations.crConstructors
- .new(id : Int64, name : String, version : Int32, created_at : Time = Time.local, updated_at : Time = Time.local)
- .new(rs : DB::ResultSet)
Class Method Summary
Instance Method Summary
Constructor Detail
def self.new(id : Int64, name : String, version : Int32, created_at : Time = Time.local, updated_at : Time = Time.local)
#