pub async fn ensure_db_table(scylla: &Session) -> Result<(), Error>
Expand description
Ensures that the packages table is present in the given Scylla database.
§Arguments
scylla
: The Scylla database session that allows us to talk to it.
§Returns
Nothing, but does change the target Scylla database to include the new table if it didn’t already.
§Errors
This function errors if the communication with the given database failed too.