module PlaceOS::Tasks::Database
Extended Modules
Direct including types
Defined in:
tasks/database.crConstant Summary
-
Log =
::Log.for(self)
Instance Method Summary
- #drop_elastic_indices(elastic_host : String, elastic_port : Int32)
- #drop_pg_tables(pg_db : String, pg_host : String, pg_port : Int32, pg_user : String | Nil = nil, pg_password : String | Nil = nil)
- #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)
- #pg_init_database(pg_db : String, pg_host : String, pg_port : Int32, pg_user : String | Nil = nil, pg_password : String | Nil = nil)
Instance Method Detail
def drop_pg_tables(pg_db : String, pg_host : String, pg_port : Int32, pg_user : String | Nil = nil, pg_password : String | Nil = nil)
#
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)
#
def pg_init_database(pg_db : String, pg_host : String, pg_port : Int32, pg_user : String | Nil = nil, pg_password : String | Nil = nil)
#