module PlaceOS::Tasks::Database

Extended Modules

Direct including types

Defined in:

tasks/database.cr

Constant Summary

Log = ::Log.for(self)

Instance Method Summary

Instance Method Detail

def drop_elastic_indices(elastic_host : String, elastic_port : Int32) #

[View source]
def drop_pg_tables(pg_db : String, pg_host : String, pg_port : Int32, pg_user : String | Nil = nil, pg_password : String | Nil = nil) #

[View source]
def migrate_rethink_to_pg(path : String, pg_host : String, pg_port : Int32, pg_db : String, pg_user : String | Nil = nil, pg_password : String | Nil = nil, clean_before : Bool = false, verbose : Bool = false) #

[View source]
def pg_init_database(pg_db : String, pg_host : String, pg_port : Int32, pg_user : String | Nil = nil, pg_password : String | Nil = nil) #

[View source]