module Micrate::DB

Defined in:

micrate/db.cr
micrate/db/dialect.cr
micrate/db/mysql.cr
micrate/db/postgres.cr
micrate/db/sqlite3.cr

Class Method Summary

Class Method Detail

def self.connect #

[View source]
def self.connect(&) #

[View source]
def self.connection_url #

[View source]
def self.connection_url=(connection_url) #

[View source]
def self.create_migrations_table(db) #

[View source]
def self.exec(statement, db) #

[View source]
def self.get_migration_status(migration, db) : Time | Nil #

[View source]
def self.get_versions_last_first_order(db) #

[View source]
def self.record_migration(migration, direction, db) #

[View source]