Skip to main content

create_tables

Function create_tables 

Source
pub async fn create_tables(
    schema: &Schema<'_>,
    jobs: &str,
    failed: &str,
) -> Result<()>
Expand description

Create the queue’s two tables.

Shared by the migration below and by DatabaseQueue::migrate, so a test that wants its own table names gets exactly the schema production has.