module Laspatule::Repositories::DB

Defined in:

laspatule/repositories/db/config.cr
laspatule/repositories/db/db.cr

Constant Summary

MIGRATIONS = [Migrations::V001]

Class Method Summary

Class Method Detail

def self.migrate(db : ::DB::Database) #

[View source]
def self.open(config : Config) : ::DB::Database #

Creates a new DB object for the given config.


[View source]